* fix(contracts)!: require absolute local paths for remaining caller-supplied file inputs Follow-up to the session snapshot/export tightening: the same invisible server-cwd resolution applied to open_binary target paths (parseBinaryTarget(path, process.cwd())), import_evidence_bundle bundle reads, firmware input files (resolve(raw)), browser executable launch paths (resolve-then-spawn), Electron executable/application/root paths (realpath on raw input), and the expected server path check. Each field gains the shared isAbsoluteLocalPath refinement plus a catalog-visible description, since JSON Schema cannot express the rule. Examples, scenario fixtures, and contract tests updated to absolute paths; new schema cases cover rejection/acceptance/omission per field. Explicitly unchanged (verified rooted or out of scope): inspect_plist paths (resolved against the target bundle dir), firmware output_directory (already provider-enforced), filesystem observation paths (resolved against the caller-supplied working_directory), keyed-archive member paths (archive-relative), JS evidence member paths (evidence-relative under root_alias), provider-internal execution schemas, CLI-only doctor flows, and CLI options (own resolve against the operator cwd). * fix(cli): resolve operator-relative paths before shared absolute-path validation The contract tightening rejects relative paths, but three CLI commands forward operator-relative input into the shared schemas: firmware commands pass raw args to FirmwareAnalysisService, and the Electron/browser scenario commands validate parsed scenario JSON directly. CLI paths are relative to the operator shell, so resolve them against the working directory first: resolve() in firmwareCommands, and a shared resolveCliJsonPaths JSON key-path helper (cliJsonInput) applied in electronCommands and cliBrowserScenarioCommands. MCP behavior is unchanged — MCP callers must still send absolute paths. Covers the regression with a relative-path firmware CLI acceptance test (asserts provider-stage capability_unavailable, not a validation error) and unit tests for the helper.
202 lines
5.1 KiB
JSON
202 lines
5.1 KiB
JSON
{
|
|
"manifest_id": "ecm_aa4a1c78be657e901c87cc215a703938cfe54d7a54411cbfd64872de3ce78b93",
|
|
"verifier": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
},
|
|
"environment": {
|
|
"platform": "portable",
|
|
"architecture": "portable",
|
|
"runtime": "node",
|
|
"runtime_version": "portable"
|
|
},
|
|
"skill_digests": [
|
|
{
|
|
"skill_id": "reverse-engineer-anything",
|
|
"sha256": "57f28ace603b9eb5d6d9ea64d68f563ea8a4833e6a53dd7b4b40ce5fb3ac56e1"
|
|
}
|
|
],
|
|
"claims": [
|
|
{
|
|
"claim_id": "managed.application-graph-projection",
|
|
"scenario": {
|
|
"id": "managed-application-graph-projection",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.decompiler-reconstruction-import",
|
|
"scenario": {
|
|
"id": "decompiler-reconstruction-import",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cead4cc99733e4e56a5fd0cec8a0813bbc24e249aa72a10eca4c47ee3b0e129d"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.dotnet-framework-x86-pinvoke",
|
|
"scenario": {
|
|
"id": "dotnet-framework-x86-pinvoke",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.ilspy-reconstruction-oracle",
|
|
"scenario": {
|
|
"id": "ilspy-reconstruction-oracle",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.malformed-metadata",
|
|
"scenario": {
|
|
"id": "malformed-metadata",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"827e10b6391d29edca48c191e2ddd79f3bc1165e46e4ba2f4edf41ab60f45e78"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.managed-native-verification",
|
|
"scenario": {
|
|
"id": "managed-native-verification",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"9999999999999999999999999999999999999999999999999999999999999999",
|
|
"f17fe6286cb07c6385e786e0aa877564d44123197f02617dfec70c537a33e4ea"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.modern-dotnet-anycpu",
|
|
"scenario": {
|
|
"id": "modern-dotnet-anycpu",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"92b588ae43d418117fa108c0004b5d0451f6112238d21bad8d75c0eb1da860f0"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.mvid-and-token-drift",
|
|
"scenario": {
|
|
"id": "mvid-and-token-drift",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"276395c671a656ab57d583158443c10de552dccfb37dc97cd013f673c0f86b43",
|
|
"ef009dab7424fdeba996f2524dbe86fd899c96394498cca0463fcfdb228c5572"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.not-managed",
|
|
"scenario": {
|
|
"id": "not-managed",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"de74dab8ab034054a811d4248efcda0bed505187a061a806e274ae87bc453754"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.operator-local-manifest",
|
|
"scenario": {
|
|
"id": "operator-local-manifest",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.operator-manifest-self-test",
|
|
"scenario": {
|
|
"id": "operator-manifest-self-test",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cdc11ec7fd0f392e43b9b23971cb41ec49fd0a997fc33c24fcc553cd4386ae37"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.unicode-obfuscated-identifiers",
|
|
"scenario": {
|
|
"id": "unicode-obfuscated-identifiers",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"cead4cc99733e4e56a5fd0cec8a0813bbc24e249aa72a10eca4c47ee3b0e129d"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
},
|
|
{
|
|
"claim_id": "managed.x64-ready-to-run-native-body",
|
|
"scenario": {
|
|
"id": "x64-ready-to-run-native-body",
|
|
"version": 1
|
|
},
|
|
"artifact_sha256s": [
|
|
"e47402428322cdcb06f561036d7d108528cbc6e262d92a21f869218a20c80bfb"
|
|
],
|
|
"provider": {
|
|
"id": "rea-managed-conformance",
|
|
"version": "1"
|
|
}
|
|
}
|
|
]
|
|
}
|