
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
device-fingerprinting
Advanced tools
A npm package to create a device fingerprint for users in front-end.
A npm package to create a device fingerprint for users in front-end. You can install this package in your front-end of project to root folder. Then use below example code to get fingerprint details.
Run the following command from the root of your project:
$ bower install device-fingerprinting --save
or
$ npm install device-fingerprinting --save
const DeviceFingerprinting = require("device-fingerprinting");
var deviceFingerprint = DeviceFingerprinting().getDeviceFingerprint();
console.log(`The device fingerprint is ${deviceFingerprint}`);
var DeviceWithBrowserFingerprint = DeviceFingerprinting().getBrowserFingerprint();
console.log(`The device with browser fingerprint is ${DeviceWithBrowserFingerprint}`);
var FCMToken = DeviceFingerprinting().getFCMToken();
console.log(`The device FCM token is ${FCMToken}`);
This method will return a token according to device specification. So using this, if user try 2 different browser to login 2 different account still it give same device fingerprint, from which we can track it.
Drawback: This will be created according to system details. So two system with same details can have same token.
Accuracy: 55%
This method will return a token according to device specification + broswer details. So using this, if user is try to login in differnt incognito tabs, it give same device browser fingerprint, from which we can track it. So this value
Drawback: This will be created according to system details + broswer details. So two system with same details and same broswer (and broswer version) can have same token.
Accuracy: 90%
This method will return a Facm token that you should store in local storage of the user's browser. So using this, if user is try to login with different accounts on broswer, it give same FCM token, from which we can track it. So this value
Drawback: This value will change everytime .
Accuracy: 95%
Best way is to use the all 3 variables and accordingly you can track user.
These definitions were written by Mayuresh Sunil Khemnar.
FAQs
A npm package to create a device fingerprint for users in front-end.
The npm package device-fingerprinting receives a total of 3 weekly downloads. As such, device-fingerprinting popularity was classified as not popular.
We found that device-fingerprinting 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.