T09 · Insecure Skill Coding Practices
- Location
references/api-discovery.md:41- Finding
Unsafe Exposure of Browser Session Cookies Through Command-Line Requests
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is coherent for browser troubleshooting, but it needs review because it encourages reuse of live browser session cookies in direct API calls without enough safeguards.
Install only if you are comfortable with the agent using browser sessions for troubleshooting. Before following the API-discovery advice, avoid copying live cookies into shell commands, prefer unauthenticated or least-privilege tokens, confirm the exact destination origin, and require explicit approval before any authenticated or state-changing request.
references/api-discovery.md:41Unsafe Exposure of Browser Session Cookies Through Command-Line Requests
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
# REST example
curl -s "https://example.com/api/v1/items?page=1&limit=100" \
-H "Cookie: session=..." | python3 -m json.tool
# Or use web_fetch
The guidance explicitly suggests replaying authenticated API requests with browser session cookies, but it provides no warning about handling, minimizing, or protecting authentication material. In an agent skill focused on browser troubleshooting and scraping, this can normalize exfiltrating or reusing live session credentials in external tools or logs, increasing the risk of account compromise or unauthorized data access.
No suspicious patterns detected.