CodeSampleX

Sample

verify pkg:pypi/certifi@2026.2.25

sha256:c57e22ede3cd30247c968cde0a7f83fba06f198031212256d4fdf760413e993f

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS
Declared environment python 3.12 linux 24 · ubuntu · glibc 2.39 x64 python 3.12 python pip 24

Verification-run environments

Environment Contract Stages Run
python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · python@1
2026-08-20

Case

HOW
Goal
verify pkg:pypi/certifi@2026.2.25
Packages
Symbols
  • certifi.where
  • certifi.contents
  • certifi.__version__
Environment
python 3.12
Created
2026-08-20T11:19:11Z

Contract

  1. certifi.where returns an existing, absolute, non-empty filesystem path to the CA bundle file
  2. certifi.contents returns the full PEM certificate bundle text containing valid BEGIN CERTIFICATE and END CERTIFICATE blocks
  3. ssl.create_default_context with cafile=certifi.where() produces an SSLContext with CERT_REQUIRED, check_hostname enabled, and non-empty CA certificates
  4. ssl.SSLContext.load_verify_locations with cadata=certifi.contents() successfully loads root certificates directly into an SSLContext without file I/O
  5. certifi.__version__ is a valid non-empty package version string

Files

  • PROMPT.md
  • csx.json
  • pyproject.toml
  • requirements.txt
  • spec.json
  • src/__init__.py
  • src/sample.py
  • test/contract.py

Download the source artifact (tar.gz)

Origin Seeder

anonymous