# Secret & Dependency Scanner

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

Secret & Dependency Scanner is a free AI agent skill on Agensi by Muhammad Okasha, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Muhammad Okasha](https://www.agensi.io/creators/okasha)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/secret-dependency-scanner
- Tags: security, code-review, sast-scanning, dependency-analysis, secrets

## 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 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 Secret & Dependency Scanner skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Secret & Dependency Scanner do?

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

### Which AI agents support Secret & Dependency Scanner?

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.

### How do I use Secret & Dependency Scanner?

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.

---

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.
