Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

new_audit: ensure clickjacking mitigation through XFO or CSP #16290

Merged
merged 35 commits into from
Jan 22, 2025

Conversation

sebastian9er
Copy link
Contributor

Summary
Adding a new audit to Ligththouse, which detects missing Clickjacking mitigation through the X-Frame-Options or Content-Security-Policy HTTP header.

Part of a larger change to introduce more similar header deployments.

Similar to the HSTS audit (#16257), the description contains a placeholder doc link until the internal doc is approved. @adamraine FYI

@sebastian9er sebastian9er requested a review from a team as a code owner December 18, 2024 13:43
@sebastian9er sebastian9er requested review from connorjclark and removed request for a team December 18, 2024 13:43
@adamraine adamraine changed the title new_audit: ensure clickjacking mitigation through xfo or csp new_audit: ensure clickjacking mitigation through XFO or CSP Dec 20, 2024
Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert your changes to cli/test/smokehouse/frontends/smokehouse-bin.js

Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still changes to smokehouse-bin.js, not sure why but can you revert them?

@sebastian9er
Copy link
Contributor Author

Thanks for your help, Adam! Should work now.

@sebastian9er
Copy link
Contributor Author

Are any of the errors related to this audit? To me it looks like no, but maybe implicitly?

@adamraine
Copy link
Member

adamraine commented Jan 14, 2025

Are any of the errors related to this audit?

Some of them yes, but it was just some minor audit count / snapshot stuff.

The other failures are unrelated and blocked on #16301

@adamraine adamraine merged commit 466f6c6 into GoogleChrome:main Jan 22, 2025
24 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants