How do you treat dev-only and test dependencies in vulnerability gates?
IntermediateProductionSecurity Gates & Vulnerability Management
Answer
Separate them. Runtime image scans should only contain production dependencies, which removes most test-tooling noise. For SCA on manifests, treat dev dependencies with a lower SLA unless they run in CI with credentials (a malicious dev dependency can still steal CI secrets). For malicious packages, there is no "dev only" exception: block them everywhere.
More on Security Gates & Vulnerability Management
How do you design security gate thresholds that protect production without blocking delivery?IntermediateSketch where security gates sit in a delivery pipeline.BeginnerWhat are typical vulnerability remediation SLAs in production?BeginnerHow do you run a vulnerability exception (risk acceptance) process?IntermediateHow do you prioritise vulnerabilities beyond CVSS?IntermediateWhy do you gate on "new findings only" and how is this implemented?Intermediate