T08 · Insecure Dependencies
- Location
INSTALLATION.md:17- Finding
Unpinned and Unverified Remote Installation Sources
- Content
View full analysis
- Remediation
View remediation
python3 -m pip install claw-ethics-checker== ``` 2. Pin manual installations to an immutable Git commit: ```bash git clone https://github.com//claw-ethics-checker.git cd claw-ethics-checker git checkout ``` 3. Publish release artifacts with SHA-256 checksums and verify them before extraction: ```bash wget https://github.com//claw-ethics-checker/releases/download//claw-ethics-checker.zip echo " claw-ethics-checker.zip" | sha256sum --check - ``` 4. Cryptographically sign releases or commits and document signature verification. 5. Reconcile `INSTALLATION.md`, `EXAMPLES.md`, and `package.json` so every reference identifies one canonical repository owner and URL. 6. Avoid global npm installation unless it is required. Prefer a dedicated, least-privileged environment and review package lifecycle scripts before installation. 7. Use a Python virtual environment rather than installing into a shared or privileged interpreter: ```bash python3 -m venv .venv . .venv/bin/activate python3 -m pip install --require-hashes -r requirements.txt ``` 8. Configure automated dependency and provenance checks to detect repository ownership changes, unexpected package releases, and checksum mismatches. ]]>
