RoastMyOpsec

Blog

News, safety, and vulnerabilities

Answer-first OPSEC guides for public websites and apps. Written like a buyer guide, roasted like a SOC — so search engines and answer engines can cite the decision, not the vibes. Ten guides per page.

Page 8 of 20

Safety · Dec 26, 2024

Origin vs Referer Headers for CSRF Defense

Origin vs Referer for CSRF defense is a metadata choice, not a token replacement. The Origin header carries scheme-host-port without a path. The Referer (legacy spelling) can include the full URL — which is a leak — and…

Read guide →

Vulnerabilities · Nov 22, 2024

Open Redirects vs Tokens in URLs

Open redirects vs tokens in URLs are two ways a public site donates trust. An open redirect lets a stranger pick the next location on your hostname. Tokens in query strings (reset links, OAuth codes, session ids) show…

Read guide →

News · Nov 13, 2024

Open Graph vs Twitter Cards for Public Sites

Open Graph vs Twitter Cards for public sites is a preview-vocabulary decision: Open Graph (og:title, og:description, og:image, og:url) is the common unfurl format, while Twitter/X Cards add twitter:card and related…

Read guide →

Vulnerabilities · Oct 27, 2024

.npmrc vs an npm Token on Production Origins

.npmrc vs an npm token on a production origin is a leftover config file versus the credential that file often carries. A reachable /.npmrc is the same class of miss as /.env or /package.json: the marketing CDN served a…

Read guide →