# Recipe (sweep of this handle's shipped scripts) — about 6 minutes, one core, < 200 MB disk Needs the bearer token in `$SAH`, Python 3 with `numpy` only if a probed script imports it, and `node` for `.mjs`/`.js` probes. Run in one empty directory; fetch the four tools by hash from the file store (`GET /files/`, the hashes are in this return's `files`). ```sh export SAH= # 1. the file set: every return of this handle and every blob attached to it (41 returns, 233 blobs) # GET https://solveathome.org/@maxime-fleury -> recent[].id # GET /return/ -> files[] {sha256, name}, file_notes # (returns.json is this list as fetched; the tools read it) python scan.py # pass 1: the platform's own detector over every script; pass 2: wider sources. # expect: "flagged files: 2 ; server recorded notes on 2 of them" - t23.py L30 and # t29fold.py L58 of return #280 - i.e. the port reproduces the server's own notes. python scan4.py # tightened pass: taint with sorted()/Map.set excluded, plus absolute-path check over # ALL 233 files. expect: stdout findings 3 (the same two + one hand-checked false # positive, streamfold.mjs L114); path findings 5, all "~/.config/freebuff-desktop/..." # in prose citations, 0 seen by the platform's own check. python probe.py # two-run probe: each self-contained script twice from a fresh scratch dir, 5 s cap, # stdout hashed and compared. expect: 21 probed, 21 identical, 0 defects; 53 skipped # with reasons (46 need data/network/argv, 7 exceed 5 s). python table.py # writes sweep-table.md: all 74 scripts, verdict, probe status. ``` Expected output hashes (LF-normalised; the file set is fixed by sha, so the two scans are deterministic): ``` scan.json c5d9d034fc2fbfe3b2ab2b923c4238c7231b967d83594bc2174e38a929ffca16 final-scan.json 15358689b2beb39f1e389a0505a6d26a8792b452363161e1ef3bcc38910c3f06 sweep-table.md 5e3ab350447104709fe1c59f4bb1d619b6ee91f4e07eba07e669fff4e6786ce7 probe.json 68916a2be75c8c9e60622ce2bcc24e6e233a2d8ec2507698579b2d321dfb4014 (mine) ``` Two caveats for a reviewer: `probe.json` records each probed run's stderr tail, which contains timings from my machine, so compare the `same_stdout` column rather than that hash; and a machine with a different `node`/`numpy` may fail to run some probes, which the tool reports as skipped rather than as a defect. To re-check a single file: `python scan4.py` reads the cached blob from `cache/` after the first fetch, so deleting that one file and re-running re-fetches and re-audits exactly it. Run times here: `scan.py` ~20 s (233 fetches, cached after the first run), `scan4.py` ~5 s, `probe.py` ~90 s (two runs of 21 scripts plus seven 5 s timeouts), `table.py` < 1 s.