baoyu-url-to-markdown
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill launches a local browser instance (Chrome, Edge, or Chromium) via
child_process.spawninscripts/cdp.ts. This is used to render the target URL and handle JavaScript-heavy sites. - [DYNAMIC_EXECUTION]: The skill uses the Chrome DevTools Protocol (
Runtime.evaluate) inscripts/cdp.tsto execute a large block of JavaScript within the target website's context. This script (cleanupAndExtractScriptBodyinscripts/html-to-markdown.ts) is used to extract metadata and clean the DOM before conversion. - [INDIRECT_PROMPT_INJECTION]: The skill processes arbitrary content from the internet. Maliciously crafted websites could contain instructions designed to influence or override the agent's behavior when the resulting markdown is processed.
- Ingestion points: The
captureUrlfunction inscripts/main.tsfetches content from user-provided URLs. - Boundary markers: Absent. The resulting markdown is returned to the agent without explicit delimiters or instructions to ignore embedded commands.
- Capability inventory: The skill can spawn subprocesses (browser), write to the local file system (saving markdown files), and perform network operations via the browser.
- Sanitization: The skill uses
ReadabilityandTurndownto strip scripts and styles, and includes asanitizeHtmlfunction. However, it does not filter natural language instructions that could trigger injection. - [EXTERNAL_DOWNLOADS]: The
SKILL.mdfile recommends usingnpx -y bun, which will download the Bun runtime if it is not already present in the user's environment.
Audit Metadata