Works with the AI Agents you already use

    Cross Chain Messaging Review

    by BanditXBT

    1

    Audit bridges and cross-chain messaging: trust model, finality, replay protection, rate limits.

    Free

    Security scanned

    About this skill

    Bridges concentrate risk: a single verification failure can mint unbacked assets. Start from the trust assumption, not the code.

    Who attests that "event E happened on chain A"? Classify: native/canonical (rollup proof or fraud-proof window), light-client/ZK-verified, external validator/guardian set (m-of-n), optimistic (watchers + challenge period), oracle+relayer split. Write: threshold, key custody, who can change the set, upgrade authority, and the cost to compromise vs. value locked. Past failures map cleanly: validator-key compromise (Ronin), signature-verification bug (Wormhole 2022), faulty initialization accepting any message (Nomad).

    • Source: emits message only after finalized/sufficiently-confirmed state; includes srcChainId, dstChainId, sender, nonce, payload, and for tokens the amount in canonical decimals.

    • Finality & reorgs: confirmations required per source chain (Ethereum ≈ 2 epochs for economic finality; L2s have soft-confirmation vs. L1-posted vs. challenge-period finality; some chains have probabilistic finality). Acting on unfinalized messages enables double-spend after reorg.

    • Destination verification: authenticated endpoint caller; trusted-remote/peer mapping per chain (setter access control!); payload decoding bounds; no reliance on msg.sender being the bridge without checking the configured endpoint.

    • Replay protection: unique message ID consumed once (mark executed before external calls), bound to chain IDs and destination contract; ordering semantics (ordered vs. unordered channels) and what happens on a failed message (stuck pipeline, retry, DoS by a poison message).

    • Atomicity: cross-chain actions are not atomic. Design for partial failure: refund paths, timeouts, idempotent handlers, reconciliation. Never assume the second leg succeeds.

    • Gas/fee handling: destination gas estimation, insufficient gas leaving messages stuck, refund address, fee-token pricing.

    • Configuration risk: verifier/DVN set, required confirmations, and library versions are per-path settings; defaults may be weak. Check the actual on-chain config for each pathway, and who can change it.

    • Lock/mint vs. burn/mint vs. liquidity pools: ensure total supply across chains ≤ locked collateral at all times; invariant Σ_chains circulating ≤ canonical locked. Test with decimals differing per chain (e.g., 6 vs. 18).

    • Omnichain (OFT-style) tokens: shared-decimals truncation/dust, rate limits per chain, who can add a new chain peer.

    • Wrapped assets/depeg: a bridged token ≠ canonical token; oracles and collateral lists must distinguish (e.g., USDC vs. USDC.e).

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    • Free with an Agensi account

    Requires

    Nothing to install.

    Permissions

    No special permissions declared or detected

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    Audit bridges and cross-chain messaging: trust model, finality, replay protection, rate limits.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use cross-chain-messaging-review on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Security

    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.

    Free