T08 · Insecure Dependencies
- Location
SKILL.md:94- Finding
Unpinned Playwright Package Is Retrieved and Executed
- Content
View full analysis
- Remediation
View remediation
``` 2. Commit `package.json` and the generated lockfile, and provision with: ```bash npm ci npx playwright install chromium ``` 3. Use registry integrity metadata and verify that the lockfile resolves only to the expected registry. 4. Separate browser download from operating-system dependency installation. Review and install required OS packages through the distribution package manager using a narrowly scoped privileged step. 5. Do not run `npx`, npm lifecycle operations, or browser installation as root. 6. Consider an internally mirrored or preapproved package source and a prebuilt VM/container image for repeatable deployments. 7. Add dependency scanning and lockfile review to the deployment workflow before version updates are accepted. ]]>
