Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Bounty Security Pattern Auditor

    2

    A pattern-based security auditor for code and smart contracts that identifies risks and provides remediation reports.

    $19.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Bounty Security Pattern Auditor

    Bounty Security Pattern Auditor

    Example session with this skill installed

    Analyze the following smart-contract withdrawal and accounting logic for security weaknesses.

    Review the supplied code for

    • Access-control issues
    • Accounting inconsistencies
    • Unsafe state transitions
    • Reentrancy-sensitive interactions
    • Precision or rounding problems
    • External-call risks
    • Other relevant security patterns

    For each potential finding, provide the affected function, evidence from the code, severity, confidence, security impact, missing evidence, safe validation approach, remediation, and a regression-test recommendation.

    Do not assume a vulnerability is confirmed unless the supplied code provides sufficient evidence.

    • Read your context and instructions
    • Compiled the bounty security pattern
    • Generated the document

    Security Review Summary

    The supplied contract logic was reviewed for access control, accounting integrity, state transitions, external interactions, and common smart-contract security patterns.

    Overall Assessment

    Findings Identified: 3 potential issues

    Highest Severity: High

    Review Confidence: Medium

    The findings below should be validated against the complete contract, inherited contracts, token behavior, and deployment configuration before being treated as confirmed vulnerabilities.


    Finding 1: Withdrawal Accounting May Become Inconsistent

    Severity: High

    Confidence: Medium

    Pattern: Accounting / State Consistency

    Location: Withdrawal flow

    Evidence

    The withdrawal path updates multiple accounting values across the transaction. The security concern is whether every state variable remains synchronized across successful and reverted execution paths.

    Why It Matters

    If internal accounting can diverge from the actual asset balance, users or the protocol may experience incorrect balances, blocked withdrawals, or unintended asset exposure.

    Missing Evidence

    • Complete contract implementation
    • Related deposit logic
    • Token transfer behavior
    • Relevant invariants

    Safe Validation

    Create local unit tests covering

    • Normal deposit followed by withdrawal
    • Multiple deposits and withdrawals
    • Partial withdrawals
    • Failed transfers
    • Reverted transactions

    Verify that internal accounting remains consistent with actual balances.

    Remediation

    Define explicit accounting invariants and update related state variables in a consistent transaction flow.

    Regression Test

    After remediation, assert that total recorded balances remain consistent with the contract's expected asset state after every supported deposit and withdrawal scenario.


    Finding 2: External Interaction Requires Reentrancy Review

    Severity: Medium

    Confidence: Medium

    Pattern: External Call / Interaction Ordering

    Location: Asset-transfer portion of withdrawal flow

    Evidence

    The withdrawal process interacts with an external token or contract.

    Why It Matters

    External calls can introduce execution behavior outside the immediate function's control.

    Safe Validation

    Use a local test environment with a controlled mock contract to verify state consistency around external interactions.

    Remediation

    Follow a consistent checks-effects-interactions design and use appropriate reentrancy protections where the contract's architecture requires them.


    Finding 3: Access-Control Assumptions Need Verification

    Severity: Medium

    Confidence: Low

    Pattern: Authorization

    Location: Administrative or privileged operation

    Evidence

    The supplied excerpt does not contain enough context to establish whether every privileged operation is protected by the intended authorization mechanism.

    Why It Matters

    Incorrect authorization can allow unintended users or contracts to perform privileged operations.

    Missing Evidence

    • Complete access-control implementation
    • Role definitions
    • Deployment configuration
    • Ownership initialization

    Safe Validation

    Add local authorization tests verifying that:

    • Authorized callers can perform the operation.
    • Unauthorized callers are rejected.
    • Role changes behave as intended.

    Remediation

    Centralize privileged-operation checks and explicitly test every privileged entry point.


    Findings Matrix

    IDSeverityConfidenceCategoryComponentStatus
    SEC-001HighMediumAccountingWithdrawalNeeds validation
    SEC-002MediumMediumExternal interactionWithdrawalNeeds validation
    SEC-003MediumLowAuthorizationAdmin operationNeeds validation

    Priority Remediation Plan

    Priority 1

    Verify withdrawal accounting invariants using local tests and complete contract context.

    Priority 2

    Review all external interactions and state-update ordering.

    Priority 3

    Audit every privileged entry point and add authorization regression tests.

    Coverage Notes

    This assessment is based only on the supplied code context. Complete contract files, inherited contracts, deployment configuration, and dependent token implementations may be required before confirming the findings.

    bounty-security-pattern-auditor.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    What you get

    Perform security audits on smart contracts before mainnet deployment.Triage bug bounty reports by mapping code to known weakness patterns.Generate remediation plans with specific code fixes and regression tests.Identify business logic flaws in authentication and authorization flows.

    About this skill

    Bounty Security Pattern Auditor is a defensive security review skill for analyzing application code, smart contracts, APIs, and business logic against structured vulnerability patterns. It helps security researchers, developers, auditors, and bug-bounty teams identify suspicious security patterns, understand their potential impact, prioritize findings, and create clear remediation plans. The skill focuses on evidence-driven analysis rather than simply flagging every pattern match as a vulnerability. ## What It Does - Analyzes application and smart-contract code - Maps suspicious behavior to relevant security weakness categories - Identifies access-control and authorization issues - Reviews authentication and input-validation risks - Detects potential injection and business-logic weaknesses - Reviews cryptographic and sensitive-data handling - Analyzes smart-contract accounting and state-management logic - Reviews reentrancy-sensitive interaction patterns - Checks oracle and price-dependency assumptions - Reviews signature and replay-protection logic - Identifies initialization and upgradeability risks - Prioritizes findings by severity and confidence - Explains supporting evidence - Identifies missing evidence needed for confirmation - Provides remediation recommendations - Suggests defensive regression tests - Produces structured security audit reports ## Finding Structure Every potential issue is analyzed using: - Finding title - Severity - Confidence - Security pattern - Affected component - Evidence - Security impact - Attack prerequisites - Safe validation direction - Remediation - Regression-test recommendation ## Smart-Contract Analysis The skill can review areas such as: - Deposit and withdrawal flows - Balance and accounting logic - State transitions - Access control - Initialization - Upgrade authorization - External calls - Reentrancy-sensitive operations - Oracle dependencies - Signature validation - Replay protection - Precision and rounding - Token compatibility assumptions ## Best For - Security researchers - Bug-bounty researchers - Smart-contract developers - Web3 security teams - Application security engineers - Developers - Code-review teams - Security auditors - DevSecOps teams ## Evidence-Driven Analysis A pattern match does not automatically mean a confirmed vulnerability. The skill distinguishes between: 1. Observed behavior 2. Security hypothesis 3. Confirmed issue 4. Recommended remediation It does not fabricate vulnerabilities, CVEs, CWEs, metrics, or exploitability. ## Defensive Focus The skill is designed for authorized security testing and remediation. Validation guidance is focused on controlled environments, unit tests, local reproductions, and defensive verification. It does not guarantee a successful bug-bounty submission, security outcome, or vulnerability discovery.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 9 days ago

    • Passed all security checks, Safe to install

    Listed9 days ago

    What's inside

    Frequently Asked Questions