Severity
Medium
Short Description
The package was published by an npm account that no longer exists.
Packages
View packages with this alert.Suggestion
Packages should have active and identified authors.
npm is full of abandoned packages and it's not always easy to know if they are abandoned without a little digging. Packages where the author no longer exists on npm are risky dependencies. This alert offers one of the fastest ways to determine with high confidence if a package may be abandoned.
When a maintainer's account is deleted, there is no longer an accountable party addressing security issues or shipping bug fixes, which leaves these packages open to exploitation.
There are two npm policies related to this that are factors in why abandoned packages are allowed to remain in the registry:
npm retains abandoned packages for their historical value, even when the author's account no longer exists: This policy, clarified in 2022, means that such packages are not removed from the registry to preserve their historical context.
npm prohibits the adoption of abandoned packages: npm's stance is that unmaintained packages will remain as they are, and they do not intervene in maintaining or reassigning these packages, except through their naming and trademark dispute policies. This is due to the fact that allowing adoption of abandoned packages could be an attack vector that new ill-intentioned maintainers could use for a supply chain attack.
Here's an example of an npm package that is 12 years old, where the author no longer exists. The Non-Existent Author alert is also frequently accompanied by high severity CVEs and other supply chain risk alerts.
Socket displays this alert on npm packages where the author's account no longer exists. More specifically, it displays when the actual account that published the package version no longer exists.
The “Non-Existent Author” Alert: How to Safeguard Against the Dangers of Abandoned npm Packages