DevSec Station

Security Requirements: What They Are and How to Add Them to Your Project

Tanya Janca | SheHacksPurple Season 1 Episode 12

Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.

0:00 | 6:56

Security problems don't generally happen because developers 'don't care' or lack skill. They happen because no one clearly defined what "secure" meant in the first place. When security expectations are left implicit, developers are forced to guess. And that's where vulnerabilities are born.

This episode is sponsored by Maze.

In this episode of DevSec Station, Tanya Janca explains what security requirements are, why they're one of the most overlooked secure development practices, and how developers can start adding them to projects today. You'll learn how clear, testable security requirements eliminate guesswork, improve collaboration, and help teams build secure software from the start. 

You'll learn:

  •  what security requirements are (and what they are not) 
  •  why vague security expectations lead to recurring problems 
  •  how security requirements improve design, code reviews, and testing 
  •  examples of effective security requirements developers can write today 
  •  how to add security requirements to features without creating bureaucracy 

Tanya walks through a familiar scenario where a feature works exactly as intended, only to be criticized later because security expectations that were never documented are missing. She explains why this isn't a developer failure, it's a communication failure, and shows how a few clear requirements can prevent expensive misunderstandings before development even begins. 

If you do just one thing after listening to this episode:

Add two or three security requirements to a feature you're currently working on.

For example, consider requirements like:

  •  who should be allowed to access the feature 
  •  what inputs must be validated (spoiler alert: all of them!)
  •  what sensitive data must never be logged 
  •  how the application should behave when something goes wrong 

Then document those requirements somewhere your team will actually see them:

  •  the project requirements document (the best place)
  •  a ticket 
  •  a pull request description 
  •  or somewhere else in the project's documentation 

When security expectations are written down, developers don't have to guess. They can build the right thing the first time.

DevSec Station is a podcast by Tanya Janca (SheHacksPurple), focused on short, practical lessons that help software developers build more secure software.

Follow Tanya:

This episode is sponsored by Maze.

One of the biggest problems in security right now is that every vulnerability scanner says everything is critical, and honestly, no one has time for that.

Maze uses AI agents to investigate vulnerabilities in context, so you can focus on the issues that are actually exploitable in your environment, not just theoretically scary.

Their AI agents also generate and prioritize fixes that knock out multiple vulnerabilities at once, which is honestly the kind of scaling that security teams need right now.

Learn more about Maze https://mazehq.com/devsec

People on this episode