You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

2017-02-24-cloudflare-statement.md 2.3 kB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. layout : post
  3. title : "Cloudflare security incident and impact on Yarn users"
  4. author : Sebastian McKenzie
  5. author_url : "https://twitter.com/sebmck"
  6. date : 2017-02-24 14:00:00
  7. categories : announcements
  8. share_text : "Yarn statement on Cloudflare security incident"
  9. ---
  10. Yarn uses its own proxy to the npm registry in order to allow us to experiment
  11. with the way the Yarn client works and allow optimizations in the future around
  12. how packages are resolved. This registry is used by all Yarn users by default.
  13. In order to do this we use the popular service, Cloudflare, which is used by
  14. thousands of companies and who had offered to work with us to make Yarn installs
  15. faster globally.
  16. Recently it was [reported](https://blog.cloudflare.com/incident-report-on-memory-leak-caused-by-cloudflare-parser-bug/)
  17. that Cloudflare had a serious bug that was leading to requests from other websites
  18. being leaked into HTTP responses.
  19. When it comes to registry authentication, the Yarn client differs from the npm
  20. client in that when we perform authentication we do not store the resulting token
  21. and invalidate it after it's used.
  22. However, Yarn still allows you to login with your npm account to perform actions
  23. such as publishing and downloading private packages. Out of the 70 million requests
  24. performed daily we only get 10-30 requests that involve registry authentication.
  25. This means that for these requests there was the possibility of user passwords
  26. being leaked.
  27. **Since the Cloudflare announcement we've been in contact and have been assured
  28. that Yarn has not been affected and no Yarn users data has been leaked. Even with
  29. this assurance we'd recommend that if you're one of those 30 people a day using Yarn
  30. for registry authentication that you reset your password as a precautionary measure.**
  31. As a result of this we're evaluating our security policy and have created a new email
  32. address [security@yarnpkg.com](mailto:security@yarnpkg.com) that can be used to report
  33. security vulnerabilities without going through the public issue tracker. We're also in
  34. the process of setting up a HackerOne account and will make an announcement when this
  35. is available.
  36. We'd like to apologize for this disruption and want to reaffirm our commitment to security
  37. and transparency in cases like these.

js yarn包管理组件依赖分析

Contributors (1)