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 acode_verifierin/tmp/.mcp-oauth-work/. - [COMMAND_EXECUTION]: The skill utilizes shell commands via the
terminaltool to inspect environment variables, manage file permissions (usingchmod), 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_endpointandtoken_endpointinSKILL.mdandscripts/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.dumpsfor file writes and regex-based filename sanitization.
Audit Metadata