commander-tuner
Warn
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
src/commander_utils/bulk_loader.pyusespickle.load()to deserialize a sidecar cache file (.idx.pkl). Because the path to this file is derived from the bulk data path provided via CLI, an attacker could achieve arbitrary code execution by supplying a malicious pickle file along with a fake bulk data file.\n- [COMMAND_EXECUTION]: The scriptsrc/commander_utils/web_fetch.pyexecutes the systemcurlcommand viasubprocess.run(). This is used as a fallback mechanism for fetching strategy articles but introduces risks associated with shell command execution using external URL inputs.\n- [DATA_EXFILTRATION]: Thesrc/commander_utils/mtga_import.pyutility reads MTG Arena log files from standard local application directories (e.g.,AppDataon Windows). While designed for collection importing, this provides the skill with access to potentially sensitive user information stored in game logs.\n- [EXTERNAL_DOWNLOADS]: The skill is configured to perform automated downloads fromapi.scryfall.comand makes API requests tojson.edhrec.comandbackend.commanderspellbook.com. These are well-known technology services in the MTG community and are considered trusted for the purpose of this skill.\n- [PROMPT_INJECTION]: The skill ingests untrusted data from both user files and external web content, creating an indirect prompt injection surface.\n - Ingestion points: Data enters through
parse-deck(user files) andweb-fetch(external strategy guides).\n - Boundary markers: Behavioral boundaries are established in
SKILL.mdthrough instructions to verify oracle text and avoid assumptions.\n - Capability inventory: The skill can execute shell commands (
web_fetch.py), write to the local file system (atomic_write_json), and launch sub-agents for analysis.\n - Sanitization: The
web_fetch.pyutility collapses whitespace and removes HTML tags, but does not provide a robust mechanism to sanitize potential instruction injections within the fetched content.
Audit Metadata