Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
This is a node.js module, written in C++, that DES encrypts given buffer with the given key. And it actually works, compared to nonsense output that node.js's crypto module produced.
It was written by Peteris Krumins (peter@catonmat.net). His blog is at http://www.catonmat.net -- good coders code, great reuse.
I wrote this module so that I could add VNC Authentication in node-rfb module. Don't use it for anything else cause DES is completely broken and can be cracked in a day.
var ecnrypted_data = require('des').encrypt(key, data_buffer);
Note: data_buffer's length must be a multiple of 8.
node-waf configure build
Have fun encrypting. Not. (Don't use this module for encryption.)
Sincerely, Peteris Krumins http://www.catonmat.net
FAQs
A C++ module that does DES encryption.
The npm package des receives a total of 26 weekly downloads. As such, des popularity was classified as not popular.
We found that des demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.