I work on CPython free-threading memory safety: finding C-extension lifetime bugs, building controlled reproducers, and verifying fixes at exact revisions.
I build checks that can fail, and I try to keep what I claim under what I can show. When I report a concurrency bug, I try to bring an exact revision, a base-positive reproducer, negative and decoy controls, and an exact-head re-test of the eventual fix.
Code I authored and maintainers merged:
cpython#159864→cpython#159884— reproduced a free-threadedsyslog.openlog()crash when another thread changessys.argv[0], and fixed the borrowed reference. A core developer merged it intomainon 2026-10-20; the 3.15 backport (#159952) is merged and the 3.14 backport (#159954) is also merged. Others had listed the problem before I reproduced it.zope.interface#380→zope.interface#382— contributed C cache-lifetime fixes and regression tests, revised with maintainers during review and merged on 2026-09-23.pybind11#6177— removed an internals-lock acquisition from bound-call dispatch on free-threaded builds, with a regression test that checks whether dispatch can proceed while that lock is held; merged on 2026-10-23.pybind11#6169— added regression tests for syntax-error and traceback line numbers in evaluated Python source.Pillow#9953— added regression tests forImageChops.offset()on zero-sized images.python-rapidjson#236— made the free-threading branch run CI, added a real 3.14t job with a fail-closed GIL assertion, and repaired the Python <3.13 collection failure.python-rapidjson#237— restoredstubtest, aligned constructor stubs with the C extension, and restricted wheel uploads to release tags.python-rapidjson#239— fixed the rejected-argument allocation leak inRawJSON()and corrected its stub. It merged intomasterand shipped inv1.24.nox#1153— fixed tests that only passed whenuvhappened to be installed.mutmut#546— added ternary-condition mutation for a branch the mutation engine previously never touched.mutmut#562— added a regression test checking that the stats collector counts only the call phase; merged on 2026-11-28.python-rapidjson#264— rejected zero month/day values inDM_ISO8601handling, with regression tests; merged on 2026-11-25.python-rapidjson#265— pinned the Python 3.14 debug CI job to Ubuntu 24.04; merged on 2026-11-25.StringZilla#338— stopped the 5.x wheels from installing a top-leveltestpackage intosite-packages; merged on 2026-10-02.
Reports that led to upstream fixes:
Pillow#9892→Pillow#9893— reported out-of-bounds reads caused by sequence-length handling. Another contributor, lazerg, authored the fix; Pillow's maintainers merged it on 2026-09-25.pybind11#6180— reported unconstructed sibling-base storage surviving deprecated constructor dispatch, and re-tested two reproducer paths against the maintainer's fix at exact revisions. The maintainer authored and merged the fix.CodeQL#22305→CodeQL#22310— reported lost Python taint flow throughlist.extend,list.insert, and+=; the merged maintainer/bot PR closesextendandinsert. The larger+=gap is not claimed fixed.wrapt#347— reported a free-threaded double-free. The maintainer made a broader repair and released2.4.0rc1; I re-ran the same controlled harness at their request: 10/10 SIGSEGV → 0/10.StringZilla#328— reported a stale-size borrowed-list-item crash; the maintainer fixed it inv5.1.1.confluent-kafka#2319→confluent-kafka#2334— reported a borrowed-reference use-after-free inAdmin_create_topics. A Confluent engineer wrote the fix, initially merged into the free-threading preview branch. On 2026-09-21, the maintainer confirmed it had reachedmasterand closed the issue. I re-ran my harness against their exact fix head at their request.
Merged fixes I reproduced or reviewed:
Pillow#9917→Pillow#9919— contributed additional re-entrant and concurrent mutation cases, then tested the Python-side copy at commit655298eon GIL and free-threaded builds. The report and fix PR were written by other contributors; Pillow's maintainers reviewed and merged it.
Status in this section was rechecked on 2026-11-28.
cpython#157841— reported a free-threaded 3.14 crash in concurrentfunctools.partial.__setstate__. Another contributor's fix,cpython#160480, is open and not merged. I posted an exact-head validation review comparing it with its parent; the report is not counted as a merged fix.python-rapidjson#235— my free-threaded container-walk fix; open and not merged.rotki-sqlite#6— ports the CPythonPyList_GetItemRef()fix to SQLite list-parameter binding (rotki-sqlite#5); open and not merged.tree#143→tree#144— reported and reproduced memory-safety faults in free-threaded dict traversal; the fix PR is open and was authored by another contributor.
-
cpython#162274— proposed taking a strong reference tofillvalueup front initertools.zip_longest(gh-162273); closed on 2026-11-20 after the caller-boundary fix incpython#156384was chosen as the more fundamental repair. I verified my reproducer against that fix before closing. -
PyO3#5774— closed without merging after maintainer feedback. CodSpeed measured an 11.6% regression. -
Pillow#9854— proposed a critical section around thegetlist()walk forPillow#9852; closed without merging. A maintainer closed the issue as completed on 2026-09-04.
- nocheat-action (
v0.1.7) — zero-LLM GitHub Action and CLI for diff-scoped Python AST mutation, test-soundness checks, concurrency probes, andbase-pinned contracts (PASS/ABSTAIN/BLOCK/BASELINE_FAIL). Checked atv0.1.1in a read-only sweep of 21 public Python repositories (0/21hard blocks,8/21ABSTAIN); external team adoption is unmeasured. - tokenblame (
v2.2.2) — offline, zero-dependency CLI for Claude Code, Codex, Gemini CLI, and Antigravity logs: separates fresh input, cache reads, and generated output, links commits via an out-of-repo hook spool (record-hook), checks post-commit reverts and 30-daygit blameline survival, and exports--shareableredacted HTML. Historical sessions prior to hook setup fall back to a time-window heuristic. - firing-checks — includes negative
controls and a
--selftestthat runs them for three of my own tools. - scanner-false-negatives — explored where a scanner's false negatives cluster; the experiments did not support the hypothesis. All 61 labels are public; they were LLM-produced, have no independent human regrade, and the repository is a post-hoc export.
I am an external contributor, not a maintainer or core developer of the projects above. Open PRs are not merged contributions, and unresolved reports are not counted as fixes. Private reports are not public evidence and are deliberately omitted. My own tools still have no independent adopter, so their value outside my repositories remains unmeasured.
Reach me: espressolee1@gmail.com · ORCID 0009-0003-0423-6686


