tl-docs-viewer-create
Pass
Audited by Gen Agent Trust Hub on May 1, 2026
Risk Level: SAFE
Full Analysis
- [DATA_EXPOSURE]: The skill provides server-side API templates (Fastify and Express) for reading documentation files from the local filesystem. It implements a robust
isValidDocPathvalidation function that usespath.resolveand prefix verification to ensure that requested file paths cannot escape the designated documentation root directory, preventing path traversal attacks. - [EXTERNAL_DOWNLOADS]: The skill suggests and provides implementation patterns for several well-known and reputable third-party libraries including
@tanstack/react-query,react-markdown,mermaid, andflexsearch. It also integrates components from trusted organizations like Vercel. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates the rendering of documentation files which could be an injection surface. It identifies this risk by providing explicit warnings in the
mermaid-markdown.tsxtemplate regarding the use ofdangerouslySetInnerHTMLin fallback logic and strongly advises the use of established, secure rendering libraries for production environments. - [DYNAMIC_EXECUTION]: The skill includes guidance for implementing MDX support, which involves runtime compilation and execution of interactive documentation content. This functionality is presented as an optional, high-level feature for building complex documentation sites and is handled through established libraries like
@mdx-js/mdx.
Audit Metadata