Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

npm/npm-registry-fetch
main @ 6b4159a
1
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Credential Leak: 1 prior fix. Scrutinize any change in this area.
auth.js: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Credential Leak: Sensitive authentication tokens (headers.authorization) can be inadvertently sent to incorrect hosts if credentials are loaded or transmitted based on a generic registry URI rather than the specific, fully-validated target URI. This can lead to credential exposure during redirects or requests to third-party mirrors.