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 9/1/2026
Approvedpydantic@2.13.5View on registry ↗latest: 2.13.5

Legitimate pydantic package. All findings are false positives: 'eval(' matches are in comments/function names for safe forward-ref handling; 'hardcoded IPs' are example timestamps and test data (e.g. 03:04:05, 123.45.67.8). No malicious behavior in the provided source.

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, providing model definitions, parsing, and related utilities across its source files.

Capabilities

  • Defines data models with validation
  • Parses and validates input data
  • Handles environment settings

Data access

  • Environment variables

Network

  • No network access observed

Widely used legitimate library with empty scripts and no dependencies. Multiple static findings report obfuscated files and hardcoded public IPs.

Dependency & execution chain

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

6 packages6 direct
pydantic@2.13.516 findings
typing-extensions@4.16.04 findings
tzdata@2026.4

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.5/pydantic/_internal/_generate_schema.py

Multiple obfuscation patterns in pydantic-2.13.5/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.5/pydantic/_internal/_typing_extra.py

Multiple obfuscation patterns in pydantic-2.13.5/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.5/tests/test_types.py

Multiple obfuscation patterns in pydantic-2.13.5/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.5/pydantic/functional_validators.py

File pydantic-2.13.5/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.5/tests/test_datetime.py

File pydantic-2.13.5/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.5/tests/test_json.py

File pydantic-2.13.5/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.5/tests/test_networks.py

File pydantic-2.13.5/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.5/tests/test_types.py

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