Skip to content

fix: harden Go protocol adapters - #21

Merged
mostafa merged 1 commit into
mainfrom
fix/security-review-pr
May 11, 2026
Merged

mostafa merged 1 commit into
mainfrom
fix/security-review-pr

Conversation

@mostafa

@mostafa mostafa commented May 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add SECURITY.md and THREAT_MODEL.md for the S1 security review deliverables.
  • Fix Go TCP/HTTP/SSH adapter paths so URL-level checks are paired with IP-level policy enforcement.
  • Reuse wazero's compilation cache so Go race tests no longer spend minutes recompiling core.wasm per policy build.

Test plan

  • go test -count=1 -race ./...
  • go vet ./...

Add the security review artifacts and fix Go protocol adapter validation so TCP, HTTP, and SSH paths consistently enforce IP-level policy checks while reusing cached WASM compilation for fast race tests.
@mostafa
mostafa merged commit a3f06f4 into main May 11, 2026
12 of 20 checks passed
@mostafa
mostafa deleted the fix/security-review-pr branch May 11, 2026 21:45
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