T08 · Insecure Dependencies
- Location
README.md:30- Finding
Unpinned npm CLI Installation Exposes Users to Supply-Chain Code Execution
- Content
View full analysis
- Remediation
View remediation
install chatgpt-memory-extraction ``` 2. Document the expected package publisher, version, and package integrity hash so users can verify the downloaded artifact. 3. Prefer a lockfile-backed installation workflow using `npm ci`, with exact dependency versions and integrity metadata committed to the project. 4. Pin the manual Git installation to a reviewed commit or signed tag: ```bash git clone https://github.com/cyresearch/chatgpt-memory-extraction.git cd chatgpt-memory-extraction git checkout --detach ``` 5. Publish and verify signed release artifacts where possible, and document a checksum verification procedure. 6. Apply the same hardened instructions consistently to `README.md`, `README.zh-CN.md`, and `README.ja.md`. 7. Advise users not to run installation commands with elevated privileges and to execute third-party installers in a restricted environment where practical. ]]>
