electoral-analysis
Pass
Audited by Gen Agent Trust Hub on Mar 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The Python implementation in
SKILL.mduses f-string interpolation to construct SQL queries, notably in theaggregate_polls_weightedandanalyze_campaign_event_impactmethods. This practice can lead to SQL injection vulnerabilities if parameters likelookback_daysorevent_dateare derived from unsanitized user input.- [PROMPT_INJECTION]: The skill possesses an indirect prompt injection attack surface because it processes untrusted data from external database tables. - Ingestion points: The skill reads from
opinion_polls,world_bank_data, andcurrent_government_statustables usingpandas.read_sqlinSKILL.md. - Boundary markers: There are no delimiters or 'ignore' instructions used when the agent processes the results of these database queries.
- Capability inventory: The skill executes database reads and performs complex statistical analysis/regressions via Python.
- Sanitization: The skill lacks validation or sanitization logic for the data retrieved from the database before it influences the model's output.
Audit Metadata