Commit 3bbbf06
security(audits): assail-classifications for 8 of 9 panic-attack #378 findings
panic-attack estate sweep flagged 9 Critical/High findings in this
repo (issue #378). After per-finding triage, 8 of 9 are false
positives or vendored-subtree concerns. The remaining 1
(affinescriptiser/flake.nix) was an unfilled scaffold leftover with
{{PROJECT_NAME}} placeholders — deleted in the next commit rather
than suppressed.
Classifications added:
UnboundedAllocation (4 sites) — all `std::fs::read_to_string` calls
reading local user-authored TOML config/manifest/lockfile/source-file
paths. Trust model is identical to rustc/cargo: the user is the
operator; an attacker who can write multi-GB files to the user's
~/.config/ is already past the security boundary. Sites:
- affinescriptiser/src/codegen/parser.rs (source path)
- tools/affine-pkg/src/lockfile.rs (lockfile)
- tools/affine-pkg/src/manifest.rs (manifest)
- tools/affine-pkg/src/config.rs (global + project config)
DynamicCodeExecution (2 sites):
- tools/affine-doc/assets/search.js — pattern-matched a COMMENT
explaining the code AVOIDS innerHTML. Render path uses
.textContent throughout. Confirmed by reading the file.
- road-skate/game/main.js — vendored subtree; fix in upstream
hyperpolymath/road-skate, not this tree.
SupplyChain (2 sites):
- road-skate/flake.nix — vendored subtree.
- affinescript-vite/flake.nix — vendored subtree.
Schema cribbed from hyperpolymath/echidna/audits/assail-classifications.a2ml.
Refs #378
Refs hyperpolymath/panic-attack#32
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d1f0e40 commit 3bbbf06
1 file changed
Lines changed: 82 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
0 commit comments