PyYAML 6.0.4 is the legitimate, widely-used YAML library. All 'obfuscated source' findings are false positives from legitimate Unicode line-break / whitespace constants ( , , , , etc.) required by the YAML spec; the code in emitter.py, reader.py, scanner.py, error.py and the test helper is ordinary, non-malicious parser logic.
AI breakdown
Plain-English summary of what this package does and how it behaves.
PyYAML is a YAML parser and emitter for Python, providing modules to load, dump, and manipulate YAML data.
Capabilities
- Parses and emits YAML
- Supports custom YAML constructors and representers
- Includes optional C extension (_yaml)
Data access
- Filesystem
Network
- No network access observed
Widely used legitimate library with no scripts or dependencies; static findings flag multiple files as obfuscated source.
Security findings (5)
Static analysis rule matches, with the exact code that triggered them.
Multiple obfuscation patterns in lib/yaml/emitter.py
Multiple obfuscation patterns in lib/yaml/error.py
Multiple obfuscation patterns in lib/yaml/reader.py
Multiple obfuscation patterns in lib/yaml/scanner.py
Multiple obfuscation patterns in tests/legacy_tests/canonical.py
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/pyyaml