llm-trading-agent-security

Protects trading agents with prompt security, spend limits, simulation, circuit breakers, and wallet isolation.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/klu-dev/porting-ecc-to-vscode --skill llm-trading-agent-security-klu-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-trading-agent-security
Source: https://github.com/klu-dev/porting-ecc-to-vscode/tree/main/.github/skills/llm-trading-agent-security
Command: npx skills add https://github.com/klu-dev/porting-ecc-to-vscode --skill llm-trading-agent-security-klu-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enhances security in AI trading agents by providing comprehensive defenses against malicious prompts, enforcing spend limits, simulating transactions, implementing circuit breakers, and managing wallet isolation.

Core Features & Use Cases

  • Security against Prompt Injection: Safeguards against unauthorized commands hidden in prompts.
  • Spend Limits and Simulation: Enforces spending limits and allows for transaction simulations before execution.
  • Circuit Breakers: Protects against consecutive losses and abnormal hourly loss percentages.
  • Wallet Isolation: Secures transactional activities using a dedicated hot wallet with controlled session funds.
  • Use Case: Use this Skill in trading agents to manage assets securely and protect against potential threats, suitable for wallet key management and LLM-powered order placements.

Quick Start

Run the 'llm-trading-agent-security' skill with a secure environment configured.

Frequently Asked Questions about llm-trading-agent-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I protect my AI trading agent from prompt injection attacks?

To protect AI trading agents from prompt injection, you need prompt hygiene defenses that filter unauthorized commands hidden in inputs. This Skill provides that protection by screening prompts before they can trigger malicious trades or alter agent behavior.

What is the best way to secure DeFi smart contract transactions executed by LLMs?

Securing DeFi smart contract transactions executed by LLMs requires pre-execution simulation and wallet isolation. This Skill simulates transactions before execution and uses a dedicated hot wallet with controlled session funds to isolate risk.

Can I set spend limits and circuit breakers for automated trading workflows?

Yes, you can set spend limits and circuit breakers for automated trading workflows. This Skill enforces transaction spending limits and implements circuit breakers that halt trading when detecting consecutive losses or abnormal hourly loss percentages.

How does wallet isolation work for LLM-powered order placements?

Wallet isolation for LLM-powered order placements works by using a dedicated hot wallet containing controlled session funds. This Skill secures transactional activities by isolating the wallet key management from your primary assets, limiting exposure to potential threats.

Does this Skill provide MEV protection for decentralized finance trading agents?

Yes, this Skill provides MEV protection for decentralized finance trading agents. It targets automated trading workflows with multiple security layers, including transaction simulation and circuit breakers, specifically focusing on MEV protection and wallet safety in DeFi.