Articles about Web security
Everything we have written about Web security.
- All topics
- Vulnerabilities
- Compliance
- Identity and access
- Cloud
- Secure development
- Web security
- Phishing
- Incident response
- Email security
- Ransomware
- WordPress
- Penetration testing
-
Reviewing an MCP server before your AI agent gets its tools
What to check before connecting an MCP server to an AI agent: authorisation, token audience, tool permissions, write approval and SSRF.
-
Pin, restrict or remove third-party scripts on checkout and login
How to inventory external scripts, pin them with Subresource Integrity and restrict them with CSP before a compromised CDN skims your data.
-
Finding and fixing open redirects before phishers do
How to find redirect parameters that accept any destination, fix them with allowlists and ID mapping, and stop OAuth codes leaking through your domain.
-
An OAuth checklist from RFC 9700, split into MUST and SHOULD
Which OAuth 2.0 settings RFC 9700 makes mandatory and which it only recommends, with concrete tests for redirect URIs, PKCE, state, iss and refresh tokens.
-
Find string-built SQL queries and replace them with parameters
How to find concatenated SQL in application code and stored procedures, replace it with bound parameters, and limit database privileges.
-
Threat model a new feature in one hour without a security architect
A timed one-hour threat modelling session for developer teams, built on four questions and STRIDE, ending in tickets and test cases.
-
Path traversal: use IDs, not file names, and check the resolved path
How to find file reads, downloads and includes that accept ../ sequences, and fix them with ID lookups and canonical-path checks instead of blocklists.
-
Session management checks for cookies, timeouts and logout
A checklist for testing web sessions: ID strength, cookie attributes, rotation at login, timeouts and server-side logout, with curl commands for key tests.
-
Spotting password spraying and credential stuffing in your logs
How to recognise password spraying and credential stuffing in Microsoft 365 and web logins, and which lockout, MFA and alert settings stop them.
-
Password reset flows that do not undo your login security
How to design and test a forgot-password flow: tokens, expiry, enumeration, sessions, and a reset that cannot bypass an enrolled second factor.
-
GraphQL API security: five tests to run before launch
Five GraphQL tests to run on staging: defaults, input validation, query cost, batching abuse and field-level authorisation, each with the fix.
-
WordPress cache benchmark: AngelForce Cache, W3 Total Cache, WP Super Cache
Three WordPress cache plugins on the same server and page: time to first byte, requests per second and Google PageSpeed on mobile and desktop, with the method and the limits.