T08 · Insecure Dependencies
- Location
assets/remotion-starter/package.json:7- Finding
Unpinned Third-Party Dependencies May Execute Unreviewed Code
- Content
View full analysis
--frame=150 --scale=0.25 npx remotion render out/final.mp4 ``` ### Technical Analysis The npm dependencies use caret version ranges, which allow installation of newer compatible releases than the versions represented in the audited source. No committed package lockfile was present in the supplied directory structure, so dependency resolution is not reproducible. The Python installation instruction installs `Pillow` without a version constraint or package hash. In addition, direct `npx remotion` commands may download and execute a package when an appropriate local executable is unavailable. Package installation can execute lifecycle scripts, while CLI invocation directly executes package code. Consequently, the effective code executed by users can differ from the code reviewed during this audit. This finding does not establish that the currently named packages are malicious. It identifies an unsafe dependency-resolution process that leaves execution dependent on mutable external registry state. ### Attack Path 1. An attacker compromises an allowed package release, transitive dependency, or relevant package-registry account. 2. Alternatively, an unexpected or malicious newer version becomes eligible under a caret range. 3 ...[truncated 776 chars]- Remediation
View remediation
