klaviyo-enterprise-rbac
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements logic to process user roles and permissions extracted from request metadata (
req.user.klaviyoRole). This creates a theoretical surface for indirect prompt injection where a maliciously crafted role or identity attribute could attempt to influence the agent's logic or bypass application-level checks. - Ingestion points:
req.user.klaviyoRoleis used inreferences/implementation.mdandreferences/examples.mdto determine permissions. - Boundary markers: The implementation uses a strict
AppRoleenum and a staticROLE_PERMISSIONSmap to delimit allowed actions, which acts as a robust boundary. - Capability inventory: The skill facilitates interactions with the Klaviyo API via
fetchcalls to official endpoints and uses scopedApiKeySessioninstances. - Sanitization: The code validates provided roles against the static configuration and is designed to "fail closed" if an unrecognized role is encountered.
Audit Metadata