mirror of
https://github.com/morluto/rea.git
synced 2026-11-30 08:08:55 +00:00
* feat(artifacts): inspect Debian package control metadata and contents * fix(deb): throw ParseFailureError and record the new tool's schema counts DebPackageFormatFailure now extends ParseFailureError, as the architecture guard requires of parser failure classes; its kind, partial and message are unchanged. The advertised-dialect baseline takes the counts the inspect_deb_package input schema adds ($schema in both profiles, and allOf, default, examples, the \/ escape, the unanchored path pattern and untyped nodes in the full profile). * docs(deb): say dpkg runs maintainer scripts, not dpkg-deb dpkg-deb only reads the archive; installing with dpkg is what runs the maintainer scripts. Correct the spec so the safety rationale names the right tool. * refactor(deb): project format failures through parseFailureAnalysisError The provider now maps DebPackageFormatFailure with the shared parseFailureAnalysisError instead of its own instanceof ladder, passing the partial ar/control/data observation as diagnostics. The helper takes that optional diagnostics argument. DebPackageCapacityFailure extends ParseFailureError<"limit"> with the resource and maximum as its limit, and the provider keeps its limit recovery. * test(deb): resolve inspect_deb_package from its contract family The CLI acceptance and MCP boundary tests now take the contract from DEB_PACKAGE_TOOL_CONTRACTS instead of the full catalog, as the testing guide asks of focused contract tests. * fix(deb): require debian-binary and a control file for complete coverage Coverage was complete with a missing or empty debian-binary, or a control.tar that held no control file. It now needs a known format version and the control file as well as the control and data members, and each gap adds a limitation. * fix(deb): count hardlinks in the md5sums path cross-check dpkg lists every name of a hardlinked file in md5sums, while tar stores the later names as hardlink entries. The cross-check inventory now takes hardlink paths as well as regular files, so those names are no longer counted missing. * fix(deb): decode xz only when its index declares a size within the limit The sync @napi-rs/lzma decoder takes no output bound, so a member whose index could not be read was decoded with no limit and checked only after allocation. decodeXz now refuses such a member, as truncated when the footer is missing and malformed otherwise, before calling the decoder. * fix(deb): leave the md5sums cross-check unknown when an input is unread md5sums that is not UTF-8 counted as zero listed paths, and a package with no data.tar counted as an empty inventory. The cross-check is now computed only when both were read; otherwise it stays null and a limitation says which input was missing. * fix(deb): refuse Version and Installed-Size values the output schema rejects A Version with an empty upstream part or Debian revision (1:, 1:-1, 1.0-) and an Installed-Size past the safe integer range reached DebControl and failed the output schema, so the service lost the report. The parser now records a malformed field issue and leaves the value null. * build(deb): declare src/deb as a provider module layer Main now requires every top-level src unit in UNIT_LAYERS. src/deb is a provider like src/sqlite, and its two type imports of application ports are recorded in the upward-import baseline the same way. The xz spy binding now accepts the string or bytes input XzApi.compressSync takes. * fix(deb): keep tar names and link targets as stored Read ustar name, prefix and linkname fields, and GNU long names, as NUL-terminated UTF-8 without trimming or rewriting backslashes, and keep spaces in md5sums paths. A name that is not UTF-8 is shown with U+FFFD replacements and counted in a limitation, since it may not match md5sums. * fix(deb): read control files from the control.tar root only Look up control, conffiles, md5sums and maintainer scripts by their normalized root path, so a nested subdir/control or subdir/postinst no longer stands in for the root file. * fix(deb): read PAX records by byte length PAX record lengths count bytes, so walk the extended header bytes and decode each record on its own. A UTF-8 path no longer swallows part of the next record. A path or linkpath record that is not UTF-8 is counted in the same not-UTF-8 limitation as ustar names. * fix(deb): keep unreadable relationship alternatives as issues Accept hyphenated architecture qualifiers such as kfreebsd-amd64, and have parseDebianRelationshipField return the alternatives it cannot read. parseControl records each as a malformed issue on its field, so the package reports partial coverage instead of dropping a dependency. * fix(deb): deliver the whole partial report on a refusal A Debian package refusal now carries the bounded partial report as diagnostics.partial, so control facts, relationships, maintainer-script facts, ar member offsets and file rows read before the failure reach CLI and MCP callers, not just member names and a count. * fix(deb): decode only the maintainer script interpreter line interpreterLine now finds the first newline in the script bytes and decodes only the #! line, so non-UTF-8 bytes later in the script, or a cut through a multi-byte character at byte 256, no longer hide a valid interpreter. * fix(deb): bound unreadable relationship diagnostics per field parseDebianRelationshipField now counts unreadable alternatives and keeps only the first, and parseControl records one issue per field with that count and the first term cut to 120 characters, so a field of many `|` separators no longer grows the report with its input. * test(deb): check parser guidance through its owning formatters Export undecodableTarNamesLimitation and unreadableRelationshipsDetail from the parser and assert delivered limitations and issue details through them, so wording edits change one place. * fix(deb): bound PAX header work before each tar entry Keep only the path and linkpath PAX keys the reader uses, set in place rather than copying an accumulated object per header, and refuse more than eight GNU long name/link or PAX headers before one entry as malformed, so a run of short PAX headers cannot stall the server. * fix(deb): apply PAX owner records to the following entry PAX uid, gid, uname and gname now override the fixed ustar fields, which can hold shortened or fallback values. A uid or gid that is not a safe decimal integer falls back to the fixed field. * fix(deb): keep GNU ar string tables as counted members A // string-table member is now kept in the ar inventory and counted against max_ar_members like any other member. As an unknown role it is listed in extra_member_names, so coverage reports partial. * fix(deb): honor PAX size records and escaped md5sums names - A PAX size record overrides the next entry's ustar size field. Reading and skipping by the header field reported an empty file and then parsed its data as a header, refusing a valid archive. - GNU md5sum writes a leading backslash and escapes names that contain a backslash, newline or carriage return. Those lines were dropped, so the cross-check counted listed files as missing; they are now read, and lines that are not digest lines are counted in a limitation. * fix(deb): bound relationship alternatives and read PAX headers faithfully - Count relationship alternatives across the control file before building any, refusing more than a fixed 65,536; a field of '|' separators within the control budget could build millions of report objects. - Refuse a PAX extended header whose record length is unreadable or runs past the member, instead of using the fields read so far. - Keep global (g) PAX values for every later entry and per-file (x) values for the next entry only; global values were cleared after the first file. * refactor(deb): drop an unused import * chore(mcp): drop the dialect baseline main retired in #10693 * fix(analysis-view): call completeWithinViewCoverage with main's single count Main dropped its redundant second argument; both arguments were the same count here. * test(mcp): record this PR's advertised-schema summary Add the advertised-schema summary for inspect_deb_package, generated with npm run verify:advertised-schemas -- --update-summary. * fix(deb): bound repeated global PAX text and accept xz stream padding A global PAX path, linkpath, uname or gname is copied into every later row, so each reuse is now charged to the member byte budget (max_data_bytes or max_control_bytes) and refused before the row is added. An empty global PAX value now deletes the earlier global override, so later entries read their header owner again. xzUncompressedSize and the footer check skip trailing zero Stream Padding in 4-byte groups before locating the footer, so valid padded xz members are no longer reported as truncated. * fix(deb): trim trailing tar path slashes with a backward scan The unanchored /\/+$/u retried from every slash, so a PAX path or md5sums name made of a long slash run and a final non-slash took quadratic time. logicalTarPath now trims trailing slashes with a linear charCodeAt scan from the end. * fix(deb): parse global PAX owner ids once per global record Global uid and gid values were run through paxId for every later entry, and the repeated-text budget skips numeric keys, so a long global owner value was rescanned once per row. Parse them when the global record is read and reuse the numbers. * refactor(deb): report coverage with the shared coverage status schema * refactor(deb): classify provider failures through classifyProviderFailure * fix(deb): bound resolved ar member names before copying them GNU ar /N references can repeat one string-table entry without charging its text to any budget, and every resolved name is copied into the report and its Evidence. Refuse a BSD or GNU long name above 4096 bytes before it is read or sliced, so repeated references cannot expand a small table into large report text. * test(deb): register the debPackage capability conformance case debPackage is declared in CAPABILITY_DECLARATIONS but had no entry in PROVIDER_CAPABILITY_CONFORMANCE, so the conformance suite failed for it. Name the existing Debian package CLI acceptance test as its case. * fix(deb): flag repeated control and data members as extra Only the first debian-binary, control.tar*, and data.tar* member is read. A later member with the same role was neither decoded nor listed, so a package with an empty first data.tar and a populated second one reported complete coverage. Repeated members now land in extra_member_names with a limitation, which keeps coverage partial. * refactor(deb): use the shared excerpt and error message owners The architecture guards from main count a hand-written ellipsis cut in the relationship issue detail and two inline error-to-message copies. Use ellipsisExcerpt and errorMessage instead. * refactor(deb): move DebPackagePort to src/ports/deb The provider imported its port from the application layer, which needed an upward allowance in the module-layer baseline. Put the port beside the other provider ports and drop the allowance. * fix(deb): record only caller-selected budgets in Evidence Omitted inspect_deb_package budgets no longer appear in Evidence parameters as if the caller set them; only supplied fields are kept. * fix(deb): report fixed reader allowances as limits The ar member name, tar extension header, and relationship alternatives allowances stop inspection without showing the input is invalid. Report them as `limit` parse failures (DebPackageAllowanceFailure) with the partial report attached, and project them as resource_constraint with a fixed-allowance recovery instead of invalid_request. * fix(deb): refuse GNU ar long name references outside the string table A `/<offset>` reference past the end of the `//` string table, or one that lands on an empty entry, resolved to an empty member name. The report then failed debPackageSchema and callers got AnalysisOutputError with no file identity or partial facts. Check the offset and the resolved name, and refuse as a malformed DebPackageFormatFailure that carries the partial report. * fix(deb): align ar members by stored size and require padding Advance past each ar member using the stored header size, so a BSD #1/N extended name with odd length keeps the next header aligned. Refuse an odd-sized member whose padding byte is missing at end of file instead of reporting complete coverage for a truncated container. * fix(deb): trim NUL-terminated header fields in linear time Trim fixed-width ar and tar header fields at the first NUL with indexOf instead of a NUL-to-end regex, which retried from every NUL when a continuation line followed a NUL run. Control-field decimal parsing no longer applies header NUL trimming. * fix(deb): skip the tar path prefix on GNU headers GNU tar headers use the 345-499 region for atime, ctime and sparse data, not a POSIX path prefix. Only join the prefix when the header carries the POSIX "ustar\0" magic. * docs(readme): drop duplicated target tables in five translations The fa, ko, th, zh-TW and zh guides carried the target table twice. Restore each to upstream and add the single Debian packages row. * fix(deb): report oversized Zstandard windows as a fixed allowance A valid control or data zstd member can request a decoder window above the fixed 128 MiB ceiling. Node raises ZSTD_error_frameParameter_windowTooLarge, which the parser reported as malformed. Map it to a DebPackageAllowanceFailure naming the new zstd_window_bytes allowance, matching ZipArtifactReader. * fix(package): bundle XZ decoder binaries for every plugin host The plugin archive is produced on Linux x64, where npm ci drops other platforms' optional packages. The packaging step only restored the PTY binaries, so Codex plugin installs on macOS and Windows had no @napi-rs/lzma binding and valid XZ packages failed as unsupported. Derive the platform packages from the locked runtime tree instead: every optional dependency of a runtime package that targets darwin/linux/win32 on x64/arm64 is restored at its locked path with a verified integrity, and the packed archive is checked for each one. * fix(deb): keep only applied PAX keys while reading records parsePax stored every record's key before PAX_KEYS filtered them, so one extended header of many short records with distinct keys grew an object property per record before any entry limit ran. Records whose key is not one this reader applies are now read and dropped, and parsePax is covered directly in DebPackageParser.test.ts. * Address review feedback * Trim deb822 lines with linear scans The trailing-whitespace alternative of the shared trim expression retried from every position of a long interior whitespace run, so a package Description could take quadratic time. Scan from each end instead and cover a long tab and space run in a test. * fix(deb): read only the first control paragraph parseControl used the first paragraph of the control file, but deb822Paragraphs built a map for every paragraph first. A control file of many small paragraphs could allocate millions of maps within the decompressed-size budget. deb822Paragraphs now takes a paragraph limit and yields string lines lazily, and parseControl stops after the first paragraph. * fix(deb): report unreadable tar modes as null A tar header whose mode field is not octal was reported as mode 0000, which invents a permission the archive never stated. Report the mode as null and add a malformed issue for the member, so coverage is partial. * fix(deb): refuse GNU sparse tar entries GNU PAX sparse headers (GNU.sparse.*) rename the following entry to a synthetic GNUSparseFile path and store only mapped segments, so reading it as a regular file reported the wrong name and size and could miss md5sums cross-checks. Old GNU sparse (S) entries can also carry extension blocks their size field does not count. Refuse both as an unsupported format instead of reporting wrong file facts. * refactor: use shared artifact inspection for Debian packages * fix(deb): report per-call budget refusals as parameter limits * Address review feedback * Address review feedback * fix(deb): bound xz decoding, inherit global PAX size, and redact Homepage URLs * fix(deb): bound xz index preflight memory and preserve typed cancellation with partial facts * fix(deb): bound nested relationship lists, align tar stored-body rule, and scope async parse * fix(deb): walk actual XZ block boundaries, scan control lines without arrays, and guard XZ close gate * refactor(deb): avoid throwaway filter arrays in DebPackageParser --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com> Co-authored-by: Matt Van Horn <mvanhorn@MacBook-Pro-10.local>
402 lines
19 KiB
JSON
402 lines
19 KiB
JSON
{
|
|
"src/adb/AdbCommand.ts": {
|
|
"name": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live adb capture allowance named by its caller; the ceiling is declared where the command's budget is chosen."
|
|
},
|
|
"{ name, kind: \"live\" as const, ...facts }": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live adb capture allowance named by its caller; the ceiling is declared where the command's budget is chosen."
|
|
}
|
|
},
|
|
"src/adb/AdbConfiguration.ts": {
|
|
"`The adb version-output capture allowance of ${String(VERSION_MAX_OUTPUT_BYTES)} bytes (this release has no runtime override)`": {
|
|
"class": "protocol",
|
|
"reason": "Bounds the reply to `adb version`, a short fixed-format banner; no analysis input passes through it."
|
|
}
|
|
},
|
|
"src/android/JadxSession.ts": {
|
|
"`The external DEX ${failure.stage} representation allowance`": {
|
|
"class": "protocol",
|
|
"reason": "One eighth of the JADX bridge's 8 MiB local MCP frame less its envelope, so the prototype and reference replies and their retained, Evidence and MCP copies fit together; raising it needs a paged bridge reply, not a larger allowance."
|
|
}
|
|
},
|
|
"src/apkSignature/apkSignatureFailures.ts": {
|
|
"\"The decoded APK signing report allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK Signature Scheme ${scheme} allowance of ${String(maximum)} ${name} (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK Signing Block allowance of ${String(maximum)} pairs (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK v1 allowance of ${String(limit)} signers (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"`The APK v1 allowance of ${String(maximum)} META-INF signing entries (this release has no runtime override)`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "APK signing-block pair, signer, entry and report counts are REA resource policies, not APK Signature Scheme maxima."
|
|
},
|
|
"\"The APK signature input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 512 MiB whole-APK read is a resource policy; the content digest needs the whole file."
|
|
}
|
|
},
|
|
"src/apktool/ApktoolConfiguration.ts": {
|
|
"\"The apktool version-output capture allowance (decode_timeout_ms does not raise it)\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds the reply to `apktool --version`, a short fixed-format banner; no analysis input passes through it."
|
|
}
|
|
},
|
|
"src/artifacts/AndroidBootImageArtifactReader.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects the boot-image parser's own named ceiling (`ceiling.name`); the value is declared by that parser."
|
|
}
|
|
},
|
|
"src/artifacts/AndroidSparseImageArtifactReader.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects the sparse-image parser's own named ceiling (`ceiling.name`); the value is declared by that parser."
|
|
}
|
|
},
|
|
"src/artifacts/NdsRomArtifactReader.ts": {
|
|
"\"The Nintendo DS ROM directory depth allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds FNT directory nesting (64 levels) so deeply nested 127-byte directory names cannot expand a single path prefix to ~512 KiB before member path retention."
|
|
},
|
|
"\"The Nintendo DS ROM expanded path allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds aggregate UTF-8 bytes of expanded FNT member paths (16 MiB) before allocation so 61,440 files under deep prefixes cannot expand an 8 MiB FNT into gigabytes of retained path strings."
|
|
}
|
|
},
|
|
"src/artifacts/UbiImageArtifactReader.ts": {
|
|
"`The ${parserLimit.name} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "UBI eraseblock size and count allowances are resource policies; the static payload CRC budget is derived from the admitted image length."
|
|
}
|
|
},
|
|
"src/artifacts/WxapkgArtifactReader.ts": {
|
|
"\"The wxapkg directory-and-chunk I/O work allowance\"": {
|
|
"class": "derived",
|
|
"reason": "Four times the admitted member count plus 64 KiB chunks of declared member bytes, which artifact_limits.expanded_bytes bounds; it grows with that admission."
|
|
}
|
|
},
|
|
"src/artifacts/deno/DenoStandaloneLocation.ts": {
|
|
"parserLimit.name": {
|
|
"class": "forwarding",
|
|
"reason": "Projects a Deno parser limit declared at its owner (`parserLimit.name`)."
|
|
}
|
|
},
|
|
"src/artifacts/deno/DenoVirtualFs.ts": {
|
|
"\"The Deno compile virtual filesystem depth allowance\"": {
|
|
"class": "representation",
|
|
"reason": "Bounds nested walkEntries recursion so a deeply nested VFS JSON cannot exhaust the call stack; entry, name and path budgets are per-call artifact_limits.deno controls."
|
|
}
|
|
},
|
|
"src/artifacts/dotnet/DotnetBundle.ts": {
|
|
"\"The .NET bundle exact integer range\"": {
|
|
"class": "representation",
|
|
"reason": "A bundle offset or size above Number.MAX_SAFE_INTEGER cannot be represented exactly as a JavaScript number."
|
|
}
|
|
},
|
|
"src/artifacts/nodeSea/NodeSeaLocation.ts": {
|
|
"\"Node SEA duplicate-blob verification allowance\"": {
|
|
"class": "derived",
|
|
"reason": "Duplicate-blob verification work is bounded by the carrier's own file size, so the bound grows with the admitted input."
|
|
}
|
|
},
|
|
"src/browser/WebBundleAnalysisWorker.ts": {
|
|
"\"The web-bundle worker transfer allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Web-bundle worker transfer bytes are a resource policy."
|
|
}
|
|
},
|
|
"src/browser/execution/CdpRuntimeRetention.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the live runtime-retention allowance its caller names."
|
|
}
|
|
},
|
|
"src/browser/history/playwrightTrace/TraceFailure.ts": {
|
|
"\"The Playwright trace ZIP expansion allowance (derived from the archive size)\"": {
|
|
"class": "derived",
|
|
"reason": "The ZIP reader's plaintext-work budget is derived from the admitted trace archive's own size, which trace_limits.archive_bytes bounds."
|
|
}
|
|
},
|
|
"src/deb/DebPackageProvider.ts": {
|
|
"DEB_PACKAGE_FIXED_ALLOWANCES[cause.allowance]": {
|
|
"class": "forwarding",
|
|
"reason": "Reports the Debian parser's named ar name, tar extension, relationship alternative, Zstandard window, or XZ dictionary allowance using the parser's maximum."
|
|
}
|
|
},
|
|
"src/domain/analysisErrorCore.ts": {
|
|
"text(recovery.fixedAllowance.name)": {
|
|
"class": "forwarding",
|
|
"reason": "Copies a declared fixed allowance while redacting its text; declares no ceiling."
|
|
}
|
|
},
|
|
"src/domain/analysisView/WebNetworkProjectionAccumulator.ts": {
|
|
"\"The analysis-view projection allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "The analysis-view projection allowance is a resource policy."
|
|
}
|
|
},
|
|
"src/domain/apiContract/GraphqlDocuments.ts": {
|
|
"`The GraphQL AST nesting allowance of ${String(GRAPHQL_CONTRACT_LIMITS.astDepth)} levels`": {
|
|
"class": "representation",
|
|
"reason": "Bounds the parsed AST depth that REA's recursive selection-set generators (collectSelections, nested yield*) and graphql-js's recursive print and schema building walk, so a deeply nested document cannot exhaust the call stack or make nested generator delegation quadratic."
|
|
}
|
|
},
|
|
"src/domain/fixedAllowanceRemediation.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "The fixed-ceiling helpers themselves; each caller names its own allowance."
|
|
}
|
|
},
|
|
"src/domain/native/nativeDeadlines.ts": {
|
|
"allowance": {
|
|
"class": "forwarding",
|
|
"reason": "`fixedNativeAllowance` relays the allowance its caller names."
|
|
}
|
|
},
|
|
"src/electron/ElectronFuseFailures.ts": {
|
|
"fileSize ? \"the Electron fuse input allowance\" : \"The Electron fuse sentinel inventory\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Electron fuse input bytes and sentinel inventory are resource policies."
|
|
}
|
|
},
|
|
"src/flutter/FlutterBuildProvider.ts": {
|
|
"\"The Flutter APK expansion allowance (derived from the APK size)\"": {
|
|
"class": "derived",
|
|
"reason": "Expansion work is derived from the admitted APK's own size."
|
|
}
|
|
},
|
|
"src/ghidra/GhidraExecutableHeader.ts": {
|
|
"\"The header parser's exactly representable executable extent\"": {
|
|
"class": "representation",
|
|
"reason": "An executable extent above Number.MAX_SAFE_INTEGER cannot be represented exactly."
|
|
}
|
|
},
|
|
"src/ghidra/GhidraInstallationProperties.ts": {
|
|
"\"The Ghidra installation-properties read allowance\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds Ghidra's own Ghidra/application.properties, a short key=value installation descriptor of the bring-your-own provider (about 1 KiB); no analysis input passes through it, and a larger file is not a Ghidra installation REA can drive."
|
|
}
|
|
},
|
|
"src/gpu/GpuCodeObjectsProvider.ts": {
|
|
"\"The GPU object allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 128 MiB GPU object read allowance is a resource policy without a control."
|
|
},
|
|
"\"The GPU parser allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "AMDGPU metadata, HIP bundle, CUDA and PTX decode allowances (8 MiB to 512 MiB, visit and token counts) are resource policies without a control."
|
|
}
|
|
},
|
|
"src/ida/IdaMcpConnection.ts": {
|
|
"{ ...outputLimit.ceiling, narrowing: \"Request a smaller result from IDA, such as a narrower address range or fewer items.\", }": {
|
|
"class": "protocol",
|
|
"reason": "REA bounds each stdio message from the upstream IDA MCP server at a fixed frame size; the transport, not the analysis, sets it."
|
|
}
|
|
},
|
|
"src/il2cpp/Il2cppGhidraSeeds.ts": {
|
|
"name": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
}
|
|
},
|
|
"src/il2cpp/Il2cppMetadataProvider.ts": {
|
|
"\"The IL2CPP native-link allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
},
|
|
"\"the fixed IL2CPP input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "IL2CPP metadata input, native-link candidate and Ghidra seed allowances are resource policies; the ELF pointer index became max_native_index_bytes."
|
|
}
|
|
},
|
|
"src/kuna/KunaProjectReader.ts": {
|
|
"`Kuna's buffered function-text allowance of ${String(KUNA_FUNCTION_TEXT_BYTES)} bytes`": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Kuna's buffered function-text allowance is a resource policy."
|
|
}
|
|
},
|
|
"src/native/LldbCallTracer.ts": {
|
|
"\"The combined LLDB result representation ceiling\"": {
|
|
"class": "representation",
|
|
"reason": "The combined tracer result is read into one Buffer and decoded to one string; above min(buffer.constants.MAX_LENGTH, buffer.constants.MAX_STRING_LENGTH) the running Node cannot represent it."
|
|
}
|
|
},
|
|
"src/native/NativeCommandAnalysisError.ts": {
|
|
"\"The native command output capture allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Native command output capture is a producer budget without a per-call control."
|
|
}
|
|
},
|
|
"src/native/SignatureTargetBinding.ts": {
|
|
"\"The exactly representable file size\"": {
|
|
"class": "representation",
|
|
"reason": "A file size above Number.MAX_SAFE_INTEGER cannot be represented exactly."
|
|
}
|
|
},
|
|
"src/native/apple/AppleIpsProvider.ts": {
|
|
"`The IPS ${name.replaceAll(\"_\", \" \")} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
}
|
|
},
|
|
"src/native/dwarf/DwarfUnitsProvider.ts": {
|
|
"\"The retained DWARF section bound\"": {
|
|
"class": "derived",
|
|
"reason": "Retained file-backed sections cannot exceed the admitted image size; the bound is the selected file and grows with it."
|
|
}
|
|
},
|
|
"src/native/elf/ElfDebugLinkProvider.ts": {
|
|
"\"The whole-file debug candidate read allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The streamed candidate is hashed in bounded chunks; its 0xffffffff-byte whole-file ceiling states no format reason, so it is a policy awaiting a control or a stated reason."
|
|
}
|
|
},
|
|
"src/native/elf/ElfDependenciesProvider.ts": {
|
|
"text ? \"The ELF dependency text budget fixed by the admitted image length\" : `The ELF dependency ${limit.name} allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "ELF dependency entry allowances are resource policies; the text budget is derived from the admitted image length."
|
|
}
|
|
},
|
|
"src/native/elf/elfNoteLimitConstraint.ts": {
|
|
"ELF_NOTE_TEXT_ALLOWANCE": {
|
|
"class": "derived",
|
|
"reason": "The note text, hash and scan budget equals the admitted image length plus its decoded section names, so it grows with max_file_bytes and needs no control of its own."
|
|
}
|
|
},
|
|
"src/native/elf/ElfUnwindRangesProvider.ts": {
|
|
"\"The ELF unwind symbol-name text allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The 16 MiB symbol-name text decoded for one returned page is a resource policy; a smaller page (limit) stays within it."
|
|
}
|
|
},
|
|
"src/native/hardening/BinaryHardeningProvider.ts": {
|
|
"\"The binary hardening table-entry allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "The ELF dynamic table entry count is a resource policy; symbol-table excess already degrades to unresolved rows."
|
|
}
|
|
},
|
|
"src/native/parsers/lipo.ts": {
|
|
"\"The lipo field retention allowance\"": {
|
|
"class": "derived",
|
|
"reason": "lipo fields are sliced from its captured output, and their retention is bounded by the same native command output allowance; it changes only with that capture allowance."
|
|
}
|
|
},
|
|
"src/native/parsers/plist.ts": {
|
|
"\"The native plist input allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
},
|
|
"\"The native plist nesting allowance\"": {
|
|
"class": "representation",
|
|
"reason": "The decoded plist value nests inside Evidence JSON, whose depth is bounded by MAX_JSON_DEPTH before recursive result cloning; three levels are reserved for the report envelope (MAX_NATIVE_PLIST_NESTING_DEPTH = MAX_JSON_DEPTH - 3)."
|
|
},
|
|
"`The native ${encoding} plist decode allowance`": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "Native reader structural, text and inventory allowances are resource policies without a per-call control."
|
|
}
|
|
},
|
|
"src/native/pe/PeCertificatesProvider.ts": {
|
|
"selected.name": {
|
|
"class": "pending",
|
|
"issue": 14235,
|
|
"reason": "PE structural and retained-text allowances are resource policies (the PE file-size admission is #14167)."
|
|
}
|
|
},
|
|
"src/pcap/PcapCommand.ts": {
|
|
"\"The packet-tool output capture allowance\"": {
|
|
"class": "protocol",
|
|
"reason": "Bounds only capinfos and tshark version and summary probes, whose replies are short fixed-format text; each tshark JSON pass reports producer_limits.output_bytes instead."
|
|
}
|
|
},
|
|
"src/pcap/PcapOutput.ts": {
|
|
"\"The packet-inventory retained-fact allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "tshark JSON decoding, expansion, retained-fact, output and snapshot allowances are producer budgets."
|
|
},
|
|
"\"The tshark JSON expansion allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "The decoded-JSON work across both tshark passes bounds the in-process parse; raising it needs a streaming decoder or a heap-aware control, so it stays fixed until then."
|
|
}
|
|
},
|
|
"src/process/capture/ProcessSensitiveOutput.ts": {
|
|
"\"Sensitive terminal redaction\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "Sensitive terminal redaction state is a resource policy."
|
|
}
|
|
},
|
|
"src/resources/artifactReadBudget.ts": {
|
|
"ceiling.name": {
|
|
"class": "forwarding",
|
|
"reason": "Relays the whole-file identity ceiling its caller names: 4 GiB minus one byte for PE-only readers, whose file offsets are 32-bit (format), and the 512 MiB artifact-size bound of the hardening and exports result schemas. max_file_bytes, a per-call parameter with details.limit, bounds what the readers read."
|
|
}
|
|
},
|
|
"src/sqlite/SqliteDatabaseFailures.ts": {
|
|
"`The SQLite worker diagnostic capture allowance of ${String(SQLITE_DATABASE_LIMITS.diagnosticBytes)} bytes (this release has no runtime override; worker_timeout_ms does not raise it)`": {
|
|
"class": "protocol",
|
|
"reason": "Bounds stdout and stderr of REA's own SQLite worker, which answers through its reply file; only startup failures and runtime warnings reach these streams, and no database content or analysis result passes through them."
|
|
}
|
|
},
|
|
"src/sqlite/SqliteDatabaseWorkerExecution.ts": {
|
|
"\"The SQLite value/record, SQL statement and worker reply allowance\"": {
|
|
"class": "pending",
|
|
"issue": 14237,
|
|
"reason": "The 16 MiB value/record, statement and worker reply allowance bounds what the parent decodes from REA's SQLite worker; it is a resource policy that should become a per-call control together with the worker heap."
|
|
},
|
|
"\"SQLite's result-column limit for this connection\"": {
|
|
"class": "format",
|
|
"reason": "SQLite's own result-column limit (SQLITE_LIMIT_COLUMN) for the private connection, reported by the engine with the reply; REA does not set it."
|
|
}
|
|
},
|
|
"src/vsix/VsixPackageProvider.ts": {
|
|
"`The ${String(cause.failure.limit.maximum)}-node allowance for an extension.vsixmanifest document tree`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "VSIX manifest XML node and JSON value allowances are resource policies."
|
|
},
|
|
"`The ${String(cause.failure.limit.maximum)}-value allowance for a parsed extension/package.json`": {
|
|
"class": "pending",
|
|
"issue": 14236,
|
|
"reason": "VSIX manifest XML node and JSON value allowances are resource policies."
|
|
}
|
|
}
|
|
}
|