T08 · Insecure Dependencies
- Location
SKILL.md:31- Finding
Unpinned Third-Party Packages and Browser Runtime Installation
- Content
View full analysis
- Remediation
View remediation
clawhub install xiaohongshu-hot-daily npm install --save-exact agent-browser@ ``` 2. Install dependencies locally within the project rather than globally, and invoke them through a package script or a version-pinned `npx` command. 3. Commit a lockfile with dependency integrity hashes and use a reproducible installation command such as: ```bash npm ci --ignore-scripts ``` If lifecycle scripts are required, review them first and enable only the necessary installation step explicitly. 4. Pin and verify the Chromium runtime version. Where supported, validate the downloaded artifact using a publisher signature or a documented SHA-256 checksum. 5. Document the expected registry and official package publisher so users can verify package provenance before installation. 6. Run installation and browser automation as an unprivileged user in an isolated environment or container. Do not use administrative privileges for global installation. 7. Add automated dependency monitoring and repeat the security review before updating any pinned package or browser runtime. ]]>
