Skip to content

security: pre-launch hardening#19

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

security: pre-launch hardening#19
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:20
- update schema subject pattern to accept did: URIs (aligns with v0.2 spec)
- add private key material check in TR-SIG: fail if cnf.jwk contains 'd' field
- sync __version__ to 0.2.0 (matches pyproject.toml)
- tighten subject URI validation regex in tr_env (require method+id for DID)
- pin CI workflow action references to commit SHAs

Signed-off-by: Imran Siddique <imran.siddique@opaque.co>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The loader intentionally allows a top-level 'signature' field in plain
TRACE records because sign_record() embeds the Ed25519 signature inline.
Only 'trace' and 'gateway' are unambiguous cmcp envelope markers. The
[signature] parametrize case was testing behavior the loader explicitly
chose not to implement, causing a pre-existing test failure on main.

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 1a4aa44 into main Jun 18, 2026
4 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