feat(enrichment): flag COOP/COEP unsafe-none in iac-misconfig - #3545
Conversation
Add two zero-FP HTTP isolation header rules on the existing iac-misconfig analyzer, following JSONbored#3387. Drops the X-XSS-Protection and X-Frame-Options ALLOWALL rules from the closed JSONbored#3538 attempt per review feedback. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 16:41:13 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
Extends the existing
iac-misconfigHTTP security-header rules (merged in #3387) with two zero-FP isolation-header checks, addressing #3538 review feedback by dropping theX-XSS-Protection: 0andX-Frame-Options: ALLOWALLrules (modern guidance treats0as hardening;ALLOWALLis non-standard/low-signal).coop-unsafe-noneCross-Origin-Opener-Policy … unsafe-nonewindow.openeraccesscoep-unsafe-noneCross-Origin-Embedder-Policy … unsafe-noneEach rule requires its own header token on the same line as the weakening value, so unrelated lines (e.g.
Cache-Control: max-age=0, bareunsafe-none = false) are not flagged.Fixes #2096
Follow-up to the IaC-misconfig test-scaffold issue: the original deliverable (pure-scanner unit tests) landed in #2096; this PR completes the next slice of analyzer coverage requested in #2096#issuecomment-4886736482. If maintainers prefer a fresh open tracking issue instead of the closed parent, happy to retarget the closing reference.
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlint— not applicable (review-enrichment only)npm run typecheck— not applicable (review-enrichment only)npm run test:coverage— not applicable (review-enrichment only)npm run test:workers— not applicablenpm run build:mcp— not applicablenpm run test:mcp-pack— not applicablenpm run ui:openapi:check— not applicablenpm run ui:lint— not applicablenpm run ui:typecheck— not applicablenpm run ui:build— not applicablenpm audit --audit-level=moderate— not applicableIf any required check was skipped, explain why:
npm --prefix review-enrichment run buildandnode --test review-enrichment/test/iac-misconfig.test.ts(22/22 pass).analyzer-metadata.jsonunchanged (no registry descriptor changes).Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A — no UI changes.
Notes
Cache-Control max-age=0, bareunsafe-noneconfig key).