create-trends
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- High-Privilege Database Operations: The skill's instructions suggest using the
postgressuperuser account to execute SQL migrations if standard application permissions are insufficient. - Evidence: In
SKILL.md, step 7 states: 'If permissions require the table owner, run psql as the local postgres user with the migration passed on stdin.' - Context: Granting an AI agent the ability to run commands as a database superuser is a significant privilege escalation risk, as it allows the agent to bypass standard access controls.
- Dynamic Command Generation and Execution: The workflow involves the AI agent generating SQL strings based on synthesized research data and executing them via the
psqlcommand-line utility. - Evidence:
SKILL.mddefines a workflow (Step 7) to 'Create an idempotent migration' and 'Apply the migration' usingpsql. - Context: Executing dynamically generated SQL from an LLM carries a risk of command or SQL injection if the inputs are not strictly validated, especially when those inputs are derived from external research papers.
- Indirect Prompt Injection Surface: The skill is designed to ingest and process text from external research papers (via arXiv and Hugging Face) to generate trend summaries.
- Ingestion points:
SKILL.md(Step 3) useshf-clito read external paper content. - Boundary markers: No explicit delimiters or instructions are provided to the agent to treat the paper content as purely untrusted data.
- Capability inventory: The skill possesses shell access and database write capabilities (
psql). - Sanitization: There is no evidence of sanitization or filtering of the external paper content before it is processed into a database migration.
- Context: This creates a surface where a malicious actor could embed instructions in a research paper that, when processed by the agent, could influence its database operations or other system actions.
Audit Metadata