Replication Code for: "From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem" (doi:10.60507/FK2/TNJHGT)

View:

Part 1: Document Description
Part 2: Study Description
Part 5: Other Study-Related Materials
Entire Codebook

(external link)

Document Description

Citation

Title:

Replication Code for: "From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem"

Identification Number:

doi:10.60507/FK2/TNJHGT

Distributor:

bonndata

Date of Distribution:

2026-01-30

Version:

1

Bibliographic Citation:

Ohm, Marc; Pohl, Timo; Swierzy, Ben; Meier, Michael, 2026, "Replication Code for: "From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem"", https://doi.org/10.60507/FK2/TNJHGT, bonndata, V1

Study Description

Citation

Title:

Replication Code for: "From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem"

Identification Number:

doi:10.60507/FK2/TNJHGT

Authoring Entity:

Ohm, Marc (University of Bonn & Fraunhofer FKIE)

Pohl, Timo (University of Bonn)

Swierzy, Ben (Fraunhofer FKIE & University of Bonn)

Meier, Michael (University of Bonn & Fraunhofer FKIE)

Date of Production:

2025-10-24

Distributor:

bonndata

Access Authority:

Ohm, Marc

Depositor:

Ohm, Marc-Philipp

Date of Deposit:

2026-01-19

Holdings Information:

https://doi.org/10.60507/FK2/TNJHGT

Study Scope

Keywords:

Computer and Information Science, Computer and Information Science

Abstract:

Scripts for reproducing cache files in Python packages. This includes an automated Docker-based setup for running old Python versions with bytecode compilation and tools for automatic and manual cache file comparisons. Additionally, proofs of concept are included

Methodology and Processing

Sources Statement

Data Access

Notes:

<a href="https://mit-license.org/">MIT</a>

Other Study Description Materials

Related Studies

List of analyzed Python Packages: https://doi.org/10.60507/FK2/EADABS

Related Publications

Citation

Title:

Ohm, M., Pohl, T., Swierzy, B., & Meier, M. (2026). From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem. In SICHERHEIT 2026. Gesellschaft für Informatik, Bonn.

Identification Number:

10.18420/sicherheit2026_13

Bibliographic Citation:

Ohm, M., Pohl, T., Swierzy, B., & Meier, M. (2026). From Constrictor to Serpent: Investigating the Threat of Cache Poisoning in the Python Ecosystem. In SICHERHEIT 2026. Gesellschaft für Informatik, Bonn.

Other Study-Related Materials

Label:

pyproject.toml

Notes:

application/toml

Other Study-Related Materials

Label:

readme.txt

Notes:

text/plain

Other Study-Related Materials

Label:

USAGE.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

analyzer.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

python_37_314.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

README.md

Notes:

text/markdown

Other Study-Related Materials

Label:

rich_313_parser.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

gator-core-__init__-3.11.13.pyc

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

gator-core-__init__.cpython-311.pyc

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

table-synthesis-GenerateTable-3.10.18.pyc

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

table-synthesis-GenerateTable.cpython-310.pyc

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

1-cleanup-data.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

2-recreate-cache.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

3-analyze-results.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

models.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

Cargo.lock

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

Cargo.toml

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

config.toml

Text:

Notes:

application/octet-stream

Other Study-Related Materials

Label:

main.rs

Text:

Notes:

application/rls-services+xml

Other Study-Related Materials

Label:

python_26_31.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

python_32_36.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

python_37_314.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

__init__.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

python_26_36.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

python_37_314.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

rich_313_parser.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

__init__.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

extract-magic-table.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

extract-release-table.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

magic-table

Text:

Notes:

text/plain; charset=US-ASCII

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

compile_and_poison.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

malicious.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

prepare.sh

Notes:

application/x-shellscript

Other Study-Related Materials

Label:

README.md

Notes:

text/markdown

Other Study-Related Materials

Label:

main.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

pyproject.toml

Notes:

application/toml

Other Study-Related Materials

Label:

MANIFEST.in

Text:

Notes:

text/plain

Other Study-Related Materials

Label:

pyproject.toml

Notes:

application/toml

Other Study-Related Materials

Label:

README.md

Notes:

text/markdown

Other Study-Related Materials

Label:

benign.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

main.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

__init__.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

evaluate.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

pyproject.toml

Notes:

application/toml

Other Study-Related Materials

Label:

README.md

Text:

Notes:

text/markdown

Other Study-Related Materials

Label:

scan_packages_for_cache_files.py

Text:

Notes:

text/x-python

Other Study-Related Materials

Label:

uv.lock

Notes:

application/octet-stream