1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
seirdy.one/content/notes/website-security-scanners.md

15 lines
1.3 KiB
Markdown
Raw Normal View History

2022-11-02 18:56:02 +00:00
---
title: "Website security scanners"
date: 2022-11-02T11:56:02-07:00
2024-05-24 13:48:22 +00:00
replyURI: "https://pleroma.envs.net/notice/APB6Va7FFvgXN801L6"
2022-11-02 18:56:02 +00:00
replyTitle: "why does hardenize still check for Expect-CT when the header is deprecated"
replyType: "SocialMediaPosting"
replyAuthor: "r3g_5z"
2024-05-24 13:48:22 +00:00
replyAuthorURI: "https://girlboss.ceo/"
lastMod: 2022-11-26T19:20:46Z
2022-11-02 18:56:02 +00:00
---
Speaking generally: I think most website security scanners (Webbkoll, Observatory, et al) lend themselves to cargo-cults. You don't need [most Content Security Policy directives](https://w3c.github.io/webappsec-csp/#csp-directives) for a PNG file, for instance. Warning against a missing `X-Frame-Options` feels wrong: even the latest version of iOS 9---the oldest iOS release to support secure TLS 1.2 <abbr>ECDSA</abbr> ciphers---seems to support `frame-ancestors` (correct me if I'm wrong).
[Internet.nl](https://internet.nl/) is a bit better: it doesn't penalize you for not using security headers. Instead, it just educates you about why you should consider them. Internet.nl only penalizes you for lacking features that universally apply, like proper TLS. I also like the approach of [ssh-audit](https://github.com/jtesta/ssh-audit): it lets you set a policy that works for your endpoint, and validate against that policy.