Does a secret leave your machine through Claude Code? An end-to-end leak test bench.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

9 lines
424 B

# The recording proxy: the only way out for the Claude Code container.
# podman build -f containers/proxy.Containerfile -t leak-bench-proxy .
ARG FEDORA=44
FROM registry.fedoraproject.org/fedora-minimal:${FEDORA}
RUN microdnf -y install --setopt=install_weak_deps=0 python3 python3-aiohttp python3-zstandard \
&& microdnf clean all
COPY bench/proxy.py /app/proxy.py
USER 1000:1000
ENTRYPOINT ["python3", "/app/proxy.py"]