Answer security round 1: 0 🔴, 1 🟡 (0 misread); the comment says the token is made up and reaches nothing

This commit is contained in:
2026-12-04 07:15:23 +01:00
parent 2a454d7187
commit 0035c9d1dc
+1 -1
View File
@@ -145,7 +145,7 @@ def main() -> int:
project_made()
requests = mock_messages_api.Requests()
server = mock_messages_api.serve(requests)
# The token signs claude in, as docs/decisions.md → `Claude Code in a home of its own` found; the mock doesn't check it.
# A made-up token, which grants access to nothing. It signs claude in, as docs/decisions.md → `Claude Code in a home of its own` found, and the mock doesn't check it.
env = {**os.environ, "ANTHROPIC_BASE_URL": f"http://127.0.0.1:{server.server_port}", "CLAUDE_CODE_OAUTH_TOKEN": "mock-token"}
started = subprocess.run([str(CLONE / "bin" / "build-release"), "Write a note of what the project is for."], cwd=PROJECT, env=env, stdin=subprocess.DEVNULL)
if started.returncode: