web-quality-audit
Pass
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted source code (HTML files) to perform audits. This creates a surface for indirect prompt injection where an attacker could embed malicious instructions within the files being audited (e.g., in HTML comments or attributes) to influence the agent's behavior.
- Ingestion points: The
scripts/analyze.shscript and the agent's instructions inSKILL.mdinvolve reading and processing the user's project files. - Boundary markers: The
SKILL.mdfile contains an "Anti-Patterns" section that explicitly instructs the agent not to treat external content, logs, or tool responses as trusted instructions, which serves as a mitigation. - Capability inventory: The skill uses a shell script (
analyze.sh) and provides the agent with the ability to read project files and generate optimization recommendations. - Sanitization: The shell script is written defensively (using
set -euo pipefailand safely handling variables ingrepandjq), but the primary risk is the LLM's interpretation of the data. - [COMMAND_EXECUTION]: The skill includes and uses a shell script (
scripts/analyze.sh) to perform static analysis on project files. - Evidence: The script uses
find,grep, andjqto scan HTML files. While the script is read-only and uses safe practices (such as process substitution andjq --argfor JSON construction), it involves executing code in a shell environment.
Audit Metadata