Repository navigation
v0.3.6: unreadable files block instead of crashing
Fixes a crash. If a file in the scanned set could not be read (permissions, a broken symlink target, a file removed mid-run), the skill audit and the GitHub Action threw an uncaught EACCES/ENOENT and stopped. No verdict for that file, and none for any other file in the run. In CI that meant a failed job with a stack trace instead of annotations.
Now an unreadable file is reported as BLOCK with a new finding, IO-001, that names the reason:
BLOCK 100 skills/bad/SKILL.md
IO-001 [visible] Could not read the file (EACCES); an agent might still read it
ALLOW 0 skills/ok/SKILL.md
In the Action it becomes an ::error annotation on that file, and every other file is still scanned. A file the scanner cannot read is not one it can call safe; the agent may run with different permissions.
| v0.3.5 | v0.3.6 | |
|---|---|---|
| Skill audit, one unreadable file | crash, no verdicts | that file BLOCK, others scanned |
| GitHub Action, one unreadable file | crash, no annotations | ::error on that file, others annotated |
Tested as an unprivileged user (root ignores mode 000). No change to detection: 32/32 tests, 140 Aeon skills 0 block, benchmark numbers unchanged (35.0% / 69.1% / 72.3%).
uses: yusasecurity/yusa@v0.3.6