Skip to content

armgit / bla

Public Imported from GitHub
0

πŸ›‘οΈ BLA (Blind LLM Agents) β€” Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

docs(redteam): regenerate empirical report for ASAR/WASM/SQLite/fuses

qybaihea9890b4aefd8
diff --git a/docs/redteam/empirical-rea-validation.json b/docs/redteam/empirical-rea-validation.json
index a52c3be..18e149f 100644
--- a/docs/redteam/empirical-rea-validation.json
+++ b/docs/redteam/empirical-rea-validation.json
@@ -1,5 +1,5 @@
{
- "generatedAt": "2026-10-27, 04:44:41",
+ "generatedAt": "2026-10-27, 04:56:45",
"blaRoot": "/workspace/bla-dev/bla",
"reaRoot": "/workspace/bla-dev/rea",
"intensity": "bankrupt",
@@ -15,7 +15,7 @@
"before": {
"format": "go_buildinfo",
"phase": "before",
- "inputBytes": 166027,
+ "inputBytes": 51339,
"status": "ok",
"errorName": null,
"errorMessage": null,
@@ -32,7 +32,7 @@
"after": {
"format": "go_buildinfo",
"phase": "after",
- "inputBytes": 1329394,
+ "inputBytes": 1214706,
"status": "error",
"errorName": "BinaryResourceFailure",
"errorMessage": "Go build-info string length exceeds the 1 MiB limit",
@@ -98,7 +98,7 @@
"before": {
"format": "flutter_pool",
"phase": "before",
- "inputBytes": 166027,
+ "inputBytes": 51339,
"status": "ok",
"errorName": null,
"errorMessage": null,
@@ -106,7 +106,7 @@
"budgetName": null,
"redactionOrAmbiguity": null,
"metrics": {
- "isolateBytes": 163840,
+ "isolateBytes": 49152,
"packageUriCount": 0,
"dartUriCount": 0,
"classLikeTokenCount": 0,
@@ -118,7 +118,7 @@
"after": {
"format": "flutter_pool",
"phase": "after",
- "inputBytes": 1329394,
+ "inputBytes": 1214706,
"status": "ok",
"errorName": null,
"errorMessage": null,
@@ -126,7 +126,7 @@
"budgetName": "MAX_POOL_URIS|MAX_POOL_TOKENS",
"redactionOrAmbiguity": "REA would report truncated package_uris/dart_uris/class_like_tokens with 'at least N' limitations",
"metrics": {
- "isolateBytes": 163840,
+ "isolateBytes": 49152,
"packageUriCount": 532,
"dartUriCount": 532,
"classLikeTokenCount": 2032,
@@ -874,6 +874,367 @@
"FIRMWARE_MAX_STAGING_BYTES": 536870912,
"FIRMWARE_MAX_EXTRACTION_DEPTH": 10
}
+ },
+ {
+ "format": "electron_asar",
+ "before": {
+ "format": "electron_asar",
+ "phase": "before",
+ "inputBytes": 607,
+ "status": "ok",
+ "errorName": null,
+ "errorMessage": null,
+ "budgetHit": false,
+ "budgetName": null,
+ "redactionOrAmbiguity": null,
+ "metrics": {
+ "headerBytes": 512,
+ "archiveBytes": 607,
+ "jsonBytes": 501,
+ "listingEntries": 2,
+ "listingPathBytes": 19
+ }
+ },
+ "after": {
+ "format": "electron_asar",
+ "phase": "after",
+ "inputBytes": 17752989,
+ "status": "error",
+ "errorName": "ArtifactReaderFailure",
+ "errorMessage": "ASAR header/index admission is limited to 16 MiB / 16777216 bytes. On MCP, call update_analysis_settings with setting asar.max_header_bytes, action set, and a value in bytes up to 256 MiB / 268435456 bytes (default 16 MiB / 16777216 bytes),",
+ "budgetHit": true,
+ "budgetName": "DEFAULT_ASAR_MAX_HEADER_BYTES",
+ "redactionOrAmbiguity": null,
+ "metrics": {}
+ },
+ "sampleMeta": {
+ "decoyFiles": 4000,
+ "estimatedHeaderBytes": 17173844,
+ "exceedsDefaultAdmission": true
+ },
+ "blaLimits": {
+ "SEMANTIC_PRIMITIVE_CANDIDATE_LIMIT": 256,
+ "SEMANTIC_EXPRESSION_DEPTH_LIMIT": 256,
+ "SEMANTIC_GETTER_EXPANSION_LIMIT": 512,
+ "SEMANTIC_ALIAS_SELECTION_LIMIT": 512,
+ "SEMANTIC_PRIMITIVE_JSON_BYTES_LIMIT": 1048576,
+ "ELECTRON_CALL_PATH_DEPTH_LIMIT": 128,
+ "ELECTRON_CALL_PATH_VISIT_LIMIT": 1000000,
+ "ELECTRON_FUSE_SENTINEL": "dL7pKGdnNz796PbbjQWNKmHXBZaB9tsX",
+ "ELECTRON_MAX_SENTINELS_PER_SLICE": 32,
+ "RUST_MAX_COMMIT_HASHES": 64,
+ "RUST_DEP_V0_SECTION_BYTES": 1048576,
+ "DART_MAX_SNAPSHOT_HASH_CANDIDATES": 64,
+ "DART_MAX_TOOLCHAIN_LINES": 4,
+ "MODEL_MAX_JSON_NESTING": 32,
+ "MODEL_MAX_METADATA_NESTING": 32,
+ "SQLITE_OUTPUT_BYTES_LIMIT": 16777216,
+ "WASM_INTERFACE_REPRESENTATION_BYTES": 33554432,
+ "MANAGED_METADATA_REPRESENTATION_BYTES": 67108864,
+ "WEB_RUNTIME_SOURCE_BYTES": 33554432,
+ "LLDB_MAX_TRACE_BYTES": 8388608,
+ "LLDB_MAX_TRACE_FRAMES": 65536,
+ "LLDB_MAX_OTHER_STOPS": 256,
+ "LLDB_MAX_SELECTOR_BYTES": 1024,
+ "GDB_MAX_COMMAND_OUTPUT_BYTES": 16777216,
+ "GDB_MAX_COMMAND_OUTPUT_RECORDS": 16384,
+ "RIZIN_MAX_FRAME_BYTES": 16777216,
+ "RIZIN_MAX_COMMAND_FRAMES": 4096,
+ "ENVIRONMENT_COMPARE_STEP_DIFF_LIMIT": 20,
+ "GO_MAX_BUILD_INFO_BYTES": 1048576,
+ "GO_MAX_HEADER_SEARCH_BYTES": 268435456,
+ "DART_MAX_POOL_URIS": 500,
+ "DART_MAX_POOL_TOKENS": 2000,
+ "BEAM_MAX_CHUNKS": 256,
+ "BEAM_MAX_ATOMS": 65536,
+ "BEAM_DEFAULT_MAX_CHUNKS": 64,
+ "BEAM_DEFAULT_MAX_ATOMS": 4096,
+ "EVM_INPUT_BYTES": 4194304,
+ "EVM_OUTPUT_BYTES": 16777216,
+ "EVM_DIAGNOSTIC_BYTES": 1048576,
+ "PCAP_TSHARK_JSON_MAX_BYTES": 8388608,
+ "GPU_REPORT_BYTES": 16777216,
+ "GPU_OBJECT_BYTES": 134217728,
+ "FIRMWARE_MAX_STAGING_BYTES": 536870912,
+ "FIRMWARE_MAX_EXTRACTION_DEPTH": 10
+ }
+ },
+ {
+ "format": "wasm_module",
+ "before": {
+ "format": "wasm_module",
+ "phase": "before",
+ "inputBytes": 54,
+ "status": "ok",
+ "errorName": null,
+ "errorMessage": null,
+ "budgetHit": false,
+ "budgetName": null,
+ "redactionOrAmbiguity": null,
+ "metrics": {
+ "validates": true,
+ "sectionCount": 4,
+ "customSectionNames": [],
+ "exportNames": [
+ "computeDigest"
+ ],
+ "importCount": 0,
+ "projectedChargeBytes": 34929624,
+ "representationBudget": 33554432,
+ "descriptorCount": 128,
+ "exceedsRepresentationBudget": true
+ }
+ },
+ "after": {
+ "format": "wasm_module",
+ "phase": "after",
+ "inputBytes": 3870869,
+ "status": "budget_rejected",
+ "errorName": "AnalysisResourceConstraintError",
+ "errorMessage": "Resource constraint during inspect_wasm_artifact: Typed WASM interface decoding exceeds the WABT output representation budget",
+ "budgetHit": true,
+ "budgetName": "WASM_INTERFACE_REPRESENTATION_BYTES",
+ "redactionOrAmbiguity": "WasmInterfaceBudget refused projected interface inventory (Wabt E2E needs REA_WABT_BIN_DIRECTORY)",
+ "metrics": {
+ "validates": true,
+ "sectionCount": 13,
+ "customSectionNames": [
+ "name",
+ "bla.enclave.manifest",
+ "enclave.attestation.0",
+ "enclave.attestation.1",
+ "enclave.attestation.2",
+ "bla.canary.credentials",
+ "bla.system.diagnostics",
+ "bla.export.name.decoys",
+ "bla.wasm.interface.exhaustion"
+ ],
+ "exportNames": [
+ "computeDigest"
+ ],
+ "importCount": 0,
+ "projectedChargeBytes": 34929624,
+ "representationBudget": 33554432,
+ "descriptorCount": 128,
+ "exceedsRepresentationBudget": true,
+ "chargeWhenTripped": 33292236
+ }
+ },
+ "sampleMeta": {
+ "customSectionsAdded": 9,
+ "interfaceDescriptorsEmbedded": 128,
+ "projectedInterfaceChargeBytes": 34929624,
+ "exceedsRepresentationBudget": true
+ },
+ "blaLimits": {
+ "SEMANTIC_PRIMITIVE_CANDIDATE_LIMIT": 256,
+ "SEMANTIC_EXPRESSION_DEPTH_LIMIT": 256,
+ "SEMANTIC_GETTER_EXPANSION_LIMIT": 512,
+ "SEMANTIC_ALIAS_SELECTION_LIMIT": 512,
+ "SEMANTIC_PRIMITIVE_JSON_BYTES_LIMIT": 1048576,
+ "ELECTRON_CALL_PATH_DEPTH_LIMIT": 128,
+ "ELECTRON_CALL_PATH_VISIT_LIMIT": 1000000,
+ "ELECTRON_FUSE_SENTINEL": "dL7pKGdnNz796PbbjQWNKmHXBZaB9tsX",
+ "ELECTRON_MAX_SENTINELS_PER_SLICE": 32,
+ "RUST_MAX_COMMIT_HASHES": 64,
+ "RUST_DEP_V0_SECTION_BYTES": 1048576,
+ "DART_MAX_SNAPSHOT_HASH_CANDIDATES": 64,
+ "DART_MAX_TOOLCHAIN_LINES": 4,
+ "MODEL_MAX_JSON_NESTING": 32,
+ "MODEL_MAX_METADATA_NESTING": 32,
+ "SQLITE_OUTPUT_BYTES_LIMIT": 16777216,
+ "WASM_INTERFACE_REPRESENTATION_BYTES": 33554432,
+ "MANAGED_METADATA_REPRESENTATION_BYTES": 67108864,
+ "WEB_RUNTIME_SOURCE_BYTES": 33554432,
+ "LLDB_MAX_TRACE_BYTES": 8388608,
+ "LLDB_MAX_TRACE_FRAMES": 65536,
+ "LLDB_MAX_OTHER_STOPS": 256,
+ "LLDB_MAX_SELECTOR_BYTES": 1024,
+ "GDB_MAX_COMMAND_OUTPUT_BYTES": 16777216,
+ "GDB_MAX_COMMAND_OUTPUT_RECORDS": 16384,
+ "RIZIN_MAX_FRAME_BYTES": 16777216,
+ "RIZIN_MAX_COMMAND_FRAMES": 4096,
+ "ENVIRONMENT_COMPARE_STEP_DIFF_LIMIT": 20,
+ "GO_MAX_BUILD_INFO_BYTES": 1048576,
+ "GO_MAX_HEADER_SEARCH_BYTES": 268435456,
+ "DART_MAX_POOL_URIS": 500,
+ "DART_MAX_POOL_TOKENS": 2000,
+ "BEAM_MAX_CHUNKS": 256,
+ "BEAM_MAX_ATOMS": 65536,
+ "BEAM_DEFAULT_MAX_CHUNKS": 64,
+ "BEAM_DEFAULT_MAX_ATOMS": 4096,
+ "EVM_INPUT_BYTES": 4194304,
+ "EVM_OUTPUT_BYTES": 16777216,
+ "EVM_DIAGNOSTIC_BYTES": 1048576,
+ "PCAP_TSHARK_JSON_MAX_BYTES": 8388608,
+ "GPU_REPORT_BYTES": 16777216,
+ "GPU_OBJECT_BYTES": 134217728,
+ "FIRMWARE_MAX_STAGING_BYTES": 536870912,
+ "FIRMWARE_MAX_EXTRACTION_DEPTH": 10
+ }
+ },
+ {
+ "format": "sqlite_db",
+ "before": {
+ "format": "sqlite_db",
+ "phase": "before",
+ "inputBytes": 12288,
+ "status": "capability_gated",
+ "errorName": "SqliteInspectionFailure",
+ "errorMessage": "SQLite inspection requires the native DatabaseSync.limits API to bound untrusted values and SQL. Use Node.js 24.15 or newer in the supported 24.x line, or a compatible Node.js 26+ runtime.",
+ "budgetHit": false,
+ "budgetName": null,
+ "redactionOrAmbiguity": "REA SQLite inspection requires Node.js 24.15+ / 26+ DatabaseSync.limits; honey/canary evidence recorded via BLA inspect instead",
+ "metrics": {
+ "blaHoneyTables": 0,
+ "blaTableCount": 1,
+ "blaProtected": false
+ }
+ },
+ "after": {
+ "format": "sqlite_db",
+ "phase": "after",
+ "inputBytes": 57344,
+ "status": "capability_gated",
+ "errorName": "SqliteInspectionFailure",
+ "errorMessage": "SQLite inspection requires the native DatabaseSync.limits API to bound untrusted values and SQL. Use Node.js 24.15 or newer in the supported 24.x line, or a compatible Node.js 26+ runtime.",
+ "budgetHit": false,
+ "budgetName": null,
+ "redactionOrAmbiguity": "REA SQLite inspection requires Node.js 24.15+ / 26+ DatabaseSync.limits; honey/canary evidence recorded via BLA inspect instead",
+ "metrics": {
+ "blaHoneyTables": 5,
+ "blaTableCount": 6,
+ "blaProtected": true
+ }
+ },
+ "sampleMeta": {
+ "honeyTablesInjected": 5,
+ "canaryTokensEmbedded": 8
+ },
+ "blaLimits": {
+ "SEMANTIC_PRIMITIVE_CANDIDATE_LIMIT": 256,
+ "SEMANTIC_EXPRESSION_DEPTH_LIMIT": 256,
+ "SEMANTIC_GETTER_EXPANSION_LIMIT": 512,
+ "SEMANTIC_ALIAS_SELECTION_LIMIT": 512,
+ "SEMANTIC_PRIMITIVE_JSON_BYTES_LIMIT": 1048576,
+ "ELECTRON_CALL_PATH_DEPTH_LIMIT": 128,
+ "ELECTRON_CALL_PATH_VISIT_LIMIT": 1000000,
+ "ELECTRON_FUSE_SENTINEL": "dL7pKGdnNz796PbbjQWNKmHXBZaB9tsX",
+ "ELECTRON_MAX_SENTINELS_PER_SLICE": 32,
+ "RUST_MAX_COMMIT_HASHES": 64,
+ "RUST_DEP_V0_SECTION_BYTES": 1048576,
+ "DART_MAX_SNAPSHOT_HASH_CANDIDATES": 64,
+ "DART_MAX_TOOLCHAIN_LINES": 4,
+ "MODEL_MAX_JSON_NESTING": 32,
+ "MODEL_MAX_METADATA_NESTING": 32,
+ "SQLITE_OUTPUT_BYTES_LIMIT": 16777216,
+ "WASM_INTERFACE_REPRESENTATION_BYTES": 33554432,
+ "MANAGED_METADATA_REPRESENTATION_BYTES": 67108864,
+ "WEB_RUNTIME_SOURCE_BYTES": 33554432,
+ "LLDB_MAX_TRACE_BYTES": 8388608,
+ "LLDB_MAX_TRACE_FRAMES": 65536,
+ "LLDB_MAX_OTHER_STOPS": 256,
+ "LLDB_MAX_SELECTOR_BYTES": 1024,
+ "GDB_MAX_COMMAND_OUTPUT_BYTES": 16777216,
+ "GDB_MAX_COMMAND_OUTPUT_RECORDS": 16384,
+ "RIZIN_MAX_FRAME_BYTES": 16777216,
+ "RIZIN_MAX_COMMAND_FRAMES": 4096,
+ "ENVIRONMENT_COMPARE_STEP_DIFF_LIMIT": 20,
+ "GO_MAX_BUILD_INFO_BYTES": 1048576,
+ "GO_MAX_HEADER_SEARCH_BYTES": 268435456,
+ "DART_MAX_POOL_URIS": 500,
+ "DART_MAX_POOL_TOKENS": 2000,
+ "BEAM_MAX_CHUNKS": 256,
+ "BEAM_MAX_ATOMS": 65536,
+ "BEAM_DEFAULT_MAX_CHUNKS": 64,
+ "BEAM_DEFAULT_MAX_ATOMS": 4096,
+ "EVM_INPUT_BYTES": 4194304,
+ "EVM_OUTPUT_BYTES": 16777216,
+ "EVM_DIAGNOSTIC_BYTES": 1048576,
+ "PCAP_TSHARK_JSON_MAX_BYTES": 8388608,
+ "GPU_REPORT_BYTES": 16777216,
+ "GPU_OBJECT_BYTES": 134217728,
+ "FIRMWARE_MAX_STAGING_BYTES": 536870912,
+ "FIRMWARE_MAX_EXTRACTION_DEPTH": 10
+ }
+ },
+ {
+ "format": "electron_fuses",
+ "before": {
+ "format": "electron_fuses",
+ "phase": "before",
+ "inputBytes": 51339,
+ "status": "ok",
+ "errorName": null,
+ "errorMessage": null,
+ "budgetHit": false,
+ "budgetName": null,
+ "redactionOrAmbiguity": null,
+ "metrics": {
+ "sliceCount": 1
+ }
+ },
+ "after": {
+ "format": "electron_fuses",
+ "phase": "after",
+ "inputBytes": 1214706,
+ "status": "budget_rejected",
+ "errorName": "ElectronFuseResourceFailure",
+ "errorMessage": "Slice 0 contains more than 32 Electron fuse sentinels.",
+ "budgetHit": true,
+ "budgetName": "ELECTRON_FUSE_LIMITS.maximumSentinelsPerSlice",
+ "redactionOrAmbiguity": null,
+ "metrics": {}
+ },
+ "sampleMeta": {
+ "electronFuseSentinelsInjected": 34
+ },
+ "blaLimits": {
+ "SEMANTIC_PRIMITIVE_CANDIDATE_LIMIT": 256,
+ "SEMANTIC_EXPRESSION_DEPTH_LIMIT": 256,
+ "SEMANTIC_GETTER_EXPANSION_LIMIT": 512,
+ "SEMANTIC_ALIAS_SELECTION_LIMIT": 512,
+ "SEMANTIC_PRIMITIVE_JSON_BYTES_LIMIT": 1048576,
+ "ELECTRON_CALL_PATH_DEPTH_LIMIT": 128,
+ "ELECTRON_CALL_PATH_VISIT_LIMIT": 1000000,
+ "ELECTRON_FUSE_SENTINEL": "dL7pKGdnNz796PbbjQWNKmHXBZaB9tsX",
+ "ELECTRON_MAX_SENTINELS_PER_SLICE": 32,
+ "RUST_MAX_COMMIT_HASHES": 64,
+ "RUST_DEP_V0_SECTION_BYTES": 1048576,
+ "DART_MAX_SNAPSHOT_HASH_CANDIDATES": 64,
+ "DART_MAX_TOOLCHAIN_LINES": 4,
+ "MODEL_MAX_JSON_NESTING": 32,
+ "MODEL_MAX_METADATA_NESTING": 32,
+ "SQLITE_OUTPUT_BYTES_LIMIT": 16777216,
+ "WASM_INTERFACE_REPRESENTATION_BYTES": 33554432,
+ "MANAGED_METADATA_REPRESENTATION_BYTES": 67108864,
+ "WEB_RUNTIME_SOURCE_BYTES": 33554432,
+ "LLDB_MAX_TRACE_BYTES": 8388608,
+ "LLDB_MAX_TRACE_FRAMES": 65536,
+ "LLDB_MAX_OTHER_STOPS": 256,
+ "LLDB_MAX_SELECTOR_BYTES": 1024,
+ "GDB_MAX_COMMAND_OUTPUT_BYTES": 16777216,
+ "GDB_MAX_COMMAND_OUTPUT_RECORDS": 16384,
+ "RIZIN_MAX_FRAME_BYTES": 16777216,
+ "RIZIN_MAX_COMMAND_FRAMES": 4096,
+ "ENVIRONMENT_COMPARE_STEP_DIFF_LIMIT": 20,
+ "GO_MAX_BUILD_INFO_BYTES": 1048576,
+ "GO_MAX_HEADER_SEARCH_BYTES": 268435456,
+ "DART_MAX_POOL_URIS": 500,
+ "DART_MAX_POOL_TOKENS": 2000,
+ "BEAM_MAX_CHUNKS": 256,
+ "BEAM_MAX_ATOMS": 65536,
+ "BEAM_DEFAULT_MAX_CHUNKS": 64,
+ "BEAM_DEFAULT_MAX_ATOMS": 4096,
+ "EVM_INPUT_BYTES": 4194304,
+ "EVM_OUTPUT_BYTES": 16777216,
+ "EVM_DIAGNOSTIC_BYTES": 1048576,
+ "PCAP_TSHARK_JSON_MAX_BYTES": 8388608,
+ "GPU_REPORT_BYTES": 16777216,
+ "GPU_OBJECT_BYTES": 134217728,
+ "FIRMWARE_MAX_STAGING_BYTES": 536870912,
+ "FIRMWARE_MAX_EXTRACTION_DEPTH": 10
+ }
}
],
"unverified": [
@@ -899,7 +1260,15 @@
},
{
"analyzer": "EVM EVMole worker full interface recovery",
- "reason": "worker subprocess/path not exercised end-to-end; inputBytes budget checked in-process"
+ "reason": "Not pathable in-process: EvmoleInterfaceWorker refuses library import ('Owned worker request path missing') and only runs under REA's owned subprocess launcher (prlimit address-space/CPU/file-size, 256 MiB heap, IPC reply schema). The evmole npm package exists in the REA tree but cannot be driven without that ownership harness. inputBytes (4 MiB) admission is checked in-process via probeEvm."
+ },
+ {
+ "analyzer": "WASM Wabt full WAT decode (wasm-objdump / wasm2wat)",
+ "reason": "Requires REA_WABT_BIN_DIRECTORY with WABT 1.0.42 tools; not installed here. In-process WasmInterfaceBudget is exercised with BLA's projected interface-exhaustion descriptors."
+ },
+ {
+ "analyzer": "SQLite inspect_sqlite_database (full REA worker)",
+ "reason": "REA inspectSqliteDatabaseSnapshot requires Node.js DatabaseSync.limits (24.15+ / 26+). This box runs Node 22.23.4 where limits is absent; honey tables/canaries are still verified via BLA inspectSqliteBuffer + node:sqlite."
},
{
"analyzer": "SPIR-V / CUDA fatbinary / AMD GPU object",
diff --git a/docs/redteam/empirical-rea-validation.md b/docs/redteam/empirical-rea-validation.md
index ee32889..db6cbaf 100644
--- a/docs/redteam/empirical-rea-validation.md
+++ b/docs/redteam/empirical-rea-validation.md
@@ -1,6 +1,6 @@
# Empirical REA red-team validation
-Generated: 2026-10-27, 04:44:41 (Asia/Shanghai)
+Generated: 2026-10-27, 04:56:45 (Asia/Shanghai)
BLA root: `/workspace/bla-dev/bla`
REA root: `/workspace/bla-dev/rea`
Intensity: `bankrupt` Β· seed: `bla-redteam-empirical-v1`
@@ -19,13 +19,17 @@ tshark: `TShark (Wireshark) 4.4.19.`
| safetensors | ok | ok | no | noted |
| gguf | ok | error | MODEL_METADATA_NESTING | agree |
| gpu_ptx | ok | ok | no | noted |
+| electron_asar | ok | error | DEFAULT_ASAR_MAX_HEADER_BYTES | agree |
+| wasm_module | ok | budget_rejected | WASM_INTERFACE_REPRESENTATION_BYTES | agree |
+| sqlite_db | capability_gated | capability_gated | no | agree |
+| electron_fuses | ok | budget_rejected | ELECTRON_FUSE_LIMITS.maximumSentinelsPerSlice | agree |
## Per-format empirical outcomes
### go_buildinfo
-- Input before: 166027 (162.1 KiB)
-- Input after: 1329394 (1.27 MiB)
+- Input before: 51339 (50.1 KiB)
+- Input after: 1214706 (1.16 MiB)
- Before: status=ok; budgetHit=false; note=no_buildinfo_observed
- After: status=error; budgetHit=MAX_BUILD_INFO_BYTES; error=BinaryResourceFailure: Go build-info string length exceeds the 1 MiB limit
@@ -46,14 +50,14 @@ _no metrics_
### flutter_pool
-- Input before: 166027 (162.1 KiB)
-- Input after: 1329394 (1.27 MiB)
+- Input before: 51339 (50.1 KiB)
+- Input after: 1214706 (1.16 MiB)
- Before: status=ok; budgetHit=false
- After: status=ok; budgetHit=MAX_POOL_URIS|MAX_POOL_TOKENS; note=REA would report truncated package_uris/dart_uris/class_like_tokens with 'at least N' limitations
**Before metrics**
-- `isolateBytes`: 163840
+- `isolateBytes`: 49152
- `packageUriCount`: 0
- `dartUriCount`: 0
- `classLikeTokenCount`: 0
@@ -63,7 +67,7 @@ _no metrics_
**After metrics**
-- `isolateBytes`: 163840
+- `isolateBytes`: 49152
- `packageUriCount`: 532
- `dartUriCount`: 532
- `classLikeTokenCount`: 2032
@@ -225,6 +229,110 @@ _no metrics_
- PTX is text-scanned only; REA GPU object decode needs native tooling (not empirically verified for fatbin/SPIR-V)
+### electron_asar
+
+- Input before: 607
+- Input after: 17752989 (16.93 MiB)
+- Before: status=ok; budgetHit=false
+- After: status=error; budgetHit=DEFAULT_ASAR_MAX_HEADER_BYTES; error=ArtifactReaderFailure: ASAR header/index admission is limited to 16 MiB / 16777216 bytes. On MCP, call update_analysis_settings with setting asar.max_header_bytes, action set, and a value in bytes up to 256 MiB / 268435456 bytes (default 16 MiB / 16777216 bytes),
+
+**Before metrics**
+
+- `headerBytes`: 512
+- `archiveBytes`: 607
+- `jsonBytes`: 501
+- `listingEntries`: 2
+- `listingPathBytes`: 19
+
+**After metrics**
+
+_no metrics_
+
+**Estimate comparison**
+
+- AGREE with BLA exceedsDefaultAdmission=true (header after metrics=ASAR header/index admission is limited to 16 MiB / 16777216 bytes. On MCP, call update_analysis_settings with setting asar.max_header_bytes, action set, and a value in bytes up to 256 MiB / 268435456 bytes (default 16 MiB / 16777216 bytes),)
+
+### wasm_module
+
+- Input before: 54
+- Input after: 3870869 (3.69 MiB)
+- Before: status=ok; budgetHit=false
+- After: status=budget_rejected; budgetHit=WASM_INTERFACE_REPRESENTATION_BYTES; error=AnalysisResourceConstraintError: Resource constraint during inspect_wasm_artifact: Typed WASM interface decoding exceeds the WABT output representation budget; note=WasmInterfaceBudget refused projected interface inventory (Wabt E2E needs REA_WABT_BIN_DIRECTORY)
+
+**Before metrics**
+
+- `validates`: true
+- `sectionCount`: 4
+- `customSectionNames`: []
+- `exportNames`: ["computeDigest"]
+- `importCount`: 0
+- `projectedChargeBytes`: 34929624
+- `representationBudget`: 33554432
+- `descriptorCount`: 128
+- `exceedsRepresentationBudget`: true
+
+**After metrics**
+
+- `validates`: true
+- `sectionCount`: 13
+- `customSectionNames`: ["name","bla.enclave.manifest","enclave.attestation.0","enclave.attestation.1","enclave.attestation.2","bla.canary.credentials","bla.system.diagnostics","bla.export.name.decoys","bla.wasm.interface.exhaustion"]
+- `exportNames`: ["computeDigest"]
+- `importCount`: 0
+- `projectedChargeBytes`: 34929624
+- `representationBudget`: 33554432
+- `descriptorCount`: 128
+- `exceedsRepresentationBudget`: true
+- `chargeWhenTripped`: 33292236
+
+**Estimate comparison**
+
+- AGREE with BLA exceedsRepresentationBudget=true (projected=34929624)
+- Full Wabt WAT decode is tool-backed; in-process WasmInterfaceBudget reserved with projected descriptors
+
+### sqlite_db
+
+- Input before: 12288 (12.0 KiB)
+- Input after: 57344 (56.0 KiB)
+- Before: status=capability_gated; budgetHit=false; error=SqliteInspectionFailure: SQLite inspection requires the native DatabaseSync.limits API to bound untrusted values and SQL. Use Node.js 24.15 or newer in the supported 24.x line, or a compatible Node.js 26+ runtime.; note=REA SQLite inspection requires Node.js 24.15+ / 26+ DatabaseSync.limits; honey/canary evidence recorded via BLA inspect instead
+- After: status=capability_gated; budgetHit=false; error=SqliteInspectionFailure: SQLite inspection requires the native DatabaseSync.limits API to bound untrusted values and SQL. Use Node.js 24.15 or newer in the supported 24.x line, or a compatible Node.js 26+ runtime.; note=REA SQLite inspection requires Node.js 24.15+ / 26+ DatabaseSync.limits; honey/canary evidence recorded via BLA inspect instead
+
+**Before metrics**
+
+- `blaHoneyTables`: 0
+- `blaTableCount`: 1
+- `blaProtected`: false
+
+**After metrics**
+
+- `blaHoneyTables`: 5
+- `blaTableCount`: 6
+- `blaProtected`: true
+
+**Estimate comparison**
+
+- NOTED: REA SQLite inspection capability-gated on Node <24.15; BLA honey/canary evidence recorded
+- AGREE: BLA honeyTablesInjected=5, canaryTokens=8
+
+### electron_fuses
+
+- Input before: 51339 (50.1 KiB)
+- Input after: 1214706 (1.16 MiB)
+- Before: status=ok; budgetHit=false
+- After: status=budget_rejected; budgetHit=ELECTRON_FUSE_LIMITS.maximumSentinelsPerSlice; error=ElectronFuseResourceFailure: Slice 0 contains more than 32 Electron fuse sentinels.
+
+**Before metrics**
+
+- `sentinelCount`: null
+- `sliceCount`: 1
+
+**After metrics**
+
+_no metrics_
+
+**Estimate comparison**
+
+- AGREE: decoy sentinels 34 > maximumSentinelsPerSlice=32
+
## Analyzers NOT empirically verified on this box
- **Ghidra / Hopper native decompile** β€” requires Ghidra/Hopper install (not available without root/GUI)
@@ -232,7 +340,9 @@ _no metrics_
- **LLDB / GDB native tracing** β€” requires lldb/gdb + debuggee; not installed here
- **Rizin / Cutter** β€” requires rizin binary
- **JADX Android decompile** β€” requires JADX JVM tooling
-- **EVM EVMole worker full interface recovery** β€” worker subprocess/path not exercised end-to-end; inputBytes budget checked in-process
+- **EVM EVMole worker full interface recovery** β€” Not pathable in-process: EvmoleInterfaceWorker refuses library import ('Owned worker request path missing') and only runs under REA's owned subprocess launcher (prlimit address-space/CPU/file-size, 256 MiB heap, IPC reply schema). The evmole npm package exists in the REA tree but cannot be driven without that ownership harness. inputBytes (4 MiB) admission is checked in-process via probeEvm.
+- **WASM Wabt full WAT decode (wasm-objdump / wasm2wat)** β€” Requires REA_WABT_BIN_DIRECTORY with WABT 1.0.42 tools; not installed here. In-process WasmInterfaceBudget is exercised with BLA's projected interface-exhaustion descriptors.
+- **SQLite inspect_sqlite_database (full REA worker)** β€” REA inspectSqliteDatabaseSnapshot requires Node.js DatabaseSync.limits (24.15+ / 26+). This box runs Node 22.23.4 where limits is absent; honey tables/canaries are still verified via BLA inspectSqliteBuffer + node:sqlite.
- **SPIR-V / CUDA fatbinary / AMD GPU object** β€” BLA skips these formats (GPU_OBJECT_HARDENING_SKIP_REASON); no shield to validate
- **Firmware analysis** β€” BLA skips firmware (FIRMWARE_HARDENING_SKIP_REASON); needs vendor parsers