Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A simple flake8 plugin that forbids the usage of
pip install flake8-no-print
✨ 🍰 ✨
# foo.py
def bar(*a):
print(a)
return 0
flake8 foo.py
foo.py:2:5: NP100 "print()" function usage is forbidden, please consider using "logging" module
git clone git@github.com:vyahello/flake8-no-print.git
cd flake8-no-print
python3 -m venv venv
. venv/bin/activate
pip install -e .
NP100
- print function is forbidden.
Please run the following script to start plugin tests:
pytest
To be able to run code analysis, please execute command below:
./analyse-source-code.sh
Author – Vladimir Yahello.
Distributed under the MIT
license. See license for more information.
You can reach out me at:
I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:
git
for the first time after cloning with your name
and email
pip install -r requirements.txt
to install all project dependenciespip install -r requirements-dev.txt
to install all development project dependenciesAll recent activities and ideas are described at project issues page. If you have ideas you want to change/implement please do not hesitate and create an issue.
FAQs
Flake8 plugin to forbid print function usage
We found that flake8-no-print 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.