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.
jeffuscator
Advanced tools
Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'.
Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'. Inspired by this tweet from Evil Elon Musk.
Install Jeffuscator with NPM:
npm install jeffuscator
If you're only interested in the CLI functionality, you may wish to install globally.
You can import Jeffuscator into your project with:
var Jeffuscator = require('jeffuscator');
To Jeffuscate code, instantiate a new instance of the class with an input, then call the processFiles
method. processFiles
optionally accepts an output path.
new Jeffuscator('path/to/my/files')
.processFiles('path/to/output/folder')
The input argument can be either a folder or a file. If passed a folder, it will process every .js
file in that folder.
The output path should always be a folder. Processed files will be saved to the output folder, retaining the same structure as the input folder.
Once installed, you should be able to use Jeffuscator from the command line using the jeffuscate
command:
jeffuscate -i path/to/my/input -o path/to/my/output
FAQs
Obfuscate JavaScript by renaming all variables and methods to different variations of 'Jeff'.
The npm package jeffuscator receives a total of 3 weekly downloads. As such, jeffuscator popularity was classified as not popular.
We found that jeffuscator 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.