Support blockExoticSubdeps option to disallow non-trusted dep sources in subdeps
feat: support blockExoticSubdeps option to disallow non-trusted dep sources in subdeps (#10265)
Support blockExoticSubdeps option to disallow non-trusted dep sources in subdeps73cc63-feat-support-blockexoticsubdeps-option-to-disallow-non-trusted-cve-2025-69264featsupport blockexoticsubdeps option disallow non trusted
Committed by orenyomtov
commit message
feat: support blockExoticSubdeps option to disallow non-trusted dep sources in subdeps (#10265)
* feat(core): add onlyRegistryDependencies option to disallow non-registry subdependencies
* fix: onlyRegistryDependencies=>registrySubdepsOnly
* fix: allow resolution from custom resolver
* fix: add registry-subdeps-only to types
* docs: update changesets
* refactor: registry-only
* refactor: registrySubdepsOnly=>blockExoticSubdeps
* fix: trust runtime deps
* refactor: remove comment
---------
Co-authored-by: Zoltan Kochan <[email protected]>Editor assessment
This commit patches CVE-2025-69264. The subject is long but informative, describing a new blockExoticSubdeps option that disallows non-trusted dependency sources in subdependencies. What follows is a squash log of intermediate commit subjects, from adding onlyRegistryDependencies through three renames to a final changeset note, with no prose explaining the supply-chain threat or why exotic sources were dangerous. The option is never shown in use and no defaults are stated. Traceable but essentially a changelog, leaving a security-motivated feature without a rationale a reader could learn from.