@toiroakr/argent
v0.6.5
Published
Assess the risk of an npm package before you install it — deps.dev, OpenSSF Scorecard, socket.dev and Snyk Advisor in one command.
Maintainers
Readme
@toiroakr/argent
Assess the risk of an npm package before you install it — aggregating deps.dev, OpenSSF Scorecard, socket.dev and Snyk Advisor into one normalized report.
The published package is scoped (
@toiroakr/argent) because the bareargentname on npm belongs to an unrelated project. The installed command isargent.
# one-off, no install
npx @toiroakr/argent express
# or install the `argent` command globally
npm i -g @toiroakr/argent
argent express
# pin a version, check several at once
npx @toiroakr/argent [email protected] lodash @sindresorhus/is
# CI gate: non-zero exit when risk >= high
npx @toiroakr/argent chalk --fail-on high
# machine-readable
npx @toiroakr/argent express --json
# enable socket.dev (otherwise skipped)
SOCKET_API_KEY=sk_... npx @toiroakr/argent expressOptions: --json, --fail-on <low|medium|high|critical>,
--socket-key <token>, -h/--help.
Risk is normalized to a shared scale — low · medium · high · critical ·
unknown — and a package's overall level is the worst across the sources that
returned data. argent is a decision aid, not a guarantee: a clean report means
"no signal from these sources", not "safe".
There is also a browser-only form at https://toiroakr.github.io/argent/.
See the full README and source for how scores are derived and how the providers differ between the CLI and the web app.
License
MIT © toiroakr
