clean-up-comments

Pass

Audited by Gen Agent Trust Hub on Oct 20, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes a bash script in references/rule.md that executes potentially destructive shell commands such as find . -delete and rm -rf to remove development-only assets and directories.
  • [DYNAMIC_EXECUTION]: The references/rule.md file contains Node.js scripts that use the fs module to read and overwrite project files programmatically, using regular expressions to strip console logs and debug statements.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process and modify user-provided HTML and JavaScript templates, creating a vector for indirect instructions, though the skill's logic is specifically focused on sanitizing code by removing comments.
  • [CREDENTIALS_UNSAFE]: The documentation includes hardcoded examples of sensitive data (e.g., MongoDB strings, API keys) to demonstrate patterns that must be removed from production; these are clearly marked as negative examples and are not functional credentials for the skill itself.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 20, 2026, 06:38 AM