Initial commit: Anthropic API and MITM proxy to WaybackProxy

This commit is contained in:
2026-03-18 01:27:44 -04:00
commit 8390c34d30
14 changed files with 1360 additions and 0 deletions

36
Dockerfile.sandbox Normal file
View File

@@ -0,0 +1,36 @@
FROM python:3.11-slim
# Install system tools that Claude might try to use
RUN apt-get update && apt-get install -y \
curl \
wget \
dnsutils \
net-tools \
ca-certificates \
libfaketime \
jq \
lynx \
w3m \
&& rm -rf /var/lib/apt/lists/*
# Install Python packages
RUN pip install --no-cache-dir \
anthropic \
requests \
beautifulsoup4 \
httpx \
rich \
prompt_toolkit
# Copy the Claude client and tools
COPY sandbox/ /app/
# Copy the MITM CA cert (will be generated on first run)
# We handle this in the entrypoint
COPY sandbox/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bash"]