baoyu-url-to-markdown
Pass
Audited by Gen Agent Trust Hub on Mar 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a vendored CLI tool (
baoyu-fetch) using thebunornpxruntime to perform web extraction. - Evidence:
SKILL.mdinstructs the agent to run${READER} <url>where${READER}is resolved tobun {baseDir}/scripts/vendor/baoyu-fetch/src/cli.ts. - [EXTERNAL_DOWNLOADS]: The skill fetches content from arbitrary user-provided URLs and can optionally download media assets (images/videos) to the local filesystem.
- Evidence:
scripts/vendor/baoyu-fetch/src/media/default-downloader.tsuses thefetchAPI to download media assets. - Evidence:
scripts/vendor/baoyu-fetch/src/extract/html-to-markdown.tsperforms a fallback request tohttps://defuddle.mdto retrieve converted Markdown content for a page. - [PROMPT_INJECTION]: The skill processes untrusted external data (web content), which presents a surface for indirect prompt injection attacks.
- Ingestion points: The skill captures HTML content from web browsers via
BrowserSession.getHTML()insession.ts. - Boundary markers: The resulting Markdown output does not utilize explicit security delimiters or "ignore instructions" warnings when presenting extracted text to the agent.
- Capability inventory: The agent has the ability to execute shell commands (to run the CLI) and write files to the local directory (to save Markdown/media).
- Sanitization: The skill uses
jsdomfor HTML cleaning andturndownfor Markdown conversion, which strips executable scripts but preserves text content that could contain natural language instructions. - [PERSISTENCE_MECHANISMS]: The skill utilizes a persistent Chrome user data directory to maintain session state (cookies and logins) for sites that require authentication.
- Evidence:
scripts/vendor/baoyu-fetch/src/browser/profile.tsmanages a Chrome profile directory at~/.baoyu-skills/chrome-profileor a path specified by theBAOYU_CHROME_PROFILE_DIRenvironment variable.
Audit Metadata