Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 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

    Money-back guarantee

    Converts to your local currency at checkout

    Security 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

    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.

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

    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.

    Does not perform live penetration testing or destructive exploits. High-impact analysis requires providing complete code context or component logic. Focuses on authorized defensive research only.

    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 any payment.

    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 1 month ago

    Permissions

    No special permissions declared or detected

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill is designed to work with advanced LLMs (such as GPT-4 or Claude 3.5 Sonnet) within your preferred AI agent platform or development environment that supports custom system prompts and instructions.

    The Auditor focuses on evidence-driven analysis, meaning it doesn't just flag code snippets; it maps findings to specific security patterns, identifies missing evidence needed for confirmation, and provides remediation steps for local validation.

    Yes, the skill is highly specialized for Web3, covering critical areas like reentrancy-sensitive operations, oracle price-dependency assumptions, and smart-contract accounting logic.

    Upon purchase, you receive the specialized security audit instruction set (the "skill"), documentation on how to integrate it into your workflow, and a guide for interpreting its evidence-driven findings.

    This skill is designed for authorized security professionals and developers; it focuses on defensive verification and remediation in controlled environments rather than generating exploits or automating malicious activity.

    New in Web3 & Crypto