remotion-best-practices
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes external data from multiple sources, creating a potential attack surface for indirect prompt injection. Malicious instructions embedded in these files could influence the agent's behavior when it processes the content for the user.
- Ingestion points:
- Fetches and parses JSON caption files in
rules/display-captions.md. - Parses external
.srtsubtitle files inrules/import-srt-captions.md. - Ingests data from remote URLs via
props.dataUrlinrules/calculate-metadata.md. - Processes transcription output from Whisper.cpp in
rules/transcribe-captions.md. - Ingests
lineCoordinatesand GeoJSON data inrules/maps.md. - Boundary markers: No explicit delimiters or instructions to ignore embedded commands are present in the provided code snippets when interpolating untrusted text into components (e.g.,
{token.text},{typedText}). - Capability inventory: The skill utilizes
execSyncfor FFmpeg operations inrules/transcribe-captions.mdand performs various network operations usingfetchto retrieve data and assets. - Sanitization: There is no evidence of sanitization or validation logic for the text content rendered in video components, leaving the system susceptible to instructions hidden in processed media data.
- [EXTERNAL_DOWNLOADS]: The skill encourages downloading and installing numerous packages and assets from external sources.
- Fetches Lottie animation data from
assets4.lottiefiles.cominrules/lottie.md. - Downloads sound effects from
remotion.mediaand references thesoundcnGitHub repository inrules/sfx.md. - Installs whisper.cpp and related models from the
ggml-orgGitHub repository inrules/transcribe-captions.md. - These downloads target well-known or trusted services and organizations, which aligns with standard development practices for the Remotion ecosystem.
- [COMMAND_EXECUTION]: The skill provides instructions for executing shell commands and Node.js subprocesses.
- Uses
npx create-videofor project scaffolding andnpx remotionfor Studio, rendering, and package management across several files. - Utilizes
execSyncto invokeffmpegfor audio conversion inrules/transcribe-captions.md. - These operations are consistent with the primary purpose of building and rendering programmatic videos.
Audit Metadata