skills/mukul975/anthropic-cybersecurity-skills/exploiting-oauth-misconfiguration/Gen Agent Trust Hub
exploiting-oauth-misconfiguration
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements an automated security assessment agent that connects to external servers and ingests untrusted configuration files, presenting an indirect data injection attack surface.
- Ingestion points: In
scripts/agent.py, thediscover_oidc_configfunction fetches JSON data from remote OIDC discovery endpoints (/.well-known/openid-configuration) usingrequests.getwith SSL verification disabled (verify=False). - Boundary markers: There are no explicit boundaries or instruction delimiters applied to the remote JSON data before it is parsed and processed into the output report.
- Capability inventory:
scripts/agent.pypossesses network capabilities (requests.get,requests.post) to interact with arbitrary endpoints and file-writing capabilities to save the generated JSON report to disk viajson.dump. - Sanitization: No sanitization or structure validation is performed on the incoming JSON metadata beyond calling
.json(), meaning a compromised or malicious endpoint could inject crafted payloads into the final assessment report that the calling agent processes.
Audit Metadata