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.
Uniqd is a irreversible ObjectId generator tool. Need a unique id for something? Uniqd is for you.
Simple, just install it, require it and use it
npm install edge-uniqd
let uid = require('edge-uniqd');
console.log(uid); // 00a4acfcdf2205cb89e8ea721e8def45
Uniqd will always return a 32bit ObjectID string, but what makes it really unique and irreversible? Well, first of all the script generate enough entropy taking some special data of the PC, like:
The fingerprint is where all the "heavy" entropy is made because the script makes a big string with this data:
Then we take this full data an hash it with crypto.createHash
and the md5
algoritm... the result is an irreversible 32bit hasehd string.
FAQs
An irreversible ObjectID generator
The npm package edge-uniqd receives a total of 0 weekly downloads. As such, edge-uniqd popularity was classified as not popular.
We found that edge-uniqd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.