llm-trading-agent-security

Community

Prevent asset loss in autonomous trading agents

AuthorMaelwalser
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Autonomous trading agents can convert a single prompt injection, mis-signed transaction, or exposed key into irreversible financial loss. This Skill codifies layered security patterns and operational controls to reduce the risk of unauthorized transactions, slippage, and key compromise.

Core Features & Use Cases

  • Prompt hygiene & input sanitization: Detect and reject injection patterns in external data before it reaches execution-capable prompts.
  • Spend policy enforcement: Hard single-transaction and daily spend limits with recorded accounting to stop runaway transfers.
  • Pre-send simulation & execution guards: Require simulation results and min_amount_out checks to prevent slippage and failing trades.
  • Circuit breakers & audit logging: Halt on drawdowns, consecutive losses, or invalid state and ensure every decision is auditable.
  • Wallet isolation & secret management: Use ephemeral hot wallets and secret managers; never embed primary treasury keys in agent code.
  • Use Case: Audit and harden a DeFi arbitrage bot so it cannot send funds above set limits, must simulate trades successfully, and can be stopped automatically on abnormal losses.

Quick Start

Ask the agent to run a transaction-security audit and apply prompt sanitization, hard spend limits, simulation checks, circuit breakers, and secret-managed wallet isolation before any on-chain send.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: llm-trading-agent-security
Download link: https://github.com/Maelwalser/claude-config/archive/main.zip#llm-trading-agent-security

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.