Log inGet a Demo

ast-index

High · Risk 70

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

Medium

targets Perception

1 finding
#1Potential for indirect prompt injection via indexmediumindirect prompt injection70% confidence

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

Medium

targets Memory & Learning

1 finding
#1Unverified binary installation via tapmediumsupply chain80% confidence

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

High

targets Action

3 findings
#1SQL injection — UNION-based query injection pattern detectedhigh100% confidenceline 402

SQL injection — UNION-based query injection pattern detected

UNION ALL SELECT
#2Tool shadowing of built-in search capabilitiesmediumtool shadowing90% confidence

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
#3Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.