docs(security): document clickjacking protection#590
docs(security): document clickjacking protection#590samgutentag wants to merge 1 commit intomainfrom
Conversation
…ders Trunk now sets Content-Security-Policy: frame-ancestors 'self' and X-Frame-Options: SAMEORIGIN on all frontend routes, addressing a customer clickjacking report. Trunk2 PR #3775, shipped in v164. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> https://claude.ai/code/session_014qULqFuLwEDqNLt4pr2iNu
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
Claude finished @samgutentag's task in 1m 4s —— View job PR Review Complete
Review SummaryThe change adds one bullet point to the Infrastructure Security section documenting clickjacking protection via anti-framing headers. Overall this is accurate, well-formatted, and consistent with the existing style in the section. Positives:
Minor suggestion (non-blocking):
No blocking issues found. ✓ |
| * **Encryption in transit**: All data transmitted to and from Trunk uses TLS (Transport Layer Security) and HSTS | ||
| * **Encryption at rest**: All customer data is encrypted using AES-256 | ||
| * **Network isolation**: Production services run in isolated AWS VPCs with restricted access; all services are within private subnets with no internet access and use a network gateway to permit specific traffic | ||
| * **Clickjacking protection**: All Trunk app pages set `Content-Security-Policy: frame-ancestors 'self'` and `X-Frame-Options: SAMEORIGIN`, preventing Trunk pages from being embedded in external iframes |
There was a problem hiding this comment.
Minor nit (non-blocking): "embedded in external iframes" is slightly redundant since iframes are inherently an embedding mechanism. Consider tightening to "framed by external sites" for clarity.
| * **Clickjacking protection**: All Trunk app pages set `Content-Security-Policy: frame-ancestors 'self'` and `X-Frame-Options: SAMEORIGIN`, preventing Trunk pages from being embedded in external iframes | |
| * **Clickjacking protection**: All Trunk app pages set `Content-Security-Policy: frame-ancestors 'self'` and `X-Frame-Options: SAMEORIGIN`, preventing Trunk pages from being framed by external sites |
Summary
Content-Security-Policy: frame-ancestors 'self'andX-Frame-Options: SAMEORIGINto prevent clickjackingContext
This documents trunk2 PR #3775 (shipped in v164), which addressed a customer clickjacking report by adding anti-framing headers to all frontend routes.
Test plan
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
https://claude.ai/code/session_014qULqFuLwEDqNLt4pr2iNu
Generated by Claude Code