check_stack
Check exact package versions against cve.now's synced vulnerability catalog. Pass a lockfile, a package list, or the stack_id of a lockfile uploaded to cve.now. For a large lockfile, upload it instead of passing its contents: curl --data-binary @ -H 'X-Lockfile-Name: ' https://cve.now/api/stack returns its id. A flake.lock is checked by the git commit each input pins, through OSV, and its nixpkgs package CVEs are not checked. No matches means none found, not a guarantee of safety.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | No | ||
| stack_id | No | The id returned by POST https://cve.now/api/stack for an uploaded lockfile. | |
| lockfile_name | No | Optional. The file type is detected from the content; the name only breaks ties (e.g. poetry.lock vs Cargo.lock). Supported: package-lock.json, npm-shrinkwrap.json, bun.lock, pnpm-lock.yaml, yarn.lock, poetry.lock, requirements.txt, Cargo.lock, go.sum, Gemfile.lock, mix.lock, flake.lock. | |
| lockfile_content | No |