Skip to content

Commit 9133f15

Browse files
committed
Clarifications about dependency chains
1 parent abc2447 commit 9133f15

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Gathering-weak-npm-credentials.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Gathering weak npm credentials
22

3-
_Or how I obtained direct publish access to 13% of npm packages (including popular ones)._
3+
_Or how I obtained direct publish access to 13% of npm packages (including popular ones)._\
4+
_The estimated number of packages potentially reachable through dependency chains is 52%._
45

56
---
67

@@ -44,6 +45,9 @@ In total, there were 66876 public packages from 15495 accounts directly affected
4445

4546
Taking dependencies into an account, to my estimations about 52% of the ecosystem was affected — i.e. that number of packages install affected ones along with them through dependency chains.
4647

48+
_That said, dependency chains and semver are not the culprits — grouping deps into larger modules wouldn't have fixed anything and breaking semver would have caused more security problems.
49+
I will (hopefully) cover that later, but [@joepie91](https://github.com/joepie91) has some notes about that in [his gist](https://gist.github.com/joepie91/828532657d23d512d76c1e68b101f436)._
50+
4751
### Overall
4852
* In total, I found **15568 valid credentials for 15495 accounts** since this May.
4953
* Of those, 15343 accounts have published something (I was targeting only those for everything but npm credentials leaks). The total number of such accounts on npm was 125665, so that gives us **12% of accounts with leaked or weak credentials**.

0 commit comments

Comments
 (0)