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 the bun or npx runtime to perform web extraction.
  • Evidence: SKILL.md instructs the agent to run ${READER} <url> where ${READER} is resolved to bun {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.ts uses the fetch API to download media assets.
  • Evidence: scripts/vendor/baoyu-fetch/src/extract/html-to-markdown.ts performs a fallback request to https://defuddle.md to 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() in session.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 jsdom for HTML cleaning and turndown for 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.ts manages a Chrome profile directory at ~/.baoyu-skills/chrome-profile or a path specified by the BAOYU_CHROME_PROFILE_DIR environment variable.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 28, 2026, 12:55 AM