$ ./hunt --surface ai-agent-tools
AI agent attacks · detection exercises
An AI agent tool is a capability the agent can call, such as a shell, a code interpreter, or an API. If a tool interface is reachable without authentication, or if agent traffic is abused, the logs may show command execution or tool misuse. Prompt injection means hiding instructions in content a model reads so it tries to do something its designer did not allow.
CISA KEV status
CISA KEV is CISA's Known Exploited Vulnerabilities catalog. Checked 2026-12-01 against the CISA KEV catalog: CVE-2026-77936, CVE-2026-75128, CVE-2026-77932, CVE-2026-109442, and CVE-2026-109437 are not in CISA KEV. ARTEX has no CVE and therefore no KEV entry. This page does not label them KEV.
Framework names used below: the OWASP Top 10 for LLM Applications is a public list of common risks in LLM applications; MITRE ATLAS is a knowledge base of adversary tactics and techniques against AI systems.
1 · Prompt-injection log signs
Beginner Work the synthetic prompt-injection sample log. The sample is synthetic training data; it contains no real prompts or secrets.
- Mark lines where the input tells the model to ignore, override, or reveal system or developer instructions.
- Mark lines where the content tries to make the agent call a shell, code interpreter, external fetch, or another tool.
- Keep a false-positive guard: quoted training text that merely mentions an override phrase is different from an instruction aimed at the model. Escalate when override language is paired with a tool call, secret request, external send, or policy bypass.
- Record the timestamp, source, session, requested action, and tool field. Do not copy secrets or full user content into public tickets.
Framework mapping: OWASP LLM01:2025 Prompt Injection; MITRE ATLAS AML.T0051 LLM Prompt Injection.
2 · Agent tool abuse
Use the ARTEX agentic-attacks checklist, the synthetic proxy sample, and the reference detection script. Write your detection first, then compare it with the script.
- Look for branded user agents such as
artex-,antifox-,norma/0.4, orspa-api-recon. - Look for the framework API key header
X-ARTX-KEY. - Look for unsigned JWT probes, including an
alg/nonemarker in the URI. - Treat connections to the unauthenticated recording proxy port as a supporting marker only; correlate by source and time before calling an incident.
Framework mapping: OWASP LLM06:2025 Excessive Agency; MITRE ATLAS AML.T0053 AI Agent Tool Invocation.
3 · Unauthenticated RCE on AI tool servers
Use the agent tool unauthenticated-RCE checklist and the synthetic enriched access-log sample.
- Find POSTs to tool-execution or agent-drive endpoints.
- Require evidence about credentials: the signal is a tool-execution POST with no credential presented.
- Look for shell or code payload markers such as shell-tool names,
os.system,subprocess,$(…),curl … | sh,cat /etc/passwd, orprintenv. - Check for 2xx responses and short bursts from one source.
Log requirement: plain access logs are not enough for this exercise. You need proxy or WAF logs that show whether credentials were presented, plus enough request context to see the tool endpoint and payload markers.
Framework mapping: OWASP LLM06:2025 Excessive Agency; MITRE ATLAS AML.T0053 AI Agent Tool Invocation.
Log and telemetry safety
Collect only what detection needs: timestamp, source, session identifier, tool name, policy decision, status, and a short redacted reason code. Keep prompts, secrets, and user content out of public paths; restrict access to the detailed logs and set a retention limit.
Framework mapping: OWASP LLM02:2025 Sensitive Information Disclosure.
Found a real problem? Report it responsibly
These exercises use synthetic logs and never need a live target. If you ever find a real weakness in someone's AI product, read their scope first and test only your own accounts. The bounty scope guide covers authorized disclosure basics, a report checklist, and what Google, Microsoft and OpenAI AI programs accept or exclude (as of 2026-12-02).