mcp-oauth-remote-gateway

Pass

Audited by Gen Agent Trust Hub on Sep 27, 2026

Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The skill manages OAuth credentials, including access tokens, refresh tokens, and client secrets. It instructs the agent to store these in the filesystem (e.g., $HERMES_HOME/mcp-tokens/) and temporarily stash a code_verifier in /tmp/.mcp-oauth-work/.
  • [COMMAND_EXECUTION]: The skill utilizes shell commands via the terminal tool to inspect environment variables, manage file permissions (using chmod), and update application configuration files.
  • [EXTERNAL_DOWNLOADS]: The skill performs network requests to external, non-whitelisted domains to fetch OAuth metadata and perform token exchanges (e.g., .well-known/oauth-authorization-server).
  • [DATA_EXFILTRATION]: The skill transmits data to external OAuth endpoints. While this is necessary for the OAuth flow, it involves sending client information and authorization codes to remote servers.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes data from external HTTP responses, such as OAuth discovery documents and JSON token responses, which could potentially contain malicious instructions if the endpoints are compromised.
  • Ingestion points: HTTP response bodies from registration_endpoint and token_endpoint in SKILL.md and scripts/diagnose-oauth-mcp.py.
  • Boundary markers: None explicitly implemented for external network data.
  • Capability inventory: Full terminal access, file writing, and Python script execution across all skill files.
  • Sanitization: Employs json.dumps for file writes and regex-based filename sanitization.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 27, 2026, 04:37 AM