Secret & Dependency Scanner

    by Muhammad Okasha

    1

    Scan codebases for hard-coded secrets, vulnerable dependencies, and risky patterns with automated fix proposals.

    Free

    Security scanned

    Works with the AI Agents you already use

    Secret & Dependency Scanner

    Example session with this skill installed

    Scan the current directory for secrets and unpinned dependencies. Redact any findings and give me a report.

    • Read your context and instructions
    • Compiled the secret & dependency

    I have completed the security scan of the repository. I analyzed 14 source files and 2 dependency manifests.

    Security Scan Report

    Finding IDTypeSeverityComponentDescriptionRemediation
    SDS-001SecretCritical.env.exampleHigh-entropy string found in STRIPE_KEYRemove value and rotate the key immediately.
    SDS-002DependencyHighpackage.jsonaxios version uses a wildcard range (^0.21.1)Pin to a specific patched version (e.g., 1.6.0).
    SDS-003PatternMediumdb/client.jsPotential string-concatenation in SQL queryImplement parameterized queries for all user input.
    SDS-004SecretHighconfig/auth.pyHard-coded JWT_SECRET found on line 12Move secret to environment variables or vault.

    Critical & High Remediation Notes

    • SDS-001: A live-looking credential was found in a sample file. This value must be revoked at the provider.
    • SDS-002: Unpinned dependencies allow breaking changes or malicious updates to enter the build. Update package.json and package-lock.json to fixed versions.

    Next steps

    1. Review the proposed diffs for package.json to pin dependencies.
    2. Confirm the rotation of the redacted Stripe key found in .env.example.
    3. Run git filter-repo or similar if these secrets were previously committed to history.
    package.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Hard-coded credentials and vulnerable dependencies are time bombs in your codebase. This skill performs a deep static analysis to find secrets, unpinned packages, and injection flaws before they reach production.

    What it does

    • Secret detection identifies API keys, tokens, and high-entropy strings across source and config files.
    • Dependency auditing flags unpinned versions, abandoned packages, and risky lifecycle scripts in manifests.
    • Pattern matching locates injection vulnerabilities, weak cryptography, and unsafe data handling.
    • Automatic redaction replaces every discovered secret with a placeholder to keep sensitive data out of logs.
    • Remediation planning generates specific fixes for every finding, from version pinning to code refactoring.
    • Verification scanning re-checks the codebase after fixes are applied to confirm the risks are resolved.

    How it works

    1. Scans project files and manifests to build an inventory of candidate secrets and dependencies.
    2. Classifies every finding by severity and creates a stable fingerprint for tracking.
    3. Proposes concrete remediations as unified diffs for human review and approval.
    4. Generates a final Markdown report summarizing the security posture and remaining risks.

    Frameworks & tools

    This skill works with any text-based codebase. It reads standard manifest files like package.json, requirements.txt, or Gemfile.lock and analyzes source code across all major programming languages.

    Why this beats prompting it yourself

    Generic prompts often miss high-entropy strings or fail to redact live credentials before sending data to an LLM. This skill enforces a strict security mandate, ensuring secrets are masked locally and every fix is verified through a structured re-check process.

    Use cases

    • Auditing a legacy repository for forgotten credentials before making it public.
    • Scanning pull requests for risky dependencies or unpinned version ranges.
    • Identifying SQL injection or unsafe deserialization patterns in new features.
    • Generating a compliance-ready security report for stakeholders.

    Known limitations

    Static analysis only. It does not execute code, test live credentials, rotate keys, or purge git history. High-entropy detection may flag hashes or encoded assets as false positives.

    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

    Free to use

    No account required to browse

    Frequently Asked Questions

    Scan codebases for hard-coded secrets, vulnerable dependencies, and risky patterns with automated fix proposals.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Secret & Dependency Scanner on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    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.

    Free