Run2 trivy offline
[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.
npx -y skills add cxcscmu/SkillLearnBench --skill run2_trivy-offlineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Optimized Trivy offline scanning for lock files, including all dependency types.
SKILL.md
0.8 KB, as published. Nobody here has run it
Optimized Trivy Offline Scanning
This skill covers enhanced offline scanning techniques using Trivy.
Scanning All Dependencies
By default, Trivy might skip dev dependencies. For a complete audit of a package-lock.json, use the --include-dev-deps flag.
trivy fs /path/to/target \
--format json \
--output report.json \
--scanners vuln \
--include-dev-deps \
--skip-db-update \
--offline-scan \
--cache-dir /path/to/trivy/cache
Troubleshooting Database Issues
If the scan fails due to database initialization, verify the path:
- Ensure
trivy.dbis in<cache-dir>/db/. - Ensure the user has read permissions to the database file.