agents/skills/evm/cross-chain-timing/SKILL.md
Type Thought-template (instantiate before use) - Research basis Multi-block arbitrage windows, bridge latency exploitation
npx skillsauth add plamentsv/plamen cross-chain-timingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Type: Thought-template (instantiate before use) Research basis: Multi-block arbitrage windows, bridge latency exploitation
bridge|L1|L2|tunnel|messenger|crossChain|sendMessage|receiveMessage|
_processMessageFrom|LayerZero|CCIP|Wormhole|Arbitrum|Optimism
1. Attacker monitors {SOURCE_CHAIN} for state changes at {MONITOR_POINT}
2. State change triggers sync message (latency window opens)
3. Attacker executes on {DEST_CHAIN} at {EXPLOIT_FUNCTION} using stale {STALE_STATE}
4. Sync message arrives, state updates
5. Attacker profits: {PROFIT_CALCULATION}
{CONTRACTS} -- List of contracts to analyze
{BRIDGE_PROTOCOL} -- Specific bridge (LayerZero, CCIP, Arbitrum Messenger, etc.)
{SYNC_POINT} -- Function/event where sync occurs
{DEPENDENT_FUNCTIONS} -- Functions that read synced state
{SOURCE_CHAIN} -- Chain where state originates
{DEST_CHAIN} -- Chain where stale state is exploited
{MONITOR_POINT} -- What attacker monitors on source chain
{EXPLOIT_FUNCTION} -- Function attacker calls on dest chain
{STALE_STATE} -- Specific state variable that becomes stale
{PROFIT_CALCULATION} -- Formula for attacker profit
{MAX_DELTA} -- Maximum observed state change
{PROFIT_FORMULA} -- (new_value - old_value) * position_size
| Field | Required | Description | |-------|----------|-------------| | sync_mechanism | yes | How state is synced (bridge, function, event) | | latency_estimate | yes | Realistic sync latency with source | | stale_operations | yes | List of operations using potentially stale state | | arbitrage_sequence | yes | Step-by-step attack if viable | | profit_viability | yes | VIABLE / NOT_VIABLE / NEEDS_VERIFICATION | | finding | yes | CONFIRMED / REFUTED / NEEDS_DEPTH | | evidence | yes | Code locations with line numbers |
data-ai
Trigger Pattern Always (run during recon TASK 0, not breadth) - Inject Into Recon agent only (meta_buffer.md enrichment)
data-ai
Trigger Pattern Always (run during recon TASK 0, not breadth) - Inject Into Recon agent only (meta_buffer.md enrichment)
data-ai
Trigger Pattern Always (run during recon TASK 0, not breadth) - Inject Into Recon agent only (meta_buffer.md enrichment)
data-ai
Trigger STABLESWAP_FORK flag (fork-ancestry detects Curve/StableSwap parent via get_d/get_y/ramp_a/StableSwap patterns) - Agent Type general-purpose (standalone niche agent, 1 budget slot)