Secret & Dependency Scanner
Scan codebases for hard-coded secrets, vulnerable dependencies, and risky patterns with automated fix proposals.
Free
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 ID | Type | Severity | Component | Description | Remediation |
|---|---|---|---|---|---|
| SDS-001 | Secret | Critical | .env.example | High-entropy string found in STRIPE_KEY | Remove value and rotate the key immediately. |
| SDS-002 | Dependency | High | package.json | axios version uses a wildcard range (^0.21.1) | Pin to a specific patched version (e.g., 1.6.0). |
| SDS-003 | Pattern | Medium | db/client.js | Potential string-concatenation in SQL query | Implement parameterized queries for all user input. |
| SDS-004 | Secret | High | config/auth.py | Hard-coded JWT_SECRET found on line 12 | Move 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.jsonandpackage-lock.jsonto fixed versions.
Next steps
- Review the proposed diffs for
package.jsonto pin dependencies. - Confirm the rotation of the redacted Stripe key found in
.env.example. - Run
git filter-repoor similar if these secrets were previously committed to history.
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
- Scans project files and manifests to build an inventory of candidate secrets and dependencies.
- Classifies every finding by severity and creates a stable fingerprint for tracking.
- Proposes concrete remediations as unified diffs for human review and approval.
- 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
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 15 days ago
- Free with an Agensi account
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.