Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Anti-REA Shield — Stop AI Reverse Engineering of Your App

    1

    Audit and harden applications against AI-assisted reverse engineering by migrating logic and implementing behavioral defense.

    Free

    Security scanned
    Anti-REA Shield — Stop AI Reverse Engineering of Your App

    Anti-REA Shield — Stop AI Reverse Engineering of Your App

    Example session with this skill installed

    Run an REA audit on the current build artifacts in ./dist and propose a hardening plan for the pricing-engine.js logic found there.

    • Read your context and instructions
    • Compiled the anti-rea shield

    I have completed the REA exposure audit for the artifacts in ./dist. The audit identified critical business logic exposed in the client bundle that allows for TRIVIAL reproduction of your proprietary pricing model.

    REA audit: pricing-app (2024-05-22)

    FindingLocationVerdictCost-to-extract
    Tiered discount logicdist/main.js:1402EXPOSEDTRIVIAL
    API Key (Mapbox)dist/vendor.js:89EXPOSEDTRIVIAL
    Risk score weightsdist/pricing-engine.js:42EXPOSEDTRIVIAL

    Extraction plan (Module 2)

    FunctionTargetContractEffortKill-switch flag
    calculateDiscountCloudflare WorkerPOST /api/v1/pricing/discountSFEATURE_REMOTE_PRICING
    getRiskWeightsAWS LambdaPOST /api/v1/risk/weightsMFEATURE_REMOTE_RISK

    Hardening (Module 3)

    TierActionPerf impact (measured)
    Tier 1Strip source maps and minify0ms
    Tier 2Move validateInput to WASM (AssemblyScript)+1.2ms (Accepted)

    Detection & response (Module 4)

    Signal observedStage appliedLog entry (why)
    Uniform request cadenceStage 2: THROTTLEInter-arrival variance < 5ms over 50 requests
    Honeypot endpoint hitStage 5: BANAccess to /api/v1/internal/debug-values

    Residual risk

    The input validation logic remains in the client via WASM to maintain sub-millisecond UI feedback. While WASM increases extraction cost to MODERATE, a determined attacker can still decompile the .wat file to understand validation constraints. This is acceptable as the core pricing formula has been moved to the server.

    Next steps

    1. Move the calculateDiscount function to the provided Cloudflare Worker stub.
    2. Remove *.map files from the production build pipeline.
    3. Implement the Stage 2 throttle in your Nginx configuration.

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

    About this skill

    Protecting intellectual property from AI-driven cloning requires more than simple obfuscation. This skill addresses the reality that any code running on an attacker's hardware is eventually readable. It stops treating client-side security as a binary state and instead focuses on elevating the cost of extraction until cloning becomes uneconomical. The tool performs a four-module audit of shipped artifacts to identify business logic, secrets, and algorithms exposed in bundles, binaries, or API responses.

    What it does

    • Exposure auditing scans build artifacts (dist, build, .next, mobile DEX) for exposed business logic and credentials with specific file-and-line evidence.
    • Extraction planning generates server-side migration strategies for high-value functions, including API contract stubs and offline fallback logic.
    • Client hardening applies tiered protection including WebAssembly compilation and control-flow flattening for logic that must remain local.
    • Behavioral detection builds server-side response ladders to identify automated extraction patterns without invasive client-side monitoring.

    How it works

    1. Audit phase scans production bundles for domain keywords, exposed secrets, and source maps to rank findings by cost-to-extract.
    2. Migration phase maps exposed functions to edge or backend targets with defined API contracts and effort estimates.
    3. Hardening phase implements Tier 1-3 protections for local IP hot-paths while measuring performance impact to prevent regressions.
    4. Response phase configures a server-side ladder (Log, Throttle, Challenge, Cooldown) based on behavioral signals like uniform request cadence.

    Frameworks & tools

    Works with any stack producing client-side artifacts including React/Next.js, Electron, AssemblyScript, Rust (WASM), and mobile (Android/iOS). Uses standard CLI tools like strings, asar, and jadx for artifact inspection.

    Why this beats prompting it yourself

    Generic prompts often suggest brittle, easily-bypassed "anti-debugging" tricks or invasive client scanning. This skill enforces a "evidence-first" rule requiring specific extraction scenarios and prioritizes moving value to the server, which is the only provable way to prevent cloning.

    Use cases

    • Auditing a SaaS frontend before a public launch to ensure pricing and risk logic are not exposed in JS bundles.
    • Hardening desktop or mobile apps against AI-assisted decompilation of core proprietary algorithms.
    • Designing API rate-limiting and poisoning strategies to stop competitors from scraping internal model outputs.
    • Identifying and removing leaked environment variables or internal source maps from production environments.

    Known limitations

    Does not support hardware-level enclaves or homomorphic encryption. Cannot protect code once it is decrypted in RAM for execution. Requires read access to build artifacts and source code.

    Cannot guarantee 100% immunity. Detection is behavioral and server-side only. Does not support TEE/SGX or homomorphic encryption. Requires manual performance benchmarking for Tier 2+ hardening.

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 19 days ago

    • Free with an Agensi account

    Permissions

    Write Files
    Network Access
    Environment Variables
    Read Files
    Terminal / Shell
    Listed19 days ago

    What's inside

    Frequently Asked Questions

    Anti REA Shield focuses on elevating the 'cost of extraction' by migrating critical logic to the server and hardening remaining client-side code, rather than relying on easily bypassed obfuscation tricks.

    The skill is compatible with any AI agent or CLI-based workflow that has access to your build artifacts, supporting web (React, Next.js), mobile (Android, iOS), and desktop (Electron) environments.

    You receive the full auditing engine, migration planning templates, hardening configurations (WASM/Control-flow), and the server-side behavioral response logic.

    No, the skill analyzes production-ready bundles and binaries using standard inspection tools; while it provides migration strategies, it does not require you to rewrite your entire codebase from scratch.

    The skill uses a tiered protection approach, allowing you to apply heavy hardening only to 'hot-path' IP functions to ensure minimal impact on the overall user experience and application speed.

    New in Security