PyPI package intelligence

pyyaml — deep security report

ShadowCanopy's full breakdown of pyyaml on PyPI: verdict, AI analysis, dependency chain, network behavior, prebuilds, and obfuscated code.

Safe to use
Deep-scanned by ShadowCanopy — no threats found in its code, dependencies, or network behavior.
Scanned 7/30/2026
Approvedpyyaml@6.0.3View on registry ↗latest: 6.0.3

PyYAML 6.0.3 is the legitimate, well-known YAML library. All flagged patterns are ordinary Unicode escape sequences (…, 
, 
, etc.) required by the YAML spec for line-break and character handling in emitter.py, reader.py, scanner.py, error.py and test helpers. No malicious behavior present.

Protect your projects free

AI breakdown

Plain-English summary of what this package does and how it behaves.

pyyaml is a YAML parser and emitter for Python. It provides libraries for loading, dumping, and processing YAML data in Python applications.

Capabilities

  • Parses YAML documents
  • Emits YAML documents
  • Provides Python API for YAML handling

Data access

  • Filesystem

Network

  • No network access observed

Widely used legitimate package for YAML processing with no scripts or dependencies declared. Multiple static findings flag obfuscated source files, suggesting review of the package contents before use.

Security findings (10)

Static analysis rule matches, with the exact code that triggered them.

mediumObfuscated source fileATK-023lib/yaml/emitter.py

Multiple obfuscation patterns in lib/yaml/emitter.py

mediumObfuscated source fileATK-023pyyaml-6.0.3/lib/yaml/emitter.py

Multiple obfuscation patterns in pyyaml-6.0.3/lib/yaml/emitter.py

mediumObfuscated source fileATK-023lib/yaml/error.py

Multiple obfuscation patterns in lib/yaml/error.py

mediumObfuscated source fileATK-023pyyaml-6.0.3/lib/yaml/error.py

Multiple obfuscation patterns in pyyaml-6.0.3/lib/yaml/error.py

mediumObfuscated source fileATK-023lib/yaml/reader.py

Multiple obfuscation patterns in lib/yaml/reader.py

mediumObfuscated source fileATK-023pyyaml-6.0.3/lib/yaml/reader.py

Multiple obfuscation patterns in pyyaml-6.0.3/lib/yaml/reader.py

mediumObfuscated source fileATK-023lib/yaml/scanner.py

Multiple obfuscation patterns in lib/yaml/scanner.py

mediumObfuscated source fileATK-023pyyaml-6.0.3/lib/yaml/scanner.py

Multiple obfuscation patterns in pyyaml-6.0.3/lib/yaml/scanner.py

mediumObfuscated source fileATK-023tests/legacy_tests/canonical.py

Multiple obfuscation patterns in tests/legacy_tests/canonical.py

mediumObfuscated source fileATK-023pyyaml-6.0.3/tests/legacy_tests/canonical.py

Multiple obfuscation patterns in pyyaml-6.0.3/tests/legacy_tests/canonical.py

Package metadata

LicenseMIT

YAML parser and emitter for Python

Homepage ↗

Files in package (500)

CHANGESpyyaml-6.0.3/CHANGESLICENSEpyyaml-6.0.3/LICENSEMANIFEST.inpyyaml-6.0.3/MANIFEST.inMakefilepyyaml-6.0.3/MakefilePKG-INFOpyyaml-6.0.3/PKG-INFOREADME.mdpyyaml-6.0.3/README.mdexamples/pygments-lexer/example.yamlpyyaml-6.0.3/examples/pygments-lexer/example.yamlexamples/pygments-lexer/yaml.pypyyaml-6.0.3/examples/pygments-lexer/yaml.pyexamples/yaml-highlight/yaml_hl.cfgpyyaml-6.0.3/examples/yaml-highlight/yaml_hl.cfgexamples/yaml-highlight/yaml_hl.pypyyaml-6.0.3/examples/yaml-highlight/yaml_hl.pylib/PyYAML.egg-info/PKG-INFOpyyaml-6.0.3/lib/PyYAML.egg-info/PKG-INFOlib/PyYAML.egg-info/SOURCES.txtpyyaml-6.0.3/lib/PyYAML.egg-info/SOURCES.txtlib/PyYAML.egg-info/dependency_links.txtpyyaml-6.0.3/lib/PyYAML.egg-info/dependency_links.txtlib/PyYAML.egg-info/top_level.txtpyyaml-6.0.3/lib/PyYAML.egg-info/top_level.txtlib/_yaml/__init__.pypyyaml-6.0.3/lib/_yaml/__init__.pylib/yaml/__init__.pypyyaml-6.0.3/lib/yaml/__init__.pylib/yaml/composer.pypyyaml-6.0.3/lib/yaml/composer.pylib/yaml/constructor.pypyyaml-6.0.3/lib/yaml/constructor.pylib/yaml/cyaml.pypyyaml-6.0.3/lib/yaml/cyaml.pylib/yaml/dumper.pypyyaml-6.0.3/lib/yaml/dumper.py

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.

Protect your projects freeSee what's being blocked

This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/pypi/pyyaml