#security
security is one of the things i work on, so this site tries to practise what it preaches. here is exactly what it does.
## what it doesn't do
- no analytics, no trackers, no third-party scripts.
- no cookies. your theme and sound choice live in your own browser's local storage.
- fonts are self-hosted, so loading a page doesn't ping anyone else.
## response headers
every response is served with these:
| content-security-policy | default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://avatars.githubusercontent.com; font-src 'self'; connect-src 'self'; media-src 'self'; object-src 'none'; frame-src https://www.infernotables.com; base-uri 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests |
|---|---|
| strict-transport-security | max-age=63072000; includeSubDomains; preload |
| x-content-type-options | nosniff |
| referrer-policy | strict-origin-when-cross-origin |
| permissions-policy | camera=(), microphone=(), geolocation=(), payment=(), usb=() |
| cross-origin-opener-policy | same-origin |
| x-frame-options | DENY |
the one compromise: scripts allow 'unsafe-inline', because next.js inlines its bootstrap code and nonces would make every page render on request instead of being served static.
## reporting a vulnerability
found something? email edwardjonescontact@gmail.com. contact details are also in /.well-known/security.txt. please don't run automated scanners against it; it's a static site and there isn't much to find.
## capture the flag
there's a flag hidden on this site. no exploits needed and nothing to attack: just curiosity. the browser console is a good place to start. find it and email it to me.