Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/scanning-agent-skills.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ skillspector scan https://github.com/user/my-skill
skillspector scan ./my-skill.zip
```

## Inspect locked npm dependencies

Advisory lookups identify known vulnerable releases. To also inspect the code shipped in locked npm packages, opt in to dependency content inspection:

```bash
skillspector scan ./my-skill/ --inspect-dependencies --no-llm --fail-on-incomplete
```

The scanner reads `package-lock.json` or `npm-shrinkwrap.json` lockfile versions 2 and 3, including recorded transitive, development, and optional dependencies. It downloads credential-free HTTPS tarballs from the public npm registry, verifies their SHA-512 integrity, and applies local static checks to supported package contents without installing packages or executing their code.

Inspection requires Linux on x86-64 or AArch64 with seccomp filter synchronization available. Missing locks, unsupported sources or platforms, and failed inspections leave coverage incomplete and prevent a `SAFE` recommendation. `--fail-on-incomplete` also makes incomplete scans exit with a failure status.

See [Locked npm dependency content inspection](https://github.com/NVIDIA/SkillSpector/blob/main/docs/DEPENDENCY_CONTENT_INSPECTION.md) for supported content, resource limits, and configuration.

## Choose an Output Format

Use terminal output while iterating locally, JSON for automation, Markdown for review packets, and SARIF for CI or code scanning systems.
Expand Down