
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/JBKahn/flake8-print
Check for Print statements in python files.
This module provides a plugin for flake8
, the Python code checker.
You can install or upgrade flake8-print
with these commands::
$ pip install flake8-print $ pip install --upgrade flake8-print
When both flake8 2.4.1
and flake8-print
are installed, the plugin is
available in flake8
::
$ flake8 --version
2.4.1 (pep8: 1.5.7, flake8-print: 2.0.0, mccabe: 0.3.1, pyflakes: 0.8.1)
Flake8 allows disabling some tests based on the folder:
[flake8]
per-file-ignores =
scripts/*: T20
cli.py: T20
Error Code | Description |
---|---|
T201 | print found |
T203 | pprint found |
T204 | pprint declared |
nopep8
commentsflake8 --version
call.FAQs
Unknown package
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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.