pytest 9.1.1 is the legitimate pytest package. All 'obfuscated source' findings are false positives from normal Unicode/escape handling in compat.py (ascii_escaped), junitxml.py (illegal_xml_re), color/terminal tests, and assertion tests. No malicious sinks, exfil, or C2 present.
AI breakdown
Plain-English summary of what this package does and how it behaves.
pytest is a Python package for simple and powerful testing with Python.
Capabilities
- Provides Python testing framework
Data access
- None observed
Network
- Hardcoded public IP in network code
Widely used testing tool with no scripts or dependencies in manifest; static findings report multiple obfuscated source files and hardcoded public IPs.
Dependency & execution chain
Every package this one pulls in, colored by verdict. Expand to walk the tree.
Obfuscated / hidden code
Encoded payloads decoded statically (without executing them) so you can see what they resolve to.
Multiple obfuscation patterns in testing/python/metafunc.py
Multiple obfuscation patterns in pytest-9.1.1/testing/python/metafunc.py
Security findings (26)
Static analysis rule matches, with the exact code that triggered them.
Multiple obfuscation patterns in src/_pytest/compat.py
Multiple obfuscation patterns in pytest-9.1.1/src/_pytest/compat.py
Multiple obfuscation patterns in src/_pytest/junitxml.py
Multiple obfuscation patterns in pytest-9.1.1/src/_pytest/junitxml.py
Multiple obfuscation patterns in testing/code/test_excinfo.py
Multiple obfuscation patterns in pytest-9.1.1/testing/code/test_excinfo.py
Multiple obfuscation patterns in testing/conftest.py
Multiple obfuscation patterns in pytest-9.1.1/testing/conftest.py
Multiple obfuscation patterns in testing/io/test_terminalwriter.py
Multiple obfuscation patterns in pytest-9.1.1/testing/io/test_terminalwriter.py
Multiple obfuscation patterns in testing/python/collect.py
Multiple obfuscation patterns in pytest-9.1.1/testing/python/collect.py
Multiple obfuscation patterns in testing/python/metafunc.py
Multiple obfuscation patterns in pytest-9.1.1/testing/python/metafunc.py
Multiple obfuscation patterns in testing/test_assertion.py
Multiple obfuscation patterns in pytest-9.1.1/testing/test_assertion.py
Multiple obfuscation patterns in testing/test_assertrewrite.py
Multiple obfuscation patterns in pytest-9.1.1/testing/test_assertrewrite.py
Multiple obfuscation patterns in testing/test_capture.py
Multiple obfuscation patterns in pytest-9.1.1/testing/test_capture.py
Multiple obfuscation patterns in testing/test_junitxml.py
Multiple obfuscation patterns in pytest-9.1.1/testing/test_junitxml.py
File testing/python/approx.py contains a hardcoded public IP (12:00:00) used in network code — review for hidden exfiltration or C2 endpoints.
File pytest-9.1.1/testing/python/approx.py contains a hardcoded public IP (12:00:00) used in network code — review for hidden exfiltration or C2 endpoints.
File testing/test_terminal.py contains a hardcoded public IP (0:01:00) used in network code — review for hidden exfiltration or C2 endpoints.
File pytest-9.1.1/testing/test_terminal.py contains a hardcoded public IP (0:01:00) used in network code — review for hidden exfiltration or C2 endpoints.
Package metadata
pytest: simple powerful testing with Python
Files in package (500)
How ShadowCanopy checks PyPI packages
ShadowCanopy blocks every dependency by default and only lets through what it can verify — against live malicious-package advisories, an AI behavior scan, and a byte-for-byte hash check. It protects installs across npm, PyPI, crates.io, pkg.go.dev, RubyGems, Maven Central, NuGet, Packagist, Hex, pub.dev, Swift Package Manager.
Other PyPI packages
This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/pypi/pytest