safe-action-middleware
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill establishes patterns for processing external input through middleware.
- Ingestion points: The variables
clientInputandparsedInputare used to receive raw and validated user data across all files. - Boundary markers: The skill instructs developers to use Zod
inputSchemavalidation before processing data in actions. - Capability inventory: Examples include database operations, logging, and error reporting based on user-supplied data.
- Sanitization: Zod validation is used as a standard sanitization mechanism for incoming input.
- [DATA_EXFILTRATION]: The skill documents methods for managing sensitive information like API keys and user sessions.
- Evidence: The
auth-patterns.mdfile demonstrates extracting API keys from headers and validating session tokens. - Context: These patterns represent standard authorization workflows and do not include hardcoded credentials or unauthorized data transmission.
- [EXTERNAL_DOWNLOADS]: The skill refers to well-known packages and monitoring services.
- Evidence: Documentation includes examples for using
@sentry/nextjsfor error tracking andzodfor data validation. - Context: These are established, trusted dependencies used for application observability and safety within the intended use-case.
Audit Metadata