Skip to content

security: pin and protect optional DDC dynamic source before loading - #22

Draft
altrudev wants to merge 1 commit into
mainfrom
fix/ecosystem-security-edrg-20261012
Draft

altrudev wants to merge 1 commit into
mainfrom
fix/ecosystem-security-edrg-20261012

Conversation

@altrudev

Copy link
Copy Markdown
Owner

Change

Fail closed on unprovisioned, symlinked, or writable DDC source/pin, require independently operator-provisioned pinned SHA-256 in a root-protected path, check protected source-tree metadata before dynamic imports, and remove partially loaded module from sys.modules on failure. Document compatibility implications.

Evidence

  • 3/3 adapter tests passed with PYTHONPATH=src:adapters/ddc/src.
  • git diff --check passed.

EDRG limitation

No independently provisioned production pin exists in this change. This is source-custody hardening, not standalone supply-chain attestation or a full guarantee against malicious root/interpreter dependencies. Existing ordinary-user DDC checkouts will deliberately fail until protected operator enrollment. Draft for compatibility and threat review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant