skills/mukul975/anthropic-cybersecurity-skills/implementing-ransomware-kill-switch-detection/Gen Agent Trust Hub
implementing-ransomware-kill-switch-detection
Warn
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyexecutes PowerShell commands usingsubprocess.runto interact with Windows mutexes.\n- [DYNAMIC_EXECUTION]: Theagent.pyscript dynamically builds PowerShell commands via string interpolation and executes them. It also includes agenerate-scriptcommand that creates a new PowerShell file (mutex_vaccination.ps1) on the filesystem.\n- [INDIRECT_PROMPT_INJECTION]: The skill contains a vulnerability surface where themutex_nameparameter is interpolated into PowerShell command strings without sanitization in thecheck_mutex_exists_windowsandcreate_mutex_windowsfunctions. A malicious actor could provide a mutex name containing shell metacharacters to execute arbitrary PowerShell commands.\n - Ingestion points: Mutex name strings processed in
agent.py.\n - Capability inventory:
subprocess.run(shell command execution) and file system write access inagent.py.\n - Sanitization: Absent; the code uses direct f-string interpolation into a shell command context.\n- [METADATA_POISONING]: There is an inconsistency in attribution; the YAML frontmatter in
SKILL.mdlists the author as 'mahipal', whereas theLICENSEfile attributes copyright to 'mukul975'.
Audit Metadata