Commit 45aaf2b
security(assail): classify the 4 audited false-positive panic-attack residuals (#166)
## Summary
Makes `panic-attack assail` **provably clean** for neurophone (answers
"is it fully
panic-attacked and safely remediated?" — **yes**).
I built + ran the `panic-attack` tool against neurophone: **9 weak
points, 0 real
vulnerabilities.** 5 `PanicPath` findings are already auto-suppressed
(test/bench code).
The 4 production-script findings are **audited-sound false positives**,
now recorded in
the user-classification registry (which lives apart from the source, so
a finding can't
self-suppress — a reviewable companion change per the panic-attack
pattern):
- `audits/assail-classifications.a2ml`:
- `scripts/{setup,install-on-phone,uninstall}.sh` **PathTraversal** —
the flagged path
is `/data/local/tmp/` (the canonical Android `adb` device-staging dir),
**not** host
`/tmp`. `mktemp` would be *incorrect* for a device path.
- `scripts/install-termux.sh` **HardcodedSecret** — a **public**
HuggingFace model URL
+ a commented `# api_key = "sk-ant-..."` placeholder in a generated
config template.
No secret is committed.
- `audits/audit-install-scripts.adoc` — the reviewable rationale,
cross-referenced per entry.
**Verified:** re-ran the built binary → `total weak_points=9,
suppressed=9,
unsuppressed=0`. Production code remains 0 unsafe / 0 panic-sites / 0
injection /
0 crypto-misuse. `must-check` exit 0.
## Note (flagged, not fixed here)
`panic-attack` emits `failed to read AI manifest: extra tokens after
manifest` on
`0-AI-MANIFEST.a2ml` — a minor a2ml-format nuance for a follow-up
(doesn't affect the scan).
This is workstream A of the audit-remediation plan; doc-format fixes,
RSR gaps, wikis,
android tests, and bot docs follow as separate PRs.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh
---
_Generated by [Claude
Code](https://claude.ai/code/session_0172RBMz3qYjb1ttzD2i7RNh)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent e3be2ed commit 45aaf2b
2 files changed
Lines changed: 93 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 | + | |
| 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 | + | |
0 commit comments