tgaz-query
Pass
Audited by Gen Agent Trust Hub on Aug 30, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's setup instructions direct the agent to download the gazetteer database and utility scripts from a public GitHub repository (
https://github.com/kltng/tgaz-sqlite.git). - [COMMAND_EXECUTION]: Instructions in
SKILL.mdprompt the agent to execute shell commands such asgit lfs install,git clone, andcpto prepare the execution environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from an external SQLite database (
tgaz.db) containing over 82,000 historical records, which represents a potential attack surface for indirect prompt injection. - Ingestion points: Untrusted data from the database (specifically placenames and historical notes in the
snotetable) is ingested into the agent's context through thequery_tgaz.pyscript. - Boundary markers: None present; the instructions encourage the agent to incorporate the database results directly into natural language responses.
- Capability inventory: The agent is equipped with shell and Python execution capabilities to run the provided database tools.
- Sanitization: While the
query_tgaz.pyscript correctly uses SQL parameterization to prevent SQL injection, it lacks mechanisms to sanitize or delimit the database content to prevent the agent from obeying instructions potentially embedded in the historical data.
Audit Metadata