Fortify

Build defences and secure defaults.

Fortify is where developers put secure defaults and enforceable controls in place. You won't make attacks impossible. The aim is to raise the cost high enough that attackers move on to an easier target.

Why Fortification Matters

Key insight: Fortify is proactive defence. It shows auditors, customers and your own teams that you are building on solid foundations.

Defence in Depth

Secrets Management

Centralised Secret Storage

CI/CD Credentials

Supply Chain Hardening

Dependency Hygiene

A minimal Renovate example:

{
  "extends": ["config:recommended", "helpers:pinGitHubActionDigests"],
  "minimumReleaseAge": "3 days"
}

Controlling What Comes In

Pinning decides which versions you want. Consumption controls decide where they come from and what is allowed through.

Publishing Without Long-Lived Tokens

Build Integrity

AI Coding Assistants and Agents

Infrastructure Hardening

Runtime Protection

Network segmentation, zero trust and access boundaries are covered in Limit.

Implementation Patterns

Repository Defaults

Pipeline Defaults

Developer Accounts

Configuration as Code

Compliance and Standards Alignment

Regulation

EU Cyber Resilience Act (CRA)

The CRA entered into force in December 2024 and phases in:

For developers, the duties that matter most are:

US Federal Requirements

EU Product Liability Directive

The revised Product Liability Directive (EU) 2024/2853 entered into force in December 2024. Member States must transpose it by 9 December 2026, and it applies to products placed on the market after that date.

Industry Standards

NIST Cybersecurity Framework 2.0 (February 2024) has six functions:

Other useful references

Fortification Checklist

Immediate Actions

Medium-term Goals

Advanced Security

Goal

Build proactive defences that make attacks harder while keeping development workflows smooth.

Core Activities

Put fortification into practice against specific attacks:


Previous Stage: ← Evaluate Next Stage: Limit →

Once you've built strong defences, learn to design systems that limit the damage when they fail.