code-lint
Warn
Audited by Gen Agent Trust Hub on Jul 31, 2026
Risk Level: MEDIUMCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The instructions in
SKILL.mdinterpolate positional arguments directly into shell commands (e.g.,uv run ruff check ${1:-.},npm run lint ${1:-.}). Because these variables are not escaped or sanitized, an attacker providing a path containing shell metacharacters (e.g.,; rm -rf /) could achieve arbitrary command execution. - [COMMAND_EXECUTION]: The helper script
detect-and-fix.shuseseval "$cmd"to execute linter commands. While the commands themselves are largely hardcoded within the script, usingevalto process strings in an environment where the working directory is controlled by user-supplied arguments is a risky execution pattern. - [SAFE]: The skill utilizes dynamic context injection (commands starting with
!) in the YAML frontmatter to detect project files. The specific commands used (find . -maxdepth 1 ...) are benign and standard for identifying project structures likepackage.jsonorCargo.toml.
Audit Metadata