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.
netcore-passwords
Advanced tools
This library provides Node.js compatibility with .NET Core Identity framework. If you're migrating a .NET Core application to Node.js, or if you need to share the same users database, this library is here to help.
This library is compatible ONLY with the Version 3 of the .NET Password Hasher, in it's default configuration.
PBKDF2 with HMAC-SHA256, 128-bit salt, 256-bit subkey, 10000 iterations.
npm install netcore-passwords
const p = require('netcore-passwords');
// Generate hash
const hash = p.hash('clearTextPassword');
console.log(hash);
// Save this hash into your users database
const p = require('netcore-passwords');
const hash = ''; // Fetch this has from your users database;
// Verify
if (p.verify('clearTextPassword', hash)) {
console.log("PASSWORD MATCH");
} else {
console.log("PASSWORD DOESN'T MATCH");
}
npm test
MIT
[1.0.0] - 2018-06-01
FAQs
.NET Core compatible password hashing and verification
The npm package netcore-passwords receives a total of 1 weekly downloads. As such, netcore-passwords popularity was classified as not popular.
We found that netcore-passwords 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.