Security audit policy

Run uv run python scripts/audit_dependencies.py (invoked locally by hatch run lint:all and uvx hatch run quality:all, and in CI by the quality gate in .github/workflows/main.yml and the verify-quality gate in .github/workflows/release.yml) to export uv.lock via uv export --locked --all-packages --all-extras --all-groups --no-emit-workspace --format pylock.toml into an OS temporary directory and audit every external package with uvx --from "pip-audit==2.10.1" pip-audit --locked -s osv --timeout 60 -f json. Filelock must resolve to version 4.2.1 or newer; no workspace advisory is ignored. Workspace development and documentation require Python >=3.11.5 so patched Soup Sieve releases can install. Published package Python metadata is unchanged.

Patched workspace dependencies

The workspace’s tool.uv.constraint-dependencies prevents vulnerable fresh resolutions as well as protecting the checked-in uv.lock and the detached Hatch lint environment across Python 3.11.5+, 3.12, and 3.13. These constraints do not add runtime dependencies to the published SDK. The OpenTelemetry API, SDK and exporters resolve together using their upstream requirements.

November 16, 2026 remediation

Dependabot alerts

Dependency / locked version

Security floor

Dependency path

137, 138, 139, 140

Soup Sieve 4.1.1

>=4.1.1

Furo → Beautiful Soup → Soup Sieve (documentation)

116

Mako 1.4.3

>=1.4.2

Airflow → Alembic → Mako

122, 141

OpenTelemetry API 1.45.2

>=1.45.2

Airflow and its telemetry SDK/exporters

PYSEC-2026-4396

Airflow SMTP provider 3.2.2

>=3.2.2

Airflow → Airflow SMTP provider

Soup Sieve 4.0 fixes the reported descendant-combinator issue, but later selector denial-of-service advisories also affect 4.0.1 and 4.1. Use 4.1.1 or newer, retaining the upstream default selector protections. Mako 1.4.2 fixes Windows drive-letter traversal. OpenTelemetry API 1.45.1 fixes tracestate parsing; 1.45.2 also fixes traceparent parsing. Apache Airflow SMTP provider 3.2.2 fixes SMTP header handling.

Audit the universal lock across every workspace member, dependency group, optional extra, and PEP 508 platform/Python marker with zero ignored advisories:

uv run python scripts/audit_dependencies.py

Under the hood, scripts/audit_dependencies.py runs uv lock --check, exports uv.lock to PEP 751 pylock.toml inside an ephemeral temporary directory via uv export --locked --all-packages --all-extras --all-groups --no-emit-workspace --format pylock.toml, executes uvx --from "pip-audit==2.10.1" pip-audit --locked -s osv --timeout 60 -f json, and verifies that 100% of external (name, version) entries in uv.lock —including marker-gated dependencies such as atheris (Python >=3.12 non-Windows), pyyaml-ft (Python 3.13), colorama (Windows), and httpx2-jsfetch (Pyodide/Emscripten)—appear in the audited JSON records without --ignore-vuln flags. Unit regressions also check every locked copy of the four constrained packages and verify that vulnerable marker-gated entries fail the audit regardless of host OS or Python version.

Maintainer advisories:

Isolated Semgrep scanner environment

Owner: repository maintainer (fderuiter). Last verified: November 30, 2026. Next review: Next Semgrep release after 1.185.0.

Semgrep 1.185.0 pins mcp==1.29.0 and opentelemetry-api~=1.37.0 upstream. Those vendor pins belong strictly to the static code scanner, not to the shipped SDK, workflow plugins, documentation dependencies, or Hatch lint environment. Local Hatch verification (semgrep-check in pyproject.toml), the CI quality job, and the release verify-quality job isolate Semgrep inside an ephemeral uvx tool environment:

uvx --from "semgrep==1.185.0" semgrep scan --config p/security-audit --metrics off --error packages

Because semgrep==1.185.0 is excluded from [tool.hatch.envs.lint].dependencies, the lint environment runs on the active Python 3.11.5+, 3.12, or 3.13 interpreter without UV_NO_CONFIG and enforces all tool.uv.constraint-dependencies security floors (including opentelemetry-api>=1.45.2, soupsieve>=4.1.1, mako>=1.4.2, and apache-airflow-providers-smtp>=3.2.2) with zero --ignore-vuln flags.

Upstream Semgrep 1.185.0 vendor pins (isolated via uvx)

Scanner dependency

Upstream advisory IDs

Reported fixed versions

mcp==1.29.0

CVE-2026-116684, CVE-2026-116685, CVE-2026-116686, CVE-2026-115563

1.30.0+

mcp==1.29.0

CVE-2026-59951

2.2.0

opentelemetry-api==1.37.0

CVE-2026-114603, CVE-2026-126360

1.45.1, 1.45.2 respectively

wcmatch==8.5.2

CVE-2026-132276

Pending upstream Semgrep bump

Verification invokes semgrep scan with metrics disabled; it does not start an MCP server or enable affected server features, and never installs Semgrep’s transitive dependencies into workspace or Hatch environments. Do not use scanner tool environments to host services or deploy application code.

Upgrade the semgrep==1.185.0 pin in pyproject.toml, .github/workflows/main.yml, and .github/workflows/release.yml when upstream releases compatible constraints, and rerun the complete quality gate. Do not force incompatible transitive versions or add --ignore-vuln flags to workspace audits.

Upstream evidence: