active-storage
Pass
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of untrusted data through file upload patterns in controllers and views (Step 4, Step 7 in SKILL.md).
- Ingestion points: External files are ingested via
paramsin controller actions such asuser.avatar.attach(params[:avatar])and through multi-file form submissions. - Boundary markers: The skill emphasizes the use of
signed_id(Step 7) to securely reference attachments, providing a boundary against unauthorized blob access. - Capability inventory: The skill environment includes capabilities for shell execution (
Bashfor rails and database tasks), file writing, and editing. - Sanitization: The skill provides a dedicated 'Content Type Validation' section in
reference.md, detailing how to implement manual validation forcontent_typeandbyte_sizeor use theactive_storage_validationsgem to mitigate risks from malicious file uploads.
Audit Metadata