PR Security Review: Ranked Fix List Before Merge

    1

    Automated security auditor that finds secrets, injection vulnerabilities, and auth gaps in pull requests.

    $19

    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

    PR Security Review: Ranked Fix List Before Merge

    Example session with this skill installed

    Review the security of my recent changes compared to the main branch. I've added a new user search endpoint and updated some dependencies.

    • Read your context and instructions
    • Compiled the pr security review

    I have completed a security audit of the diff between main and the current branch. I checked for SQL injection, hardcoded secrets, and dependency vulnerabilities.

    Security Review Report

    Verdict: FIX BEFORE MERGE

    [High] app/routes/users.py:28 SQL built with an f-string from request.args.get('q')
    Risk: Attacker can perform SQL injection to bypass filters or extract unauthorized user data.
    Fix: Use a parameterized query: cursor.execute("SELECT * FROM users WHERE username = %s", (search_term,))

    [Medium] requirements.txt:12 django-rest-framework bumped to 3.12.0
    Risk: This version has a known moderate vulnerability (CVE-2021-XXXXX) related to malformed input handling.
    Fix: Update to version 3.12.4 or higher where the patch is applied.

    [Low] config/settings.py:104 DEBUG set to True
    Risk: Detailed error pages may leak internal file paths or environment variables in a production-like environment.
    Fix: Ensure this flag is toggled via environment variables and defaults to False.

    Next steps

    1. Refactor the search query in app/routes/users.py to use parameters.
    2. Update the requirements.txt to a patched version of the library.
    3. Verify that the DEBUG flag is correctly handled in your CI/CD environment variables.

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

    About this skill

    Manual security reviews often miss subtle injection paths or leaked secrets in a fast-moving PR queue. This skill audits code diffs to find exploitable vulnerabilities before they reach production.

    What it does

    • Secrets detection identifies hardcoded tokens, keys, and credentials, ensuring they are masked in reports.
    • Injection analysis traces user input to SQL queries, shell commands, and file paths to find unsanitized data sinks.
    • Auth validation checks that new routes or handlers enforce identity and permission checks.
    • Dependency auditing scans lockfiles for packages with known security advisories using ecosystem-native tools.
    • Risk ranking categorizes findings from Critical to Low based on exploitability and preconditions.

    How it works

    1. Analyze diffs by comparing the current branch against the base branch to isolate new changes.
    2. Scan patterns using internal scripts to flag candidate lines for unsafe deserialization, weak hashes, or permissive CORS.
    3. Verify leads by reading surrounding file context to filter out false positives in comments or test fixtures.
    4. Rank findings into a structured report with clear fix instructions and a merge verdict.

    Frameworks & tools

    This skill utilizes git, python, and ecosystem auditors like npm audit, pip-audit, or cargo audit. It works across any stack where code changes can be represented as a diff.

    Why this beats prompting it yourself

    Generic prompts often hallucinate security flaws or miss deep context like data exposure in logs. This skill follows a rigorous multi-step verification process, combining pattern scanning with manual trace logic to ensure findings are actionable and accurate.

    Use cases

    • Reviewing new API endpoints for authorization gaps and input validation.
    • Scanning PRs for accidental commits of API keys or service account credentials.
    • Auditing configuration changes for risky IAM rules or disabled TLS verification.
    • Checking dependency updates for known vulnerabilities during the upgrade process.

    Known limitations

    Does not remove secrets from git history automatically. Findings in test fixtures or comments are ignored. Requires the presence of scripts/scan.py for the initial pattern scan.

    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.

    Does not automatically scrub secrets from git history. Requires scripts/scan.py to be present. Skips files marked as test fixtures.

    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 today

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill specializes in detecting hardcoded secrets, SQL/Command injection paths, authorization gaps in new routes, and vulnerable dependencies in lockfiles. It specifically addresses the risk of shipping exploitable code during fast-paced development cycles.

    Yes, it is language-agnostic. It analyzes code diffs using pattern-matching and context verification, supporting tools like npm-audit and pip-audit to handle various tech stacks.

    The skill uses a multi-step verification process that reads surrounding file context to distinguish between actual logic and safe areas like comments or test fixtures, significantly reducing false alerts.

    The skill requires access to `git` to analyze branch diffs and the inclusion of a specialized `scripts/scan.py` file to execute the initial pattern-matching scan.

    While it identifies and masks leaked credentials in its report to prevent further exposure, it does not automatically rewrite your git history; manual rotation and history cleaning are still required.

    Findings are categorized from 'Critical' to 'Low' based on exploitability. Each report includes a clear merge verdict and step-by-step instructions on how to remediate the identified risks.

    New in Security