Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Native implementation of Unix compatible DES/MD5/SHA256/SHA512 password hashing.
This is a native javascript implementation of Unix/Linux compatible password hashing. The currently implemented variants include legacy-DES, MD5 ($1$), SHA256 ($5$), and SHA512 ($6$).
The ones missing are
Should some brave soul implement any or all of above, they will be accepted.
const up = require('unixpass');
// Returns password hash using SHA256
up.crypt('mypassword', '$5$saltsaltmoresalt');
// Returns a password hash with autogenerated salt using SHA512
up.mkpass('mypassword');
// Returns true if password matches hash, false otherwise
up.check('mypassword', '$1$saltsalt$dfhjlwheucnsdicbnwuibnwicb');
Be aware that legacy-DES only cares about first 8 characters of the password. While no new passwords should be encrypted using that, it may be useful in validating some old stuff. Also, it is an interesting piece of history that deserves to be reimplemented also in js.
Timo J. Rinne tri@iki.fi
GPL-2.0
FAQs
Native implementation of Unix compatible DES/MD5/SHA256/SHA512 password hashing.
The npm package unixpass receives a total of 492 weekly downloads. As such, unixpass popularity was classified as not popular.
We found that unixpass 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.