PyPI package intelligence

pydantic — deep security report

ShadowCanopy's full breakdown of pydantic 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 8/4/2026
Approvedpydantic@2.13.4View on registry ↗latest: 2.13.4

All findings are false positives from heuristics matching benign patterns (function names containing 'eval', forward-ref comments, CPython URLs, test timestamps like 03:04:05, and example IPs in tests). The actual source is standard Pydantic schema-generation and type-handling code with no malicious behavior.

Protect your projects free

AI breakdown

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

Pydantic is a Python package for data validation using type hints. It includes core modules for models, fields, validators, JSON handling, and schema generation as shown in the file list.

Capabilities

  • Provides Python library for data models and validation

Data access

  • None observed

Network

  • No network access observed

Standard library package with empty scripts and dependencies; static findings reference obfuscation and IPs but are not evidenced in the manifest or sampled files.

Dependency & execution chain

Every package this one pulls in, colored by verdict. Expand to walk the tree.

6 packages6 direct
pydantic@2.13.416 findings
typing-extensions@4.16.04 findings
tzdata@2026.3

Security findings (16)

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

mediumObfuscated source fileATK-023pydantic/_internal/_generate_schema.py

Multiple obfuscation patterns in pydantic/_internal/_generate_schema.py

mediumObfuscated source fileATK-023pydantic-2.13.4/pydantic/_internal/_generate_schema.py

Multiple obfuscation patterns in pydantic-2.13.4/pydantic/_internal/_generate_schema.py

mediumObfuscated source fileATK-023pydantic/_internal/_typing_extra.py

Multiple obfuscation patterns in pydantic/_internal/_typing_extra.py

mediumObfuscated source fileATK-023pydantic-2.13.4/pydantic/_internal/_typing_extra.py

Multiple obfuscation patterns in pydantic-2.13.4/pydantic/_internal/_typing_extra.py

mediumObfuscated source fileATK-023tests/test_types.py

Multiple obfuscation patterns in tests/test_types.py

mediumObfuscated source fileATK-023pydantic-2.13.4/tests/test_types.py

Multiple obfuscation patterns in pydantic-2.13.4/tests/test_types.py

highHardcoded public IP in network codeATK-028pydantic/functional_validators.py

File pydantic/functional_validators.py contains a hardcoded public IP (03:04:05) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028pydantic-2.13.4/pydantic/functional_validators.py

File pydantic-2.13.4/pydantic/functional_validators.py contains a hardcoded public IP (03:04:05) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028tests/test_datetime.py

File tests/test_datetime.py contains a hardcoded public IP (09:15:00) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028pydantic-2.13.4/tests/test_datetime.py

File pydantic-2.13.4/tests/test_datetime.py contains a hardcoded public IP (09:15:00) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028tests/test_json.py

File tests/test_json.py contains a hardcoded public IP (12:34:56) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028pydantic-2.13.4/tests/test_json.py

File pydantic-2.13.4/tests/test_json.py contains a hardcoded public IP (12:34:56) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028tests/test_networks.py

File tests/test_networks.py contains a hardcoded public IP (123.45.67.8) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028pydantic-2.13.4/tests/test_networks.py

File pydantic-2.13.4/tests/test_networks.py contains a hardcoded public IP (123.45.67.8) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028tests/test_types.py

File tests/test_types.py contains a hardcoded public IP (10:10:10) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028pydantic-2.13.4/tests/test_types.py

File pydantic-2.13.4/tests/test_types.py contains a hardcoded public IP (10:10:10) used in network code — review for hidden exfiltration or C2 endpoints.

Package metadata

LicenseUnknown

Data validation using Python type hints

Files in package (500)

HISTORY.mdpydantic-2.13.4/HISTORY.mdMakefilepydantic-2.13.4/MakefileREADME.mdpydantic-2.13.4/README.mdpydantic/__init__.pypydantic-2.13.4/pydantic/__init__.pypydantic/_migration.pypydantic-2.13.4/pydantic/_migration.pypydantic/alias_generators.pypydantic-2.13.4/pydantic/alias_generators.pypydantic/aliases.pypydantic-2.13.4/pydantic/aliases.pypydantic/annotated_handlers.pypydantic-2.13.4/pydantic/annotated_handlers.pypydantic/class_validators.pypydantic-2.13.4/pydantic/class_validators.pypydantic/color.pypydantic-2.13.4/pydantic/color.pypydantic/config.pypydantic-2.13.4/pydantic/config.pypydantic/dataclasses.pypydantic-2.13.4/pydantic/dataclasses.pypydantic/datetime_parse.pypydantic-2.13.4/pydantic/datetime_parse.pypydantic/decorator.pypydantic-2.13.4/pydantic/decorator.pypydantic/env_settings.pypydantic-2.13.4/pydantic/env_settings.pypydantic/error_wrappers.pypydantic-2.13.4/pydantic/error_wrappers.pypydantic/errors.pypydantic-2.13.4/pydantic/errors.pypydantic/fields.pypydantic-2.13.4/pydantic/fields.pypydantic/functional_serializers.pypydantic-2.13.4/pydantic/functional_serializers.pypydantic/functional_validators.pypydantic-2.13.4/pydantic/functional_validators.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/pydantic