Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
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 17 weekly downloads. As such, device-fingerprinting popularity was classified as not popular.
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.