T09 · Insecure Skill Coding Practices
- Location
SKILL.md:34- Finding
OAuth Authorization Response Exposed Through Chat and Process Arguments
- Content
View full analysis
--authorization-response ''` 3. Bind endpoint to the credential: ``` From `SKILL.md:55-63`: ```markdown ## OAuth Interaction Template Use this exact operator-facing flow: 1. Start login command and wait for authorization URL output. 2. Tell user: - Open this URL in browser and approve Notion access. - Copy the full callback URL from browser address bar. - Paste the callback URL back in chat. 3. Run `uxc auth oauth complete notion-mcp --session-id --authorization-response ''`. ``` From `references/oauth-and-binding.md:28-33`: ```bash After the user approves access, finish with: ```bash uxc auth oauth complete notion-mcp \ --session-id \ --authorization-response 'http://127.0.0.1:8788/callback?code=...&state=...' ``` ``` From `references/oauth-and-binding.md:39-45`: ```markdown ## Interactive Callback Handoff For agent-driven/manual runs: 1. Run the start command and capture the authorization URL plus `session_id` printed by `uxc`. 2. Ask the user to open the URL and approve access. 3. Ask the user to paste the full callback URL (for example: `http://127.0.0.1:8788/callback?code=...&state=...`). 4. Run `uxc auth oauth complete notion-mcp --sess ...[truncated 3655 chars]- Remediation
View remediation
