ThreatLens

    1

    Perform evidence-based static security audits for application code, cloud configs, and infrastructure manifests.

    $11.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    ThreatLens

    Example session with this skill installed

    Perform a security audit on this Node.js Express snippet and the associated Dockerfile to check for common web vulnerabilities and misconfigurations.

    • Read your context and instructions
    • Compiled the threatlens

    I have completed a static security audit of the provided Node.js and Docker configuration. The analysis identified three high-priority findings related to input handling and container permissions.

    Security Summary

    The audit detected potential SQL injection due to unsanitized input and a container running with elevated privileges. While authentication logic appears sound, the infrastructure layer requires hardening.

    Findings

    IDSeverityConfidenceAreaLocationFinding
    SEC-01HighHighInjectionapp.js:42Direct concatenation of req.query.id into SQL string.
    SEC-02MediumHighConfigDockerfile:4Container running as root user.
    SEC-03LowMediumHeadersapp.js:12Missing Content-Security-Policy and X-Frame-Options.

    Remediation

    SEC-01: SQL Injection
    Replace string concatenation with parameterized queries or an ORM.

    // Before
    const user = await db.query("SELECT * FROM users WHERE id = " + req.query.id);
    
    // After
    const user = await db.query("SELECT * FROM users WHERE id = $1", [req.query.id]);
    

    SEC-02: Root Container
    Add a non-privileged user to your Dockerfile to follow the principle of least privilege.

    RUN groupadd -r nodejs && useradd -r -g nodejs nodejs
    USER nodejs
    

    Verification Plan

    1. Attempt a manual Boolean-based SQL injection on the /user endpoint.
    2. Run docker inspect on the built image to verify the User field is not empty or root.
    3. Use a browser inspector to verify security headers are present in API responses.

    Next steps

    • Apply the parameterized query fix to all database interaction logic.
    • Update the Dockerfile to use a non-root user.
    • Add the helmet middleware to the Express app for automated header management.

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

    About this skill

    Manual security reviews are slow and prone to oversight. This skill automates the detection of critical vulnerabilities in your source code, configuration files, and infrastructure manifests using a structured, evidence-based approach.

    What it does

    • Vulnerability detection identifies SQL injection, XSS, CSRF, and path traversal risks.
    • Access control audit evaluates authentication and authorization logic for bypasses.
    • Secret scanning flags hardcoded credentials, API keys, and private tokens.
    • Config analysis reviews CORS policies, security headers, and debug settings.
    • Remediation mapping provides specific code fixes for every identified risk.

    How it works

    1. Analyze scope by scanning the provided repository, files, or snippets for attack surface.
    2. Identify flaws across specific categories like input handling and data exposure.
    3. Classify risks using severity and confidence levels based on code evidence.
    4. Generate report including a findings table and a structured verification plan.

    Frameworks & tools

    Works with any language or configuration format including JavaScript/TypeScript, Python, Go, Java, Dockerfiles, Kubernetes manifests, and Terraform HCL.

    Why this beats prompting it yourself

    Generic prompts often miss context-specific logic flaws or produce vague "hallucinated" vulnerabilities. This skill enforces a strict evidence-based methodology, requiring specific file locations and confidence scores to reduce noise and false positives.

    Use cases

    • Audit a Pull Request for security regressions before merging to main.
    • Review infrastructure-as-code files for overly permissive permissions.
    • Conduct a pre-deployment check on API authentication and rate-limiting logic.
    • Identify sensitive data leakage in logs or error handling routines.

    Known limitations

    Static analysis cannot identify runtime-only vulnerabilities or complex multi-step logic exploits. Findings marked with NEEDS VERIFICATION require manual review of execution context.

    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.

    Cannot perform dynamic testing or penetration testing. Requires source code or config files; cannot analyze compiled binaries without metadata.

    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 2 months ago

    Permissions

    No special permissions declared or detected

    Listed2 months ago

    What's inside

    Frequently Asked Questions

    ThreatLens is an automated security auditor designed to replace slow manual reviews by scanning application code and infrastructure manifests for vulnerabilities like SQL injection, hardcoded secrets, and misconfigured access controls.

    The skill is language-agnostic and works with all major programming languages (Python, JavaScript, Go, Java) as well as infrastructure-as-code formats like Terraform HCL, Kubernetes manifests, and Dockerfiles.

    Unlike generic prompts, ThreatLens uses a structured evidence-based methodology that requires specific code locations and confidence scores, significantly reducing false positives and "hallucinated" vulnerabilities.

    Setup is instantaneous; once you add the skill to your AI agent, you can begin auditing immediately by providing repository links, file paths, or specific code snippets for analysis.

    Every purchase includes the core ThreatLens logic, the remediation mapping engine, and access to all future updates as new vulnerability patterns and security standards are added to the tool.

    ThreatLens performs static analysis, meaning it cannot detect runtime-only exploits or complex logic flaws that occur during execution; findings labeled 'Needs Verification' should always be manually reviewed.

    New in Security