@swek09/depsentry
v0.2.3
Published
DepSentry CLI (prebuilt binaries)
Maintainers
Readme
DepSentry CLI (npm)
DepSentry is a fast Rust CLI for proactive supply-chain security. This npm package is a thin wrapper that downloads the prebuilt DepSentry binary for your platform and exposes the depsentry command.
Quick start
npm install -g @swek09/depsentry
depsentry check axiosYou can also run it without a global install:
npx @swek09/depsentry check axiosWhat it does
- Downloads packages to a temporary sandbox (no execution)
- Runs static heuristics (entropy, suspicious scripts, network indicators)
- Optionally queries OSV for known vulnerabilities
Supported platforms
- Windows x64
- Linux x64
Other platforms are not bundled yet. Use GitHub Releases for manual download.
Commands and examples
Check a single package:
depsentry check axios
depsentry check requests --type pypi --version 2.31.0
depsentry check serde --type cargo --version 1.0.197
depsentry check org.slf4j:slf4j-api --type java --version 1.7.36Scan a manifest:
depsentry scan --path ./package.json
depsentry scan --path ./requirements.txt
depsentry scan --path ./Cargo.lock
depsentry scan --path ./pom.xml
depsentry scan --path ./build.gradleFirewall mode (daemon, stage 0):
depsentry firewall start
depsentry firewall add /path/to/project
depsentry firewall status my-projectNotes
depsentry checkexits with code 1 if score < 50.- This npm package downloads binaries from GitHub Releases during install.
Links
- Homepage: https://depsentry.com/
- Repo: https://github.com/Swek09/DepSentry
- Releases: https://github.com/Swek09/DepSentry/releases
