Network segmentation decides how far an attacker gets after the first mistake. If your web server and your database share one flat network, one bug in the web app puts the database a single hop away. Split the network…
App security
48 posts
Attack surface analysis is the work of mapping every place an attacker could get into your app or get data out of it, so you know what to test and protect. The OWASP Attack Surface Analysis Cheat Sheet describes a…
Vulnerability disclosure is how a flaw someone else found in your app reaches you, gets fixed and is told to your users. If you want to know how to receive and handle security vulnerability reports, this guide starts…
Infrastructure as code security matters because your servers, networks and permissions are now defined in templates, and a mistake in a template is deployed as faithfully as a good line. The OWASP Infrastructure as Code…
Kubernetes security depends far more on cluster settings than on any single image. Who can call the API, who can reach etcd and the kubelets, what each pod may do and whether secrets are encrypted are all choices someone…
CI/CD security is about the system that turns a commit into a running product. Your build pipeline reads your source code, holds your deploy keys and pushes to production with little or no human in the loop. The OWASP…
Docker security best practices start with how a container is started, not which image you pull. The same image can run as a locked-down process or as something close to root on your server, and the difference is a…
Most of the code your app runs was written by someone else. When one of those packages turns out to have a known flaw, the scanner alert is the easy part. The hard part is finding a safe upgrade path when the fix is not…
Most API keys do not leak through clever attacks. A key gets pasted into a config file to test something, the file gets committed, and now it lives in your git history. Or a debug line prints a whole request, headers and…
Webhook security matters because a webhook is an instruction from outside your app. A payment provider says "this invoice was paid" and your code ships the order. A code host says "this branch was pushed" and your…
Threat modeling sounds like something a large company does with a security department and a binder. It is not. At its core it is a short, structured conversation about how your app could be misused and what you will do…
Session cookie security is easy to overlook because your framework sets the cookie for you. Users sign in, a cookie appears, and everything works. But that one cookie is the user's identity for as long as it lives, and a…
Security headers are short lines your server adds to every response, telling the browser how to treat your pages: only over HTTPS, not inside someone else's frame, without guessing file types. They are cheap to add and…
To test a password reset flow, you check four things in order: the request, the link and its token, the reset page, and what the app does afterwards. Password reset security deserves as much care as the login form,…
Login rate limiting is one of those controls every team means to add and few teams test. The login form works, the signup form works, and nobody tries the hundredth wrong password until someone outside the company does.…
Frontend secrets are API keys and passwords that end up in the JavaScript your visitors download. It happens to careful teams, because the key was "in an environment variable" and that felt private. But build tools copy…
File upload security best practices come down to a short list: who may upload, what the file is called, what type it really is, how big it can be, where it is stored and how it is processed. This post gives you that…
This pre-launch security checklist is for teams about to take payments. It covers payment gateway security testing on a test checkout and the sign-in checks that sit beside it. Most security problems in a young web app…