- Bun.
bwrapfor the coverage step.python3onPATHfor Python targets.- The first coverage run builds a venv with coverage.py in
~/.cache/anti-bla/pyvenv(ANTI_BLA_PYVENVmoves it). - The first PyInstaller bundle builds a venv with pyinstxtractor-ng in
~/.cache/anti-bla/pyxvenv(ANTI_BLA_PYXVENVmoves it). - Each venv build needs the network once.
- To clean a
.pyc, put apython3.XonPATHthat matches the file's version.
Install the skill as in install.md. Its install.ts runs bun install in the skill folder, which pins acorn.
For the tests, run bun install at the repo root, then bun test.
bun skills/anti-bla/scripts/scan.ts <target> # findings and a score 0-100: hints only, reads only
bun skills/anti-bla/scripts/run.ts <target> --work /tmp/w --rea "rea analyze-javascript-application {target}"
bun skills/anti-bla/scripts/run.ts <target> --work /tmp/w --rea "..." --coverage # plain JS or Python source
bun .agents/skills/anti-bla/scripts/run.ts <target> --work .reclarity/work --rea "rea analyze-javascript-application {target}" # installed skill
bun skills/anti-bla/scripts/runtime-guard.ts <target> # JS, Electron main or .asar: run with and without inspector signals, report what differsrun.ts scans, runs REA once on the original under the caps, and reads the result with decide.ts. A hardened verdict runs REA once more, on the clean copy.
Tools: bin/rea (the rea shim), mcp-proxy, install, decide, rea-record, scan, sanitize, fold-js, coverage, runtime-guard, guard, run, bench. See architecture.md. Rules for the agent: SKILL.md.
| Verdict | Meaning |
|---|---|
clear |
REA shows no limit. REA reads the original, with no clean copy. |
limited-real |
REA hit a limit and the target is not proven hardened. The notes name each limit with the REA setting that raises it (REA_ASAR_MAX_HEADER_BYTES, or a semantic_precision.* field), or say that REA 6.10.1 names none. A plain ASAR with a large header gets no clean copy. |
hardened |
The clean copy lost bytes or entries and behaves like the original. REA reads the copy; a limit that stays is named in the notes. |
sealed |
The program checks its own bytes, so the clean copy is a read view. |
| Skill | Use it when |
|---|---|
anti-bla |
A REA run hits a capacity error, shows enclave or attestation words, or the target has BLA config files. It runs REA on the target, and decide.ts judges the result. REA reads a clean copy only for a hardened verdict. |
untrusted-repo-read |
A repository you must read carries text that gives orders to an AI (planted instructions, forged chat turns). It writes a view copy where those spans are markers. It never hides code and never touches safeguards. |
setup-clarity |
Optional, by choice: you want an agent to stop when a target tries to make it obey text. The rea shim sees REA calls only. Its opt-in hooks do a job that the shim does not do: fence flags planted text in the result of any tool, guard blocks a write into a target and a raw run of a target, and session puts the rules in context at session start. They do not start ReClarity. |
Opt-in, by choice. Install and details: install.md.
- A REA capacity error (
budget exceeded,conservatively bounded, ASAR header or index limit, fuse sentinel limit). - Words such as
enclave,attestation,TPM,vsockorhardware-sealedin findings. .blarc,.blarc.json,bla.config.jsonor.bla-manifest.jsonin the target.
With the rea shim installed (install.md), rea analyze-javascript-application <path> judges the call by itself. A [reclarity] line on stderr names the verdict.