codeguard-html
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to automate the discovery and linting of HTML files within a repository. It employs standard utilities such as
find,grep, andxargsto pipe file lists to thehtmlhintlinter. Evidence: Found inSKILL.mdandreferences/tooling/toolchain.mdas the primary mechanism for executing the code gate. - [EXTERNAL_DOWNLOADS]: The skill utilizes
npx --no-installto runhtmlhint. Whilenpxis a standard Node.js tool, it may fetch the package from the official npm registry if it is not already cached locally. This behavior is consistent with developer workflows for ensuring tool availability without global installation. Evidence: Referenced inSKILL.mdandreferences/tooling/toolchain.mdusing thenpx --no-install htmlhintpattern. - [INDIRECT_PROMPT_INJECTION]: The skill processes local HTML files as part of its linting workflow. While this introduces a surface for indirect prompt injection if an attacker can place malicious instructions within the HTML files, the tools used (
htmlhintandprettier) are static analysis utilities and do not execute the content of the files, significantly limiting the risk. 1. Ingestion points: Local.htmland.htmfiles (specified inSKILL.md). 2. Boundary markers: The skill instructs the agent to use authorized paths and specific find/grep patterns to isolate files. 3. Capability inventory: Shell command execution viabashand file write capability viaprettier --write. 4. Sanitization: The skill relies on the standard parsing behavior ofhtmlhintandprettier; no additional sanitization is applied to the raw HTML content before processing.
Audit Metadata