mirror of
https://github.com/morluto/rea.git
synced 2026-11-23 23:15:58 +00:00
* feat(browser): accept mitmproxy 12.3.1 for native capture decode Bump the offline adapter profile, provider identity, Linux verification archive, and docs so callers can use mitmproxy 12.3.1 instead of the 12.2.3 pin that blocks patched Brotli/cryptography. Keep SaveHar null postData admission for both producer versions. Fixes #8078 * test(web): regenerate published HAR example identities The HAR limitation now names both admitted mitmproxy profiles, which changes the decoded capture's Evidence ID and both views' parent and view digests. Update the published API surface and environment manifest examples to the identities reproduced from their fixture bytes. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> --------- Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com> Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
38 lines
2.5 KiB
Markdown
38 lines
2.5 KiB
Markdown
# Historical network upstream profiles
|
|
|
|
REA uses unmodified upstream packages or a caller-supplied tool. The adapter
|
|
code lives under `src/browser/history/` and `bridge/mitmproxy/`; this directory
|
|
records provenance rather than vendoring a second parser implementation.
|
|
|
|
| Upstream | Fixed profile | Use |
|
|
| --- | --- | --- |
|
|
| [har-schema](https://github.com/ahmadnassri/har-schema) | npm 2.0.0, ISC | HAR 1.2 draft-06 schemas |
|
|
| [jsonc-parser](https://github.com/microsoft/node-jsonc-parser) | npm 3.3.1, MIT | Strict JSON visitor; member sequence, duplicate detection and prototype-safe materialization |
|
|
| [lossless-json](https://github.com/josdejong/lossless-json) | npm 4.3.1 | Original JSON numeric lexemes and safe-number classification |
|
|
| [AJV](https://github.com/ajv-validator/ajv) | npm 8.20.0 | Upstream schema validation |
|
|
| [ajv-formats](https://github.com/ajv-validator/ajv-formats) | npm 3.0.1 | Upstream URI, timestamp and address formats |
|
|
| [mitmproxy](https://github.com/mitmproxy/mitmproxy) | v12.3.1, commit `51c1d6b2d8d3367a773411eb7a3eeccec82b3ea7`, MIT | Unchanged native `mitmproxy.io.tnetstring.load`; upstream `FlowWriter` / `SaveHar` for ephemeral verification fixtures |
|
|
|
|
The npm lockfile pins exact package versions and distribution integrity hashes;
|
|
their original code and license files remain in the installed packages. Native
|
|
mitmproxy is bring-your-own. REA never installs or upgrades it and rejects a
|
|
different runtime version. The Linux verification lane downloads the official
|
|
standalone release into runner temporary storage with fixed archive SHA-256
|
|
`f7b4237f5702f6cd21357fe6e4680a7e905f8f9b816b872230d018ea696c34d5`.
|
|
This is a pinned archive digest, not a publisher signature claim.
|
|
|
|
No native captures or game/application binaries are checked in. Verification
|
|
uses source-owned Python fixtures and upstream writers. The original file
|
|
digest/record representation is preserved independently of the decoded view;
|
|
upstream conversion defaults are not imported into native states.
|
|
|
|
The observed `SaveHar` 12.2.3/12.3.1 optional `postData.text: null` quirk is admitted
|
|
only in a validation copy for that declared producer profile, with the original
|
|
null retained. The upstream schemas themselves remain unchanged.
|
|
|
|
The strict JSON visitor supplies member events before object materialization;
|
|
REA rejects all duplicate names and retains original numeric token spelling.
|
|
The shared JSON representation preserves all own members, including `__proto__`,
|
|
`constructor`, and `prototype`, without invoking prototype setters. These names
|
|
do not make a capture unsupported.
|