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.
hw-fingerprint
Advanced tools
Hardware-based fingerprint for Node and Electron
This library provides a getFingerprint()
function that produces a 512-bit signature based on the host machine's hardware information, suitable for use in Electron or Node client apps that require authentication against a server.
To get the information used to generate the fingerprint, use getFingerprintingInfo()
It uses information provided by Node's OS module and systeminformation library and has no other dependencies.
getFingerprint()
is always asynchronous and returns a Node Buffer. The returned promise is internally cached, so the actual implementation gets called just once.
const { getFingerprint } = require('hw-fingerprint')
// with async/await
async function(){
const fingerprint = await getFingerprint()
// do something
}
// with promises
function(){
getFingerprint.then(function(fingerprint){
// do something
})
}
FAQs
Hardware-based fingerprint for Node and Electron
The npm package hw-fingerprint receives a total of 38 weekly downloads. As such, hw-fingerprint popularity was classified as not popular.
We found that hw-fingerprint 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.