The playbook, as skills your agent can run
Because the offense is AI-driven, the methodology is a skill. Drop one into your agent (Claude Skills / agentskills.io / Hermes-compatible SKILL.md), point it at an agent you own, and it runs the test, confirms empirically, and writes an evidence-backed finding. Apache-2.0.
Prompt injection
✓ validated liveDoes content the agent processes hijack its task? Direct, indirect, multi-turn, obfuscated.
Tool / action abuse
✓ validated liveCoerced into an unintended tool call, hijacked arguments, or confused deputy.
Sandbox / isolation
Do tools run un-isolated? Does the sandbox silently disable itself?
Action-gating bypass
Can a high-risk action reach execution without out-of-band confirmation?
Channel injection
Can inbound channel content (DM / group / forward) steer the agent?
Memory poisoning
Does an injection persist into memory and fire in future sessions?
Supply chain
Can a poisoned skill / MCP / dependency become trusted instruction?
Data exfiltration
Can an injection move secrets / PII to an attacker sink?
Cross-validation harness
Orchestrate static triage → dynamic confirmation. The arbiter is the exploit.
The same SKILL.md, loaded into your own agent, running the same tests against a target you own. Each comes with a real case — the advisory it produced.
Claude Code
SKILL.md · auto-discovered · or /pluginDrop a skill into your skills dir (or install the whole toolkit as a plugin), then ask Claude Code to run it against an agent you own.
git clone https://github.com/William2333ZZ/trustshell mkdir -p .claude/skills && cp -R trustshell/skills/redteam-an-agent .claude/skills/ # or install the whole toolkit as a plugin: /plugin marketplace add William2333ZZ/trustshell /plugin install trustshell
Any MCP client
MCP server · native toolsRun the TrustShell MCP server; your MCP client (Claude Desktop, Cursor, …) gets static_scan / red_team / list_skills as native tools.
git clone https://github.com/William2333ZZ/trustshell python3 trustshell/mcp/trustshell_mcp.py # then register it in your MCP client
Cursor & IDE assistants
SKILL.md as rules / contextPoint the assistant at a SKILL.md as a rule/context file (or at the repo) and ask it to follow the relevant skill on the codebase in front of it.
# add trustshell/skills/audit-agent-code/SKILL.md to your rules/context, then:
Hermes · OpenClaw · agentskills.io
the same SKILL.md loadsThe portable SKILL.md format loads directly (skills dir or marketplace import). Because the offense is AI-driven, the method travels with whatever agent runs it.
# drop the class you want into the host's skills directory: cp -R trustshell/skills/rt1-prompt-injection <host-skills-dir>/ cp -R trustshell/skills/rt6-memory-poisoning <host-skills-dir>/
- Authorized targets only — an agent you own or have written permission to test.
- Disposable environment only — never production, never a machine with real data.
- Never handle the target's real credentials — reference by handle, never see the value.
- Harmless proof only — a random marker, no destruction, no exfiltration, no persistence.
- Method, not weapons — describe how to test and confirm, not ready-to-fire payloads.
- Disclose to help defenders — publish the finding and the fix, never a weaponized payload; and if an agent defends well, say so.