Audit a dependency manifest
Short answer: Before installing dependencies from a package.json, requirements.txt, or Cargo.toml you did not write, run airgap_audit_supply. It runs 100% locally on your machine, requires zero cloud credentials, makes zero network calls, and flags lifecycle install scripts, explicit build scripts, and alternate dependency sources.
use airgap to audit this package.json before we installcheck this Cargo.toml and requirements.txt with airgap_audit_supplyWhat the local audit inspects
| Manifest type | File | High-risk patterns flagged |
|---|---|---|
npm | package.json | preinstall, install, postinstall, prepare lifecycle hooks; git+, http/https tarball, and file: dependency URLs |
python | requirements.txt | VCS git+ URLs, direct remote archive URLs, editable installs, and suspicious index/extra-index overrides |
cargo | Cargo.toml | Explicit build.rs build scripts, git and path dependency overrides, and custom registry sources |
Direct MCP tool call
{
"tool": "airgap_audit_supply",
"arguments": {
"manifest_type": "npm",
"manifest_content": "{\n \"name\": \"sample\",\n \"scripts\": { \"postinstall\": \"node setup.js\" }\n}"
}
}How it integrates with PR verification
You do not need to call airgap_audit_supply manually when verifying a GitHub pull request — airgap_verify_pr runs it automatically on changed manifests with fail_on_supply_risk: true and allow_install_scripts: false by default.
Honest scope: airgap_audit_supply is a fast static heuristic on the manifest text you pass in. It does not download packages, inspect transitive dependencies inside lockfiles, or query CVE advisory databases. Combine it with sandboxed installs inside airgap_sandbox_run and read Blocking malicious install scripts for the full defense model.