anthropic-cybersecurity-skills
Warn
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documentation provides an
execute_skill_scriptfunction designed for AI agents to invoke helper scripts at runtime. This function constructs file paths using string interpolation (f'skills/{skill_name}/scripts/{script_name}') and executes them viasubprocess.run. This pattern creates a potential risk for path traversal or unauthorized code execution if an attacker can influence the skill or script names. - [COMMAND_EXECUTION]: The skill uses
subprocess.runto invoke the Python interpreter on local script files. It also instructs users to run shell commands for installation (npx skills add,git clone). - [EXTERNAL_DOWNLOADS]: The skill is configured to download components and procedural definitions from a GitHub repository (
mukul975/Anthropic-Cybersecurity-Skills) using Git and NPX tools. - [INDIRECT_PROMPT_INJECTION]: As a security analysis tool, the skill is designed to ingest and process potentially malicious data (malware samples, incident logs, memory dumps) which could contain hidden instructions for the agent.
- Ingestion points:
handle_queryfunction processes natural language queries; forensics scripts ingest external files such as memory dumps. - Boundary markers: None identified in the provided templates to isolate processed data from agent instructions.
- Capability inventory: The skill possesses capabilities for file system traversal (
os.listdir), file reading (open), and command execution (subprocess.run). - Sanitization: There is no evidence of sanitization for arguments passed from user-provided
kwargsdirectly to thesubprocess.runcommand line.
Audit Metadata