This skill is highly insecure, utilizing unverified third-party binaries, lacking tool constraints, and exposing the agent to SQL injection and indirect prompt injection through malicious codebase indexing.
Findings (6)
Content Injection
Mediumtargets Perception
The skill indexes arbitrary codebases and allows querying them via SQL. If the agent processes the output of these queries as instructions (e.g., via 'conventions' or 'map' commands), it is vulnerable to indirect prompt injection from malicious code comments or symbol names.
ast-index conventions... ast-index map
Cognitive State
Mediumtargets Memory & Learning
The skill instructs the user to install a binary from a third-party Homebrew tap ('defendend/ast-index'), which is an unverified external source that could provide malicious code.
brew tap defendend/ast-index brew install ast-index
Behavioural Control
Hightargets Action
SQL injection — UNION-based query injection pattern detected
UNION ALL SELECT
The skill explicitly mandates that the agent override standard search tools (grep, ripgrep) in favor of its own CLI, potentially forcing the agent to rely on a specific, attacker-controlled binary for all code exploration.
ALWAYS use ast-index FIRST for any code search task... DO NOT run grep 'for completeness' after ast-index returns results
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.