HR / Crypter

🔓✨🔒 An innovative, convenient and secure encryption app
https://git.io/Crypter
MIT License
459 stars 70 forks source link

Buffer vulnerability #41

Closed HR closed 5 years ago

HR commented 5 years ago

Version: 3.1.0

[DEP0005] DeprecationWarning: The Buffer() and new Buffer() constructors are not recommended for use due to security and usability concerns. Please use the new Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() construction methods instead.
    at showFlaggedDeprecation (buffer.js:127:13)

Buffer constructor presents a major security threat and has already been deprecated so change its uses to Buffer.from()