What problem does it solve?
This Skill provides security patterns and best practices for autonomous trading agents to prevent asset loss and malicious behaviors.
Core Features & Use Cases
- Prompt Injection Defense: Detects and sanitizes malicious prompts that could redirect or compromise transaction commands.
- Spend Limits Enforcement: Implements hard caps on individual and daily trading amounts to prevent overspending.
- Pre-Execution Simulation: Runs transaction simulations to verify outcomes before actual execution, preventing slippage and erroneous trades.
- Circuit Breakers: Monitors trading losses and halts activity when predefined thresholds are exceeded, protecting portfolios.
- Wallet Isolation and Key Management: Uses environment-secured wallet credentials to isolate funds from primary treasuries.
- Protection Against MEV and Deadline Risks: Sets transaction deadlines and slippage parameters to safeguard trades from miner extractable value (MEV) exploitation.
Quick Start
Use the security patterns described to harden your trading bot, ensuring prompt hygiene, transaction simulation, and key management before deploying on-chain.