
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
dataunlocker
Advanced tools
🛡️ DataUnlocker's command line interface utilities.
Requires NodeJS v16+ to be installed, which comes with npx
CLI runner.
$ npx -y dataunlocker patch
Patches a core JavaScript file of your web application.
DataUnlocker Defender tightly integrates with your web app's JavaScript code, specifically, your build artifacts or JavaScript libraries that your web app relies on. By design, each dataunlocker patch
run should be embedded into your build pipeline to generate the newly obfuscated JavaScript file on every build run.
Follow these steps to install DataUnlocker Defender in your web app:
file.js
) which is loaded on all pages of your web application.npx -y dataunlocker patch file.js
This command requires you to input your unique DataUnlocker domain ID, either by env var DATAUNLOCKER_ID
:
export DATAUNLOCKER_ID=000000000000000000000000
or via the --id
flag:
npx -y dataunlocker patch file.js --id 000000000000000000000000
As a result, file.js
will be replaced with its obfuscated version with DataUnlocker Defender baked in. A backup of the original file.js
will be placed next to it, named file.js.backup
by default.
Note:
--no-backup
option.--backup filename.js
option.--endpoint example.com/abcdef
option (specify the endpoint URI without the protocol).$ npx -y dataunlocker patch file.js --id 000000000000000000000000
💜 DataUnlocker CLI v2.0.1
🔧 ID=000000000000000000000000
Backup file: does not exist
↳ Backing up local/test.js -> local/test.js.backup...
✔ Backed up to local/test.js.backup
Patching
↳ Using original file contents (local/test.js)
↳ Using the latest healthy endpoint (automatic)
↳ local/test.js will be overwritten
↳ Patching, please wait...
↳ Writing local/test.js...
✔ Done!
FAQs
DataUnlocker's command line interface utilities
The npm package dataunlocker receives a total of 6 weekly downloads. As such, dataunlocker popularity was classified as not popular.
We found that dataunlocker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.