# Dependency & Secrets Audit

> Audit dependencies for vulnerabilities and licenses while identifying leaked secrets with a phased remediation plan.

Dependency & Secrets Audit is a paid AI agent skill on Agensi by Mr Vempire, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Mr Vempire](https://www.agensi.io/creators/mr-vempire)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dependency-secrets-audit
- Tags: security, python, dependency-management, audit

## 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.md` that prioritizes secret rotation and separates patch, minor, and major updates.

### How it works
1. Run the inventory command to find all manifest files and identify unpinned or unused packages.
2. Execute the secrets scanner on the working tree and git history to identify compromised credentials.
3. Perform a live vulnerability and license check using ecosystem-specific tools.
4. 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.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Dependency & Secrets Audit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from running a standard security scan or a generic AI prompt?

This skill provides a structured 0-8 point health score and a phased 'upgrade-plan.md' that separates patches from major updates, ensuring you can remediate risks systematically without breaking production builds.

### Which programming languages and package managers are compatible with the audit?

It currently supports Python (pip), JavaScript/Node.js (npm), Go (go.mod), Ruby (Gemfile), and PHP (composer), making it ideal for polyglot repositories and modern web stacks.

### Can this skill detect secrets that were previously committed to my project's history?

While the scanner is optimized for the current working tree, it can identify hardcoded credentials and high-entropy strings across your entire active codebase to prevent leaks before they reach production.

### What specific assets are included in the purchase of this skill?

You will receive the complete AI agent skill definition, including the logic for dependency mapping, secret detection scripts, and the multi-axis scoring framework ready for immediate deployment.

### Does the audit require an active internet connection to function?

Yes, the vulnerability audit requires network access to communicate with live CVE databases like the OSV API and ecosystem-specific security tools to ensure results are based on the latest threat intelligence.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
