framer-component-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The examples in
references/EXAMPLES.mdfetch resources from several external providers. TheTweemojicomponent imports thetwemoji-parserlibrary fromjspm.devand uses SVG assets from Cloudflare's CDN. TheNotescomponent loads custom typography from Google Fonts. Additionally, multiple components use default images hosted on the vendor's own domain (framerusercontent.com). - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The
CookieBannercomponent (inreferences/EXAMPLES.md) accepts amessageproperty and theNotescomponent accepts anoteproperty, both of which are user-supplied strings from the Framer interface. - Boundary markers: No explicit markers or instructions are used to delimit user-provided text from the rest of the component's internal logic or to warn the agent about embedded instructions.
- Capability inventory: The components are limited to standard React UI functionality, animation via Framer Motion, and browser-side state management. There are no capabilities for file system access, shell command execution, or sensitive network operations.
- Sanitization: Standard React JSX escaping is present, which prevents script execution in the browser but does not provide semantic filtering for natural language instructions that might target an AI agent.
Audit Metadata