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.
This is a python code obfuscator. It works by compiling your code to .pyc. Which cant be easily decompiled for python version 3.9 (and higher).
The following code will take a package, obfuscate it and return a new package with .pyc files instead of .py files.
import pycompileo
pycompileo.obfuscate_package('your_module', 'obfuscated_module')
Now you can import this new obfuscated module:
import obfuscated_module
# Note that there wont be syntax highlighting
# for .pyc files. Only use when you dont need
# syntax highlighting.
obfuscated_module.super_secret_code()
Everything should really be self explanatory.
You can reach out to me at ahmadchawla1432@gmail.com
for additional questions.
FAQs
Python Code Obfuscator.
We found that pycompileo 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
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.