SKILL

llm-trading-agent-security

Security patterns for autonomous trading agents with wallet or transaction authority. Covers prompt injection, spend limits, pre-send simulation, circuit breakers, MEV protection, and key handling. Use when an autonomous agent holds wallet or transaction authority and its limits, simulation, or key handling need review.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • LLM Trading Agent Security
  • When to Use
  • How It Works
  • Examples
  • Treat prompt injection as a financial attack
  • Hard spend limits
  • Simulate before sending
  • Circuit breaker

Autonomous trading agents have a harsher threat model than normal LLM apps: an injection or bad tool path can turn directly into asset loss. Building an AI agent that signs and sends transactions Auditing a trading bot or on-chain execution assistant Designing wallet key management for an agent Giving an LLM access to order placement, swaps, or treasury operations Layer the defenses. No single check is enough. Treat prompt hygiene, spend policy, simulation, execution limits, and wallet isolation as independent controls. Do not blindly inject token names, pair labels, webhooks, or social feeds into an execution-capable prompt. Use a dedicated hot wallet with only the required session funds. Never point the agent at a primary treasury wallet. External data is sanitized before entering the LLM context Spend limits are enforced independently from model output Transactions are simulated before send minamountout is mandatory Circuit breakers halt on drawdown or invalid state Keys come from env or a secret manager, never code or logs Private mempool or protected routing is used when appropriate Slippage and deadlines are set per strategy All agent decisions are audit-logged, not just succ

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
affaan-m/ECC
Source file
skills/llm-trading-agent-security/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:44.012Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.