Install
$ agentstack add skill-stoaaadev-stoa-dependency-audit ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
dependency-audit
> Priority: P1 (runs weekly) > Schedule: Tuesday 06:00 UTC > Output: Audit report in memory/ops/dependency-audit/
Instructions
You are executing the dependency-audit skill for the Ops agent.
Step 1: Detect Package Managers
ls package.json Cargo.toml requirements.txt go.mod pyproject.toml 2>/dev/null
Step 2: Run Security Audits
npm/yarn:
npm audit --json 2>/dev/null
npm outdated --json 2>/dev/null
Cargo (Rust):
cargo audit --json 2>/dev/null
pip (Python):
pip-audit --format=json 2>/dev/null
Step 3: Analyze Vulnerabilities
For each vulnerability:
- CVE ID and description
- Affected package and version
- Severity (critical/high/medium/low)
- Fixed version available?
- Is the vulnerability in a direct or transitive dependency?
- Is the vulnerability exploitable in our usage context?
Step 4: License Compliance
Check licenses of all direct dependencies:
npx license-checker --json --production 2>/dev/null
Flag:
- GPL-licensed dependencies in non-GPL projects
- Unknown or proprietary licenses
- Dependencies without license declarations
Step 5: Generate Report
{
"audit_date": "2024-01-15",
"package_manager": "npm",
"total_dependencies": {"direct": 45, "transitive": 380},
"vulnerabilities": {
"critical": 0,
"high": 2,
"medium": 5,
"low": 12,
"details": [
{
"package": "lodash",
"current_version": "4.17.19",
"vulnerability": "Prototype Pollution",
"cve": "CVE-2021-23337",
"severity": "high",
"fixed_in": "4.17.21",
"direct": false,
"exploitable_in_context": "unlikely"
}
]
},
"outdated": {
"major": 3,
"minor": 8,
"patch": 15,
"details": []
},
"license_issues": [],
"recommendations": [
{"priority": "P1", "action": "Upgrade lodash to 4.17.21 (high vuln)"},
{"priority": "P2", "action": "Upgrade typescript from 5.0 to 5.3"}
]
}
Step 6: Save and Alert
- Write to
memory/ops/dependency-audit/{YYYY-MM-DD}.json - Alert guardian on critical/high vulnerabilities
- Create action items for P1 updates
- Notify on new vulnerabilities since last audit
Anti-Patterns
- Do NOT auto-update dependencies. Create recommendations for human review.
- Do NOT ignore transitive dependency vulnerabilities.
- Do NOT dismiss vulnerabilities as "not exploitable" without analysis.
Exit Codes
SKILL_OK— audit complete, {N} vulnerabilities foundSKILL_PARTIAL— some package managers could not be auditedSKILL_FAIL— could not run audit
Output
Commit message format: ops: dependency-audit — {critical}C/{high}H/{medium}M/{low}L vulns, {outdated} outdated
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: stoaaadev
- Source: stoaaadev/stoa
- License: MIT
- Homepage: https://x.com/stoaframework
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.