lockfile-lint-api 5.2.1 before 5.10.0 contains a validation bypass vulnerability in ValidatePackageNames.validate() that allows attackers to evade package name checks by using dot segments in resolved URLs. Attackers can submit a crafted lockfile declaring a trusted package name with a resolved path traversing to their own registry package, causing npm to install it instead.
https://github.com/lirantal/lockfile-lint/security/advisories/GHSA-f2p3-vh47-jhg6
https://github.com/lirantal/lockfile-lint/releases/tag/lockfile-lint-api%405.10.0
https://github.com/lirantal/lockfile-lint/commit/562a4bcbbf8e23f5613c31fcb65205ebc0f0069b