T09 · Insecure Skill Coding Practices
- Location
scripts/fetch.sh:8- Finding
Unrestricted URL Fetching Enables SSRF and Local Resource Access
- Content
View full analysis
'); process.exit(1); } ``` ```javascript await page.goto(url, { waitUntil: 'domcontentloaded', timeout: 45000 }); ``` #### `SKILL.md:96-106` ```bash SKILL_PATH="" # Step 1: Fetch HTML (fast path) bash "$SKILL_PATH/scripts/fetch.sh" "URL" /tmp/wx_article.html # Step 2: Inspect metadata node "$SKILL_PATH/scripts/parse.mjs" /tmp/wx_article.html --json # Step 3: If title/contentLength is empty or unusable, run browser fallback python3 "$SKILL_PATH/scripts/fetch-browser.py" "URL" /tmp/wx_article.html node "$SKILL_PATH/scripts/parse.mjs" /tmp/wx_article.html --json ``` ## ...[truncated 3357 chars]- Remediation
View remediation
