Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
device-fingerprinting
Advanced tools
Readme
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.
We found that device-fingerprinting demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.