Dependency & Secrets Audit

    by Mr Vempire

    1

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

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    DependencyVersionHealth ScoreStatusLicense
    requests2.25.15/8Minor Update AvailableApache 2.0
    flask1.1.24/8Multiple CVEs FoundBSD-3-Clause
    boto31.17.06/8Patch AvailableApache 2.0
    pyyaml5.3.13/8Replace/Remove - Critical CVEMIT

    Secret Scan Findings

    • AWS Access Key: Found in .env at line 4. (Status: Confirmed Leak)
    • Generic API Token: Found in config/dev.py at 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 .env to .gitignore. Run git-filter-repo to scrub history.
    • Rollback: N/A (Rotation is mandatory).
    Phase 1: Patch Updates (Low Risk)
    • Action: Update boto3 from 1.17.0 to 1.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 requests to 2.31.0 and flask to 2.0.1.
    • Test: Full regression suite execution.
    • Rollback: Revert requirements.txt and rebuild virtualenv.
    Phase 3: Major Updates & Removals (High Risk)
    • Action: Replace pyyaml with ruamel.yaml or update to 6.0.1 to fix arbitrary code execution vulnerability.
    • Test: Verify YAML parsing in CI/CD pipeline configs.
    • Rollback: Restore previous branch state.

    Next steps

    1. Rotate the AWS secret identified in Phase 0 immediately.
    2. Apply Phase 1 patch updates and run the test suite.
    3. Schedule a manual review for the pyyaml replacement 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.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.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Creator

    Mr Vempire

    Mr Vempire

    32 skills on Agensi

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.