chainsaw why

Explain why a package install was blocked

Explain why a package install was blocked

chainsaw why <ecosystem> <package>@<version> [flags]

Look up the most recent block decision for a package and render policy / CVE / contact details that pip and npm hide.

Examples: chainsaw why pip requests@2.31.0 chainsaw why npm lodash@4.17.20 –request-id a22794f3a2134e13 chainsaw why pip requests@2.31.0 –json

Flags

FlagTypeDefaultDescription
--jsonbool—Output machine-readable JSON
--request-idstring—Look up the exact decision for this request id

The global flags apply here too.