Skip to content

Commit 37b3c98

Browse files
authored
Merge of #2083
2 parents a4a3754 + 84bd2fc commit 37b3c98

File tree

4 files changed

+608
-164
lines changed

4 files changed

+608
-164
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ test-suite/gateway-stress/Dockerfile @zama-ai/fhevm-devs
1818

1919
# Coprocessor Team ownership
2020
/coprocessor/ @zama-ai/fhevm-coprocessor
21+
22+
# Enforces changes in Sandboxed AI CI/CD
23+
.github/squid/sandbox-*.conf @zama-ai/infosec
24+
.github/workflows/claude-*.yml @zama-ai/infosec
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Strict domain allowlist for CI sandbox
2+
# Only these domains are reachable through the Squid proxy.
3+
# Based on: https://github.com/zama-ai/security-hub/tree/main/docs/how-tos/sandboxed-claude-code
4+
#
5+
# To add a new domain: append ".example.com" to the acl below.
6+
# Leading dot means "this domain and all subdomains".
7+
8+
acl allowed_domains dstdomain \
9+
.api.anthropic.com \
10+
.platform.claude.com \
11+
.github.com
12+
13+
# Allow only explicitly allowed domains
14+
http_access deny !allowed_domains
15+
http_access allow allowed_domains
16+
17+
# Deny everything else
18+
http_access deny all

0 commit comments

Comments
 (0)