Dependency & Secrets Audit
by Mr Vempire
Audit dependencies for vulnerabilities and licenses while identifying leaked secrets with a phased remediation plan.
$7
Dependency & Secrets Audit
Example session with this skill installed
Audit the current directory for dependency vulnerabilities and leaked secrets. We are using Python with a requirements.txt and have a few .env files lying around.
- Read your context and instructions
- Compiled the dependency & secrets
I have completed the dependency and secrets audit for the current directory. The scan identified one exposed credential and 12 outdated packages.
Audit Report & Phased Upgrade Plan
| Dependency | Version | Health Score | Status | License |
|---|---|---|---|---|
requests | 2.25.1 | 5/8 | Minor Update Available | Apache 2.0 |
flask | 1.1.2 | 4/8 | Multiple CVEs Found | BSD-3-Clause |
boto3 | 1.17.0 | 6/8 | Patch Available | Apache 2.0 |
pyyaml | 5.3.1 | 3/8 | Replace/Remove - Critical CVE | MIT |
Secret Scan Findings
- AWS Access Key: Found in
.envat line 4. (Status: Confirmed Leak) - Generic API Token: Found in
config/dev.pyat line 12. (Status: Verified False Positive - Documentation Example)
Phased Upgrade Plan (upgrade-plan.md)
Phase 0: Secrets (Immediate)
- Action: Revoke AWS Access Key found in
.env. Rotate credentials in AWS Console. - Cleanup: Add
.envto.gitignore. Rungit-filter-repoto scrub history. - Rollback: N/A (Rotation is mandatory).
Phase 1: Patch Updates (Low Risk)
- Action: Update
boto3from1.17.0to1.17.112. - Test: Run
pytest tests/integration/s3_utility.py. - Rollback:
pip install boto3==1.17.0
Phase 2: Minor & Security Updates (Moderate Risk)
- Action: Update
requeststo2.31.0andflaskto2.0.1. - Test: Full regression suite execution.
- Rollback: Revert
requirements.txtand rebuild virtualenv.
Phase 3: Major Updates & Removals (High Risk)
- Action: Replace
pyyamlwithruamel.yamlor update to6.0.1to fix arbitrary code execution vulnerability. - Test: Verify YAML parsing in CI/CD pipeline configs.
- Rollback: Restore previous branch state.
Next steps
- Rotate the AWS secret identified in Phase 0 immediately.
- Apply Phase 1 patch updates and run the test suite.
- Schedule a manual review for the
pyyamlreplacement in Phase 3.
Connects securely to your tools. The creator never sees your data.
About this skill
Codebases often harbor hidden risks, from leaked AWS keys in git history to unpinned dependencies that invite supply chain attacks. This skill provides a systematic audit of your project's dependency health and secret exposure, delivering a structured, low-risk remediation strategy rather than just a list of warnings.
What it does
- Inventory manifests scans for
package.json,requirements.txt,go.mod, and other ecosystem files to map the dependency graph. - Scan for secrets uses a dedicated script to identify high-entropy strings, tokens, and private keys while filtering for false positives.
- Audit vulnerabilities runs live checks against CVE databases like
pip-audit,npm audit, or OSV to identify known exploits. - Analyze licenses catalogs every dependency license to flag copyleft risks or missing legal declarations.
- Score health applies a multi-axis 0-8 point system to grade dependencies based on maintenance, pinning, and security status.
- Phase upgrades generates a multi-step
upgrade-plan.mdthat prioritizes secret rotation and separates patch, minor, and major updates.
How it works
- Run the inventory command to find all manifest files and identify unpinned or unused packages.
- Execute the secrets scanner on the working tree and git history to identify compromised credentials.
- Perform a live vulnerability and license check using ecosystem-specific tools.
- Review the generated health scores and phased upgrade plan to begin systematic remediation.
Frameworks & tools
The skill supports Python, JavaScript/Node.js, Ruby, Go, and PHP. It utilizes pip-audit, npm audit, license-checker, and the OSV API, alongside a custom Python scanning script for secret detection.
Why this beats prompting it yourself
Generic prompts often output a dangerous "update everything" suggestion that breaks production builds. This skill enforces a phased, testable approach with specific rollback steps and a formal scoring rubric that ensures no dependency is overlooked.
Use cases
- Auditing a repository before moving it from private to public status.
- Performing due diligence during a project handover or security review.
- Identifying and removing "ghost" dependencies that are declared but never imported.
- Transitioning a project from unpinned version ranges to a stable lockfile baseline.
Known limitations
Live CVE checks require network access to vulnerability databases. The secrets scanner focuses on the working tree; deep history scans require external tools like gitleaks or trufflehog.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.