Dependency risk assessment
Judges a new dependency beyond known CVEs: maintenance, project security practices and signs of a malicious package.
Sub-techniques
2
| ID | Name | Description |
|---|---|---|
V1018.001 | Project health scoring | Score a dependency's repository practices (branch protection, signed releases, CI). |
V1018.002 | Malicious package heuristics | Scan package contents for install-time scripts, obfuscation and exfiltration. |
Craft it
- Run the scan only when a dependency is added or its source changes.
- Require a reviewer sign-off below a score threshold rather than failing outright.
Reverse engineer it
Signs that a codebase already runs this technique, and where to read how it is configured.
- An ossf/scorecard-action workflow, or guarddog in CI.
Open-source packages
2
- OpenSSF Scorecard ossf/scorecard
- GuardDog DataDog/guarddog