k-mechanic
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill acts as a bridge between a live World of Warcraft session and an AI agent, ingesting data from the game environment that should be treated as untrusted.
- Ingestion points: The skill reads
!Mechanic.luaSavedVariables and provides tool outputs viaaddon.output, which includes aggregated log buffers from any registered addon, performance metrics, and Lua error reports via!BugGrabber(found inSKILL.mdandreferences/ingame-modules.md). - Boundary markers: The documentation mentions escaping command output for HTML rendering in
render.js, but does not specify boundary markers or instructions to ignore embedded commands when this data is processed by the AI agent or passed to tools likeresearch.query(found inreferences/dashboard.md). - Capability inventory: The skill has significant capabilities including executing registry commands via
mech call, writing to the filesystem vialua.queue(which writes toMechanicQueue.lua), and performing git operations (commit, tag) viamech release(found inreferences/cli-commands.md). - Sanitization: While HTML escaping is performed for the dashboard, there is no evidence of sanitization for data being interpolated into agent instructions.
- [EXTERNAL_DOWNLOADS]: The
mech setupcommand is documented to download "checksum-verified dev tools" including Lua tools likeluacheck,stylua, andbusted. While the documentation claims these are verified, the source URLs are not explicitly defined in the analyzed files, representing a dependency on external infrastructure for the tool's core functionality (found inreferences/cli-commands.md). - [COMMAND_EXECUTION]: The skill provides the
mech callcommand which allows the execution of any registered command in the hub's registry, including mutations. It also provides thelua.queuecommand, which allows the injection and eventual execution of Lua code within the World of Warcraft game client (found inreferences/cli-commands.mdandSKILL.md). - [CREDENTIALS_UNSAFE]: The documentation mentions the use of
GEMINI_API_KEYfor theresearch.querycommand and suggests storing it in.envfiles or the user's home directory (~/.mechanic/.env). While this is a standard practice for secret management, the exposure of this key to an agent that also processes untrusted game logs increases the risk of exfiltration via indirect prompt injection (found inreferences/dashboard.md).
Audit Metadata