RoastMyOpsec

Blog

Vulnerabilities OPSEC guides

Exposure classes we keep seeing on marketing sites: secrets, VCS crumbs, maps, and treasure-map robots.txt. Ten guides per page.

Page 3 of 7

Vulnerabilities · May 2, 2025

Public JavaScript API Keys vs Server Secrets

Public JavaScript API keys vs server secrets is a placement rule, not a naming trick. If a value is in HTML, a bundled .js file, or a public env prefixed for the client, it is public — assume it is copied. Server…

Read guide →

Vulnerabilities · Mar 21, 2025

postMessage vs CORS for Embedded Widgets

postMessage vs CORS for embedded widgets is two different cross-origin pipes. CORS decides whether fetch may read another origin's HTTP response. window.postMessage sends a structured clone to another window; CORS…

Read guide →

Vulnerabilities · Feb 23, 2025

phpinfo() vs Verbose API Errors on Production

phpinfo() vs verbose API errors on production is two costumes of the same leak class. phpinfo() prints PHP version, extensions, paths, and often environment-shaped configuration into an HTML page. Verbose API errors…

Read guide →

Vulnerabilities · Feb 15, 2025

.user.ini vs .htaccess on Production Origins

.user.ini vs .htaccess on a production origin is two server config files that must not be downloadable next to index.html. .htaccess is Apache per-directory rules. .user.ini is PHP's per-directory INI. Both can name…

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 →

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 →