llm-trading-agent-security

Mitigate security risks in autonomous trading agents with wallet or transaction authority.

86|21|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Jamkris/everything-gemini-code --skill llm-trading-agent-security-jamkris
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-trading-agent-security
Source: https://github.com/Jamkris/everything-gemini-code/tree/main/skills/llm-trading-agent-security
Command: npx skills add https://github.com/Jamkris/everything-gemini-code --skill llm-trading-agent-security-jamkris

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Autonomous trading agents that can sign and execute transactions risk asset loss from prompt manipulation, unsafe tools, or weak key management. This skill provides layered defenses to prevent unauthorized actions and ensure safe operation.

Core Features & Use Cases

  • Prompt hygiene and instruction isolation to prevent prompt injection
  • Enforced spend limits and per-transaction guards to cap risk
  • Pre-send simulation to validate transactions before execution
  • Circuit breakers that halt operations under adverse conditions
  • Wallet isolation and secure key management practices
  • MEV protection and deadline controls to reduce slippage and abuse
  • Auditable decision-logs and clear safety rails for compliance

Quick Start

Ensure the agent's defenses are enabled and tested in a sandbox before production deployment.

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 secure an autonomous trading agent against prompt injection?

You can secure an autonomous trading agent by applying prompt hygiene and instruction isolation. This prevents prompt injection by sanitizing inputs and enforcing independent guardrails before any transaction execution.

How do I implement spend limits and pre-send simulation for on-chain trading agents?

You can implement spend limits and pre-send simulation by enforcing per-transaction guards and simulating transactions before execution. This validates on-chain workflows and caps risk before any assets are moved.

What is wallet isolation and why do I need it for autonomous trading agents?

Wallet isolation is a secure key management practice that separates transaction authority from the main agent. You need it to prevent unauthorized access and mitigate asset loss during autonomous on-chain workflows.

Can I use circuit breakers and execution limits to halt autonomous trading agents under adverse conditions?

Yes, you can use circuit breakers and execution limits to halt autonomous trading agents under adverse conditions. These independent guardrails automatically stop operations to prevent unauthorized actions and cap risk during on-chain workflows.

How do I maintain auditable decision logs for LLM trading agents?

You can maintain auditable decision logs for LLM trading agents by recording safety rails and transaction decisions throughout the workflow. This provides clear compliance records for executed orders and spend policy enforcement.