wiki-vitepress
Pass
Audited by Gen Agent Trust Hub on Apr 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands
npm installandnpm run docs:buildwithin a generated directory to compile the static site.- [EXTERNAL_DOWNLOADS]: Runningnpm installfetches packages from the public npm registry. These are well-known services, but thepackage.jsoncontent is generated at runtime based on the skill's instructions.- [REMOTE_CODE_EXECUTION]: The skill generates TypeScript and configuration files (config.mts,theme/index.ts) which are subsequently executed on the host system during the VitePress build process.- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection risks as it processes untrusted Markdown data to generate site content. - Ingestion points: The agent scans and processes all
.mdfiles in the source directory (SKILL.md). - Boundary markers: Absent; there are no delimiters or instructions to ensure user-provided content is not interpreted as instructions during the build or at runtime.
- Capability inventory: Includes shell command execution (
npm) and file system writes, which are triggered by the content transformation process. - Sanitization: No sanitization is performed on the HTML/Markdown content. The 'Click-to-Zoom' implementation in
theme/index.tsusesinnerHTMLto replicate content from the DOM, which could execute malicious scripts if an attacker embeds them in the input Markdown files.
Audit Metadata