Skip to content

Commit

Permalink
docs: fix typo on "Threats and Mitigations" page (npm#409)
Browse files Browse the repository at this point in the history
This:

> If you believe you have identified **a** dependency confusion **packages**...

Should read:

> If you believe you have identified a dependency confusion **package**...
  • Loading branch information
ericmutta authored Jan 12, 2023
1 parent 6c61d51 commit 90b7246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/threats-and-mitigations/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm does periodically check if accounts email addresses have expired domains or

Attackers may attempt to trick others into installing a malicious package by registering a package with a similar name to a popular package, in hopes that people will mistype or otherwise confuse the two. npm is able to detect typosquat attacks and block the publishing of these packages.

A variant of this attack is when a public package is registered with the same name of a private package that an organization is using. We strongly encourage using [scoped packages](https://github.blog/2021-02-12-avoiding-npm-substitution-attacks/) to ensure that a private package isn’t being substituted with one from the public registry. While npm is not able to detect dependency confusion attacks we have a zero tolerance for malicious packages on the registry. If you believe you have identified a dependency confusion packages, [please let us know][report-malware]!
A variant of this attack is when a public package is registered with the same name of a private package that an organization is using. We strongly encourage using [scoped packages](https://github.blog/2021-02-12-avoiding-npm-substitution-attacks/) to ensure that a private package isn’t being substituted with one from the public registry. While npm is not able to detect dependency confusion attacks we have a zero tolerance for malicious packages on the registry. If you believe you have identified a dependency confusion package, [please let us know][report-malware]!

### By changing an existing package to have malicious behavior

Expand Down

0 comments on commit 90b7246

Please sign in to comment.