remotion-best-practices

Pass

Audited by Gen Agent Trust Hub on Oct 23, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill documents patterns for ingesting untrusted external data which could contain malicious instructions designed to influence the agent's behavior during video composition or analysis.
  • Ingestion points: The calculateMetadata function (in rules/calculate-metadata.md and rules/compositions.md) fetches JSON data from attacker-controllable URLs (props.dataUrl) or templated API endpoints. Additionally, rules/import-srt-captions.md fetches and parses external .srt subtitle files.
  • Boundary markers: No explicit instruction delimiters or "ignore embedded instructions" warnings are provided in the examples when interpolating external data into props.
  • Capability inventory: Ingested data is used to dynamically set composition properties (props), dimensions (width, height), and timing (durationInFrames). While mostly affecting visual output, these props are passed directly to React components which the agent may be tasked to analyze.
  • Sanitization: The provided examples do not include sanitization, validation, or escaping for the fetched JSON or SRT content.
  • [EXTERNAL_DOWNLOADS]: The skill instructions frequently recommend installing external packages and fetching remote assets.
  • Packages: Encourages installation of official Remotion ecosystem packages (@remotion/three, @remotion/media, @remotion/captions, @remotion/google-fonts, @remotion/fonts, @remotion/layout-utils, @remotion/gif, @remotion/transitions) and the mediabunny media utility library.
  • Remote Assets: Examples demonstrate fetching assets from remotion.media (official domain), lottiefiles.com, and generic placeholder domains like example.com.
  • [COMMAND_EXECUTION]: The documentation provides standard installation commands using package managers.
  • Evidence: Provides npx, bunx, yarn, and pnpm exec commands for adding Remotion dependencies to a project (e.g., npx remotion add @remotion/three). These are standard developer operations for the platform.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 23, 2026, 02:38 PM