skills/mukul975/anthropic-cybersecurity-skills/testing-api-authentication-weaknesses/Gen Agent Trust Hub
testing-api-authentication-weaknesses
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and displays data from external API responses, which are untrusted sources that could contain malicious instructions designed to influence the agent.
- Ingestion points: API response bodies are captured and printed to the console in
SKILL.md(Step 2) andscripts/agent.py(via thetest_unauthenticated_endpointsmethod). - Boundary markers: The skill does not employ delimiters or specific instructions to the agent to treat external response data as untrusted text.
- Capability inventory: The skill possesses network communication capabilities (
requests) and file system write access (agent.pygenerates a JSON report). - Sanitization: No sanitization, filtering, or escaping is performed on the content retrieved from external API endpoints before it is processed or displayed.
- [COMMAND_EXECUTION]: The
SKILL.mdandreferences/api-reference.mdfiles provide instructions for using external command-line tools likehashcat,Hydra, andjwt_tool. Although these are not directly invoked by the script, the instructions prompt the agent/user to perform external command execution for exploitation purposes. - [DATA_EXFILTRATION]: The skill's endpoint scanner in both
SKILL.mdandscripts/agent.pyexplicitly probes for sensitive file paths and configurations, including/.env,/config, and/actuator/env, which are common targets for credential harvesting and information disclosure.
Audit Metadata