estack-ecto
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides defensive programming guidelines for Elixir applications. It emphasizes using Ecto changesets for input validation to prevent mass-assignment vulnerabilities and ensures all database lookups are scoped to the authenticated user to prevent unauthorized data access.
- [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for handling external data within a database context.
- Ingestion points: SKILL.md provides examples of context functions like create_report and get_report that accept map-based attributes and user identifiers from the application caller.
- Boundary markers: The instructions provide explicit guidance to exclude protected fields (e.g., :user_id, :tenant_id) during input casting, establishing clear security boundaries for untrusted data.
- Capability inventory: The skill uses standard Ecto repository functions (Repo.insert, Repo.one) and transaction management via Ecto.Multi for data persistence.
- Sanitization: It requires the use of application Policy modules for authorization and Changeset modules for data validation and constraint handling before any database modification occurs.
Audit Metadata