Michael Saleme commited on
fix: reconcile v0.2.0 evidence release controls
Browse files
CHANGELOG.md
CHANGED
|
@@ -9,8 +9,12 @@ and characterization-only.
|
|
| 9 |
released observation and a canonical synthetic target-configuration manifest.
|
| 10 |
- Adds a local-only receipt index with artifact path, media type, size, SHA-256,
|
| 11 |
producer, redaction status, and contract claim ceiling.
|
| 12 |
-
- Adds a dependency-free verifier plus
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- Does not add provider observations, independent validation, certification, or
|
| 15 |
production-enforcement claims.
|
| 16 |
|
|
|
|
| 9 |
released observation and a canonical synthetic target-configuration manifest.
|
| 10 |
- Adds a local-only receipt index with artifact path, media type, size, SHA-256,
|
| 11 |
producer, redaction status, and contract claim ceiling.
|
| 12 |
+
- Adds a dependency-free verifier plus controls: clean fixtures pass, while
|
| 13 |
+
seeded payload corruption, traversal, absolute, missing, and URL-like
|
| 14 |
+
evidence references fail closed.
|
| 15 |
+
- Adds the evidence-binding verifier and control suite to the bundle-native
|
| 16 |
+
verification path and reconciles citation metadata to distribution v0.2.0
|
| 17 |
+
while explicitly retaining profile schema version v0.1.0.
|
| 18 |
- Does not add provider observations, independent validation, certification, or
|
| 19 |
production-enforcement claims.
|
| 20 |
|
CITATION.cff
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
cff-version: 1.2.0
|
| 2 |
message: "If you use this profile, please cite it using the metadata below."
|
| 3 |
type: dataset
|
| 4 |
-
title: "MCP Sandbox Authority Boundary Profile"
|
| 5 |
-
version: "0.
|
| 6 |
-
date-released: 2026-
|
| 7 |
authors:
|
| 8 |
- family-names: Saleme
|
| 9 |
given-names: Michael K.
|
| 10 |
orcid: "https://orcid.org/0009-0003-6736-1900"
|
| 11 |
license: MIT
|
| 12 |
url: "https://huggingface.co/datasets/msaleme/mcp-sandbox-authority-boundary-profile"
|
| 13 |
-
abstract: "A vendor-neutral, synthetic-only
|
|
|
|
| 1 |
cff-version: 1.2.0
|
| 2 |
message: "If you use this profile, please cite it using the metadata below."
|
| 3 |
type: dataset
|
| 4 |
+
title: "MCP Sandbox Authority Boundary Profile: v0.2.0 Synthetic Evidence-Contract Distribution"
|
| 5 |
+
version: "0.2.0"
|
| 6 |
+
date-released: 2026-09-05
|
| 7 |
authors:
|
| 8 |
- family-names: Saleme
|
| 9 |
given-names: Michael K.
|
| 10 |
orcid: "https://orcid.org/0009-0003-6736-1900"
|
| 11 |
license: MIT
|
| 12 |
url: "https://huggingface.co/datasets/msaleme/mcp-sandbox-authority-boundary-profile"
|
| 13 |
+
abstract: "A vendor-neutral, synthetic-only v0.2.0 distribution for the v0.1.0 profile schema. It binds synthetic characterization observations to local, digest-verifiable evidence receipts and is not certification, a provider finding, or production-enforcement evidence."
|
README.md
CHANGED
|
@@ -192,11 +192,11 @@ must be recorded explicitly.
|
|
| 192 |
```bibtex
|
| 193 |
@dataset{saleme_2026_mcp_sandbox_authority_boundary_profile,
|
| 194 |
author = {Saleme, Michael K.},
|
| 195 |
-
title = {MCP Sandbox Authority Boundary Profile: v0.
|
| 196 |
year = {2026},
|
| 197 |
-
version = {0.
|
| 198 |
url = {https://huggingface.co/datasets/msaleme/mcp-sandbox-authority-boundary-profile},
|
| 199 |
-
note = {Pin the cited Hugging Face dataset revision.}
|
| 200 |
}
|
| 201 |
```
|
| 202 |
|
|
|
|
| 192 |
```bibtex
|
| 193 |
@dataset{saleme_2026_mcp_sandbox_authority_boundary_profile,
|
| 194 |
author = {Saleme, Michael K.},
|
| 195 |
+
title = {MCP Sandbox Authority Boundary Profile: v0.2.0 Synthetic Evidence-Contract Distribution},
|
| 196 |
year = {2026},
|
| 197 |
+
version = {0.2.0},
|
| 198 |
url = {https://huggingface.co/datasets/msaleme/mcp-sandbox-authority-boundary-profile},
|
| 199 |
+
note = {Distribution release v0.2.0; profile schema version remains v0.1.0. Pin the cited Hugging Face dataset revision.}
|
| 200 |
}
|
| 201 |
```
|
| 202 |
|
artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip
CHANGED
|
Binary files a/artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip and b/artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip differ
|
|
|
artifacts/evidence-passport-v0.2.0.json
CHANGED
|
@@ -113,18 +113,18 @@
|
|
| 113 |
},
|
| 114 |
{
|
| 115 |
"path": "scripts/test_evidence_bindings.py",
|
| 116 |
-
"sha256": "
|
| 117 |
-
"bytes":
|
| 118 |
},
|
| 119 |
{
|
| 120 |
"path": "scripts/build_distribution_artifacts.py",
|
| 121 |
-
"sha256": "
|
| 122 |
-
"bytes":
|
| 123 |
},
|
| 124 |
{
|
| 125 |
"path": "CITATION.cff",
|
| 126 |
-
"sha256": "
|
| 127 |
-
"bytes":
|
| 128 |
},
|
| 129 |
{
|
| 130 |
"path": "REVIEW.md",
|
|
@@ -143,8 +143,8 @@
|
|
| 143 |
},
|
| 144 |
{
|
| 145 |
"path": "README.md",
|
| 146 |
-
"sha256": "
|
| 147 |
-
"bytes":
|
| 148 |
},
|
| 149 |
{
|
| 150 |
"path": "LICENSE",
|
|
|
|
| 113 |
},
|
| 114 |
{
|
| 115 |
"path": "scripts/test_evidence_bindings.py",
|
| 116 |
+
"sha256": "f96ab6d9deff058a17327a4271b02c4572b36ab7114b9d709d7431a47c25c873",
|
| 117 |
+
"bytes": 2170
|
| 118 |
},
|
| 119 |
{
|
| 120 |
"path": "scripts/build_distribution_artifacts.py",
|
| 121 |
+
"sha256": "84454bbf795a6285a16756cd2754074eafa884686c01ded81af2d77b1c021767",
|
| 122 |
+
"bytes": 4206
|
| 123 |
},
|
| 124 |
{
|
| 125 |
"path": "CITATION.cff",
|
| 126 |
+
"sha256": "dd3c522b89971b2a988487c7cbef17d5a857315cda86507f84b9c215008c2a74",
|
| 127 |
+
"bytes": 735
|
| 128 |
},
|
| 129 |
{
|
| 130 |
"path": "REVIEW.md",
|
|
|
|
| 143 |
},
|
| 144 |
{
|
| 145 |
"path": "README.md",
|
| 146 |
+
"sha256": "0c994db6cab7250cdeec5cbd7da647e510ead2abb91b6b7f2db34aeb60a97a7a",
|
| 147 |
+
"bytes": 11035
|
| 148 |
},
|
| 149 |
{
|
| 150 |
"path": "LICENSE",
|
scripts/build_distribution_artifacts.py
CHANGED
|
@@ -98,6 +98,8 @@ def main() -> None:
|
|
| 98 |
"python3 scripts/verify_bundle_manifest.py",
|
| 99 |
"python3 scripts/validate_profile.py",
|
| 100 |
"python3 scripts/validate_viewer_split.py",
|
|
|
|
|
|
|
| 101 |
],
|
| 102 |
}
|
| 103 |
bundle_path = OUT / "authority-boundary-synthetic-fixture-bundle-v0.2.0.zip"
|
|
|
|
| 98 |
"python3 scripts/verify_bundle_manifest.py",
|
| 99 |
"python3 scripts/validate_profile.py",
|
| 100 |
"python3 scripts/validate_viewer_split.py",
|
| 101 |
+
"python3 scripts/verify_evidence_bindings.py",
|
| 102 |
+
"python3 scripts/test_evidence_bindings.py",
|
| 103 |
],
|
| 104 |
}
|
| 105 |
bundle_path = OUT / "authority-boundary-synthetic-fixture-bundle-v0.2.0.zip"
|
scripts/test_evidence_bindings.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"""Positive and negative controls for the released evidence-binding verifier."""
|
| 3 |
from __future__ import annotations
|
| 4 |
|
|
|
|
| 5 |
import shutil
|
| 6 |
import subprocess
|
| 7 |
import tempfile
|
|
@@ -12,12 +13,45 @@ ROOT = Path(__file__).resolve().parents[1]
|
|
| 12 |
VERIFY = ROOT / "scripts" / "verify_evidence_bindings.py"
|
| 13 |
|
| 14 |
|
| 15 |
-
|
| 16 |
-
fixture =
|
| 17 |
shutil.copytree(ROOT, fixture, ignore=shutil.ignore_patterns(".git", "artifacts"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
subprocess.run(["python3", str(VERIFY), str(fixture)], check=True)
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
"""Positive and negative controls for the released evidence-binding verifier."""
|
| 3 |
from __future__ import annotations
|
| 4 |
|
| 5 |
+
import json
|
| 6 |
import shutil
|
| 7 |
import subprocess
|
| 8 |
import tempfile
|
|
|
|
| 13 |
VERIFY = ROOT / "scripts" / "verify_evidence_bindings.py"
|
| 14 |
|
| 15 |
|
| 16 |
+
def fixture_copy(parent: Path) -> Path:
|
| 17 |
+
fixture = parent / "fixture"
|
| 18 |
shutil.copytree(ROOT, fixture, ignore=shutil.ignore_patterns(".git", "artifacts"))
|
| 19 |
+
return fixture
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def receipt_path(fixture: Path, value: str) -> None:
|
| 23 |
+
index_path = fixture / "evidence" / "evidence-index-v0.2.0.json"
|
| 24 |
+
index = json.loads(index_path.read_text())
|
| 25 |
+
next(receipt for receipt in index["receipts"] if receipt["case_id"] == "RS-01")["path"] = value
|
| 26 |
+
index_path.write_text(json.dumps(index, indent=2) + "\n")
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def rejected(label: str, mutate) -> None:
|
| 30 |
+
with tempfile.TemporaryDirectory() as temporary:
|
| 31 |
+
fixture = fixture_copy(Path(temporary))
|
| 32 |
+
mutate(fixture)
|
| 33 |
+
result = subprocess.run(["python3", str(VERIFY), str(fixture)], capture_output=True, text=True)
|
| 34 |
+
assert result.returncode != 0, f"{label} unexpectedly passed"
|
| 35 |
+
assert "invalid evidence binding:" in result.stderr, result.stderr
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
with tempfile.TemporaryDirectory() as temporary:
|
| 39 |
+
fixture = fixture_copy(Path(temporary))
|
| 40 |
subprocess.run(["python3", str(VERIFY), str(fixture)], check=True)
|
| 41 |
+
|
| 42 |
+
rejected(
|
| 43 |
+
"payload-byte corruption",
|
| 44 |
+
lambda fixture: (fixture / "evidence" / "payloads" / "RS-01.json").write_text(
|
| 45 |
+
(fixture / "evidence" / "payloads" / "RS-01.json").read_text() + "\n"
|
| 46 |
+
),
|
| 47 |
+
)
|
| 48 |
+
rejected("malformed payload", lambda fixture: (fixture / "evidence" / "payloads" / "RS-01.json").write_text("{\n"))
|
| 49 |
+
for label, value in (
|
| 50 |
+
("path traversal", "../README.md"),
|
| 51 |
+
("absolute path", "/tmp/outside.json"),
|
| 52 |
+
("missing local payload", "evidence/payloads/does-not-exist.json"),
|
| 53 |
+
("external URL-like path", "https://example.invalid/evidence.json"),
|
| 54 |
+
):
|
| 55 |
+
rejected(label, lambda fixture, value=value: receipt_path(fixture, value))
|
| 56 |
+
|
| 57 |
+
print("valid: clean fixture accepted; corruption and locality controls rejected")
|