Add descriptor-chain history coverage (PoCs #1-5)
test(GHSA-grj5-jjm8-h35p): add descriptor-chain history coverage (PoCs #1-5)
Add descriptor-chain history coverage (PoCs #1-5)2b5f3e-test-add-descriptor-chain-history-coverage-pocs-1-5-cve-2026-24118testadd descriptor chain history coverage pocs
Committed by patriksimek
commit message
test(GHSA-grj5-jjm8-h35p): add descriptor-chain history coverage (PoCs #1-5)
The advisory thread documents seven escape attempts iterating through
descriptor-based bypasses of the `__lookupGetter__` + `Buffer.apply`
constructor leak. PoC #6 (the Symbol.species self-return chain) is the
headline case covered in repro.js. PoCs #1-5 are closed by intermediate
fixes already on public main; this file ensures those defenses do not
regress. Each test exercises the verbatim PoC with host-side hostMark
for ground truth.Editor assessment
This commit patches CVE-2026-24118. The body is a careful piece of test archaeology: it explains that the advisory thread lists seven descriptor-based escapes, that PoC #6 is the headline case in repro.js while PoCs #1-5 are already closed, and that this new file guards them against regression with hostMark as ground truth. That is rare context for a tests-only commit. The header is the problem—using GHSA-grj5-jjm8-h35p as the scope turns an advisory ID into a codebase section, and the parenthetical PoC range adds clutter. Scope semantics aside, the message is otherwise clear and useful, so it lands at acceptable.