Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
localstack-obfuscator
Advanced tools
Utility to obfuscate Python code
pip install localstack-obfuscator
You need to have a config file in the project you want to obfuscate.
An example config file is given below:
custom_patches: false # if true, will use custom patches for dataclasses. Default is false.
# custom parameters for python_minifier
minify:
remove_literal_statements: true
# list of files to exclude from obfuscation
exclude:
- "constants.py"
- "routes.py"
# list of files to remove from resulting build
remove:
- ".venv"
- "build"
target_dir: "outages" # relative to the build directory. The default is the same as current dir name
build_dir: "build" # relative to the current dir. The default is "build".
Note that the exclude
and remove
lists perform different functions:
To perform the obfuscation, run the obfuscator against the project directory.
localstack-obfuscator .
FAQs
Obfuscate proprietary LocalStack code bases
We found that localstack-obfuscator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.