skills/mukul975/anthropic-cybersecurity-skills/implementing-zero-trust-network-access/Gen Agent Trust Hub
implementing-zero-trust-network-access
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python script
scripts/agent.pyexecutes system commands usingsubprocess.runto interact with theawsandgcloudCLI utilities. This execution is performed to collect resource configuration and status information for security assessment purposes, which is consistent with the skill's primary function. - [INDIRECT_PROMPT_INJECTION]: The skill functions by ingesting and processing data from external cloud environments, which introduces a theoretical surface for indirect prompt injection if those environments contain malicious data.
- Ingestion points: The
scripts/agent.pyscript captures stdout from cloud discovery commands such asaws ec2 describe-verified-access-instances. - Boundary markers: No specific delimiters or instructions for the agent to ignore embedded commands are present in the script logic.
- Capability inventory: The script has the capability to execute shell discovery commands via
subprocess.runand write assessment reports to the local file system. - Sanitization: The script mitigates common command injection risks by passing arguments as a list to
subprocess.runand utilizesjson.loadsto safely parse structured output from the CLI tools.
Audit Metadata