web-reader
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the extraction of content from external web pages, creating a vulnerability surface for indirect prompt injection.
- Ingestion points: The
page_readerfunction (referenced inSKILL.mdand implemented inscripts/web-reader.ts) fetches raw HTML and metadata from arbitrary user-supplied or agent-supplied URLs. - Boundary markers: The documentation and code examples lack explicit structural delimiters or system-level instructions to ignore or isolate embedded prompts within the scraped content.
- Capability inventory: The skill is designed to return processed web content (HTML and plain text) for downstream analysis by an AI agent, which is a common vector for instruction-based attacks.
- Sanitization: Although the skill mentions sanitization as a best practice, the provided code examples use basic regular expressions (e.g.,
/<[^>]*>/g) to strip tags, which does not effectively mitigate malicious natural language instructions hidden in the text.
Audit Metadata