skills/mukul975/anthropic-cybersecurity-skills/performing-ssl-tls-inspection-configuration/Gen Agent Trust Hub
performing-ssl-tls-inspection-configuration
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The validation script
scripts/agent.pyusessubprocess.runto execute PowerShell commands for verifying certificate deployment. The internal CA Common Name (internal_ca_cn) is interpolated directly into the command string using an f-string without any sanitization or escaping. This allows for arbitrary command injection if an attacker can influence the CA name argument passed to the script. - Evidence:
scripts/agent.pylines 97-101:subprocess.run(["powershell", ... f'Where-Object {{$_.Subject -like "*{self.internal_ca_cn}*"}}' ...]). - [PRIVILEGE_ESCALATION]: The instructions for configuring macOS and Linux endpoints in
SKILL.mdrequire the execution of commands withsudoto add certificates to the system-wide trust store. While this is a standard requirement for the described task, it involves the agent performing high-privilege operations that grant administrative control over the local machine's security configuration. - Evidence:
SKILL.mdStep 2:sudo security add-trusted-certandsudo cp ssl-inspect-ca.crt /usr/local/share/ca-certificates/. - [INDIRECT_PROMPT_INJECTION]: The
agent.pyscript provides a vulnerability surface by ingesting hostnames and CA names from command-line arguments and using them in network connections and shell command assembly. The script lacks input validation, creating a risk if the agent is directed to process untrusted data retrieved from external sources before calling the validation tool. - Ingestion points:
sys.argvinmain()function ofscripts/agent.py. - Boundary markers: None present.
- Capability inventory:
subprocess.run(shell execution) andssl.create_default_context(network connectivity) inscripts/agent.py. - Sanitization: No input validation or escaping is performed on external arguments.
Audit Metadata