T09 · Insecure Skill Coding Practices
- Location
SKILL.md:10- Finding
Authentication Token Embedded in MCP Connector URL
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 10–30
Vulnerability Type: Credential exposure through a token-bearing URL
Risk Level: MediumThe Skill requires users to copy and paste an MCP Server URL containing an embedded authentication token:
yaml requires: config: - MCP Connector link from boring.aiagent-me.com (contains embedded auth token)markdown - **MCP link is a credential**: Your MCP Server URL contains an embedded authentication token. Treat it like a password — do not share it publicly. Regenerate anytime in Settings.markdown 3. **Get your MCP link**: Go to **Settings** → copy your MCP Server URL (contains your auth token — treat it like a password) 4. **Add to Claude**: Paste the MCP link as a Connector — no install, no API key neededTechnical Analysis
Embedding an authentication token in a URL creates a bearer-credential exposure risk. URLs may be retained in connector configuration, browser or application history, diagnostic reports, proxy logs, screenshots, chat transcripts, telemetry, and support bundles. Anyone who obtains the complete URL may be able to reuse its token without knowing a separate password.
The documentation recognizes that the URL is sensitive, but the warning does not remove the underlying insecure credential-transport and storage pattern. The risk is amplified because the connector is associated with a third-party service that holds authorization to interact with a connected YouTube account.
Attack Path
- A user copies the token-bearing MCP URL as directed.
- The URL is unintentionally retained in application configuration, logs, history, screenshots, exported conversations, diagnostics, or support material.
- An attacker obtains the complete URL from one of these sources.
- The attacker reuses the embedded bearer token to connect to the Boring MCP service.
- Subject to the token's server-side scope and ...[truncated 956 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace authentication embedded in the URL with an
Authorizationheader or another secret-bearing channel that is less likely to be recorded in URL logs and history. - Store connector credentials in the host platform's protected secret store rather than in ordinary connector text, chat history, or exported configuration.
- Issue short-lived, narrowly scoped tokens and rotate them independently of the connector endpoint.
- Provide immediate token revocation, session inventory, and rotation controls.
- Redact query strings, path tokens, and complete connector URLs from logs, telemetry, diagnostics, error messages, and user interfaces.
- Bind tokens to the minimum required operations and YouTube account, and require explicit user confirmation immediately before any publication.
- Detect anomalous token reuse, new client locations, and unexpected publishing activity, then revoke affected sessions automatically.
- Clearly document retention and deletion controls for uploaded videos, thumbnails, and captions, particularly because the Skill states that media is re-hosted using publicly accessible URLs.
- Replace authentication embedded in the URL with an
