Application security

Secure by design: building security into your software delivery

Adding security afterwards is expensive and incomplete. Here is how to build security into design, code, pipeline and operations without slowing down your teams.

All insights

By Rebyc security experts · · 3 min read

Many organisations have an application tested for security just before go-live. The outcome is familiar: a long list of findings, a release under pressure and vulnerabilities that end up accepted as exceptions. Secure by design reverses that. Security becomes a property of how you design and deliver software, not a check at the end.

What secure by design means

The starting point is that a product is secure by default and that the secure choice is also the easiest choice. A user or developer does not need to know how to configure something securely: the default is secure. In practice this comes down to four habits: think through risks early, offer secure defaults, check automatically and learn from what goes wrong.

Four places in your delivery

1. Design: threat modelling

For every new feature or architecture change, discuss four questions: what are we working on, what can go wrong, what are we going to do about it and did we do a good job? An hour with the team around a diagram often delivers more than a week of testing afterwards, because design flaws are hard to fix later.

2. Code: secure defaults

Give developers libraries and templates in which authentication, authorisation, input validation and logging are already solved well. Add secret scanning to the commit and make peer review part of every change.

3. Build: automated checks

Let the pipeline run static analysis (SAST), checks for vulnerable dependencies (SCA) and scans of containers and infrastructure as code. Create a software bill of materials (SBOM) and sign builds, so you know what is running and where it came from. Make sure the pipeline blocks on critical findings and that the message is clear enough to fix immediately.

4. Run: test and monitor

Dynamic testing (DAST), periodic penetration tests for high-risk applications and monitoring of behaviour in production catch what was missed earlier. Also have a process to patch vulnerable dependencies quickly and a route for external researchers to report a vulnerability.

Make the secure way the easy way

  • Offer an approved platform (a so-called paved road) with secure defaults, so teams do not want to go around it.
  • Appoint security champions in teams. They translate security into daily practice and are the first point of contact.
  • Use OWASP ASVS as a requirements framework for applications and OWASP SAMM to determine where your process stands and what the next step is.
  • Give feedback in the tools developers already use, instead of in a separate report.

Measure what matters

  • How many of your applications have a current threat model?
  • How long does it take on average to fix a critical vulnerability?
  • How many builds does the pipeline block and how many of those were justified?
  • How many penetration test findings could you have found earlier?

Regulation is catching up

With the European Cyber Resilience Act, manufacturers of products with digital elements get legal obligations around security by design, vulnerability handling and reporting of actively exploited vulnerabilities. The reporting obligations apply from September 2026, with most other obligations following from December 2027. Organisations with a mature process now will not need to rush later.

Questions about this topic?

Book a free call with one of our experts and discuss what this means for your organisation.

Book a free call

Choose which cookies you allow. You can change your choice at any time.

Necessary cookies

Always active

Remember your language and your cookie choice. The website does not work properly without them.

Anonymous visitor statistics that show us which pages are viewed.

Read more in our cookie statement