Skip to content

security: pre-launch hardening#318

Merged
imran-siddique merged 2 commits into
mainfrom
security/pre-launch-hardening
Jun 18, 2026
Merged

security: pre-launch hardening#318
imran-siddique merged 2 commits into
mainfrom
security/pre-launch-hardening

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Summary

Pre-launch security hardening fixes identified in a full security review of all agentrust-io repos before public launch (CC Summit June 23, 2026).

See individual commit message for the full list of changes.

Test plan

  • CI passes
  • No new test failures

🤖 Generated with Claude Code

imran-siddique and others added 2 commits June 18, 2026 11:19
- add *.db / audit.db to .gitignore
- replace attest.opaque.co with attest.example.com in test fixtures
- guard Content-Length int() conversion against ValueError
- validate https:// scheme on Opaque attestation endpoint

Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The previous commit accidentally included the full _attach_tool_evidence
endpoint and ExternalExecutionEvidence imports from a draft implementation.
This commit resets server.py to main and applies only the intended fix:
guard int(content_length) against ValueError, returning 400 on malformed
Content-Length headers.

Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@imran-siddique imran-siddique merged commit 1993389 into main Jun 18, 2026
9 checks passed
@imran-siddique imran-siddique deleted the security/pre-launch-hardening branch June 18, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant