Secure engineering for the way software is built now.
Ten principles that carry across languages, practiced on a realistic codebase with an AI assistant beside you. Find the flaw, fix it in the IDE, prove it with a test, and keep the evidence your auditors ask for.

Four levels and capstones
The principles carry across languages, so mastery is reported per principle, never per language. Every lab runs the same loop: find, fix, prove, transfer, prevent.
- Level 0Foundations
How the web and cloud work, thinking like an attacker, and your tools (IDE, git, tests, the AI assistant, the pipeline).
- Level 1Principles
One track per principle, using the loop: find, fix, prove, transfer, prevent.
- Level 2Systems
Identity architecture, cloud deployment on four clouds, CI/CD and supply chain, AI features, data.
- Level 3Engineering after AI
Specs, tests, reviewing at AI volume, the pipeline as safety system, operating what you ship, running a team of agents.
- FinishCapstones
Harden Meridian against a scripted adversary, a pentest-report remediation sprint, ship a feature in 90 minutes with an AI agent, ASVS L2 verification, incident to postmortem.
Not sure where to start?
Tell the guide your language, your role or the weakness you are fixing, and it opens the catalog on the courses and labs for it.
Every course, lesson and lab
Ten principle tracks and Engineering after AI. Search, or narrow by language, framework, weakness, level and the standards you report against.
Pick a language, then a framework: every principle shows its closest lab.
Showing 25–28 of 28 matching courses, lessons and labs
- LabP6The second factor that was only a suggestion (Java)
Rafael, AUTH-233: "Staff sign-in now takes a one-time code. Which guarantee did we just touch?" The code is checked only when one is sent, and the reset link signs you straight in. Make the code count on every path. The Auth service's staff sign-in (Spring Boot 3.3) verifies the one-time code only when the request has one, and the password-reset route ends by starting a session. Show a session obtained without the code, require the second factor wherever a session starts, and add a test. Rules: - Everything in this lab is emulated. Nothing you write is compiled or run. - You start on the ticket's branch of the Meridian repository; `main` is the baseline before the ticket. - Change what the ticket got wrong; leave the rest of the repository as it is. - The omitted code is a field the HTTP client leaves out; the lab never writes a code that works.
Spring BootJavamoderateA07:2025CWE-304CWE-287CWE-306 - LabP6Timing side channel: the courier key that says no at different speeds (Node)
Mo: "The courier wants to push order status to us with a key. Should be a quick one." Perc has opinions about that last word. Branch GW-214 compares the courier's partner key with `===`, so the check answers a close guess a hair slower than a far one. Show the answer to a wrong key reporting an early-exit compare, compare in constant time without breaking the refusal of a key of another length, and test it. The gateway (Fastify 5) takes the courier's status pushes behind a shared key. The comparison stops at the first byte that differs. Use the crypto module's constant-time compare, and mind what it does with unequal lengths. A hash compared with `===`, a hand-written loop that returns early, or a length check in front of `===` is not the fix. Rules: - Everything in this lab is emulated. Nothing you write is compiled or run. - You start on the ticket's branch of the Meridian repository; `main` is the baseline before the ticket. - Change what the ticket got wrong; leave the rest of the repository as it is. - The lab never spells a key a request is accepted with except the courier's seeded one; wrong keys are input classes. - Rafael: which guarantee did we just touch? — a refusal must cost the same however close the guess was. - Kai: a wrong key of any length still gets a 401. — k
FastifyTypeScriptmoderateA04:2025CWE-208CWE-203 - LabP6Verbose errors: the cart page that tells the whole building (Node)
Mo, GW-223: "Support wants to see what went wrong on the cart page without pinging me. Should be a quick one." The error handler now answers with the message, the stack and the route. Show a failing request telling a customer where our cache lives, then give the client a generic error and a number, and keep the story in the log. The gateway's cart routes (Fastify 5, Node 22) answer every failure with the error's message, stack and path. Show a failing request returning them, answer with a generic message and a correlation id, log the detail server-side under that id, keep 4xx answers honest, don't settle for hiding only the stack or gating the detail on an environment name, and add a test that reads a failing response. Lesson: the client gets a short apology and a number; the long story stays in the log. Rules: - Everything in this lab is emulated. Nothing you write is compiled or run. - You start on the ticket's branch of the Meridian repository; `main` is the baseline before the ticket. - Change what the ticket got wrong; leave the rest of the repository as it is. - The request that makes the lookup fail is named by class (an id the store cannot read); the lab never spells one, and the HTTP client builds it for you. - A cart that does not exist is still a 404, and a signed-out request is still a 401.
FastifyTypeScripteasyA02:2025CWE-209 - LabP6Weak password hashing: the fast digest that made sign-in instant (Java)
Mo: "The kiosk sign-in takes 80 ms. Make it instant. Should be a quick one." Branch AUTH-240 now stores new passwords as one unsalted SHA-256 digest, and the upgrade hook is a stub. Show the weak scheme in Rafael's credential report, store new passwords with a slow, salted KDF, upgrade each old row when its owner signs in, and test it. The Auth service (Spring Boot 3.3) stores new passwords as an unsalted SHA-256 digest; the bcrypt rows from before still verify, and nothing is upgraded. Move to a KDF, keep every stored row signing in, rehash on login, and don't settle for salting a fast digest, a KDF that never rehashes, or one that locks the old rows out. Rules: - Everything in this lab is emulated. Nothing you write is compiled or run. - You start on the ticket's branch of the Meridian repository; `main` is the baseline before the ticket. - Change what the ticket got wrong; leave the rest of the repository as it is. - Passwords come from the fixtures; the lab never spells a password hash, and the report shows the scheme, never the hash. - Kai: the customers who signed up last week still have to sign in. — k
Spring BootJavamoderateA04:2025CWE-916CWE-759CWE-328
A path for each job
Role paths are campaigns in the assignment model, re-assigned every year. Each puts its weight on the principles that role meets most, and picks each principle's lab from your stack.
- BackendPrinciples 1, 2, 3, 6
- FrontendPrinciples 1, 5, 3
- APIPrinciples 2, 5, 6
- MobilePrinciples 3, 5, 8
- DevOps and platformPrinciples 4, 7, 9
- EmbeddedPrinciples 10, 6, 8
- AI engineerPrinciples 1, 4, 7
- ArchitectPrinciples 2, 4, 8, 10
- AppSec championPrinciples 1, 2, 7, 9
- Manager (no coding)Concepts, risk and evidence, without code
Your language, the same principle
- JavaScript2 labs
- TypeScript34 labs
- Python21 labs
- Java16 labs
- C#14 labs
- Go8 labs
- PHP8 labs
- Ruby6 labs
- Kotlin7 labs
- Swift6 labs
- Scala1 lab
- Dart1 lab
- Elixirnot yet
- Rust5 labs
- C1 lab
- C++5 labs
What buyers must prove
| Obligation | What it asks | How Forge meets it | Tagged labs |
|---|---|---|---|
| DISA Application Security & Development STIG, APSC-DV-003400 (V-222673) | Annual secure design and coding training for the development team | Annual role-path campaigns with dated completion records; labs are tagged with the STIG requirements they teach | 3 |
| NIST SSDF SP 800-218, PO.2.2 | Role-based training, and periodic review of proficiency | Role paths plus an annual per-principle proficiency assessment, with and without AI | 134 |
| PCI DSS v4.0, requirement 6.2.2 | Every 12 months, training on software security relevant to the person's job and development languages | Language-skinned labs matched to each person's stack, the annual cadence, and evidence per person | 91 |
| CMMC Level 2 / NIST SP 800-171 (AT practices) | Role-based training with records | Role paths and exportable records per person | — |
| NSA CNSA 2.0, NIST FIPS 203/204/205 | Planning and executing the post-quantum migration | Post-quantum labs: crypto inventory, crypto-agility, ML-KEM/ML-DSA migration | 0 |
| CISA/NSA memory-safety guidance | Memory-safe languages and a migration roadmap | The memory-safety track and a roadmap exercise for architects | 0 |
| NIST SP 800-218A | Secure development for generative-AI systems | The AI-systems and engineering-after-AI tracks | — |
| DoD 8140 / DCWF | Training mapped to cyber work roles | Role paths tagged with DCWF work roles | — |
Control wording is summarized from secondary sources and is checked against the primary documents before it goes into sales material.
- 01Read the change
A real-looking pull request with context, tests and history.
- 02Weigh the automation
Scanner output and AI suggestions arrive with their own confidence.
- 03Decide
Approve, block or rewrite — and note the evidence.
- 04See the consequence
Emulated service behavior shows what your decision would have done; it is not an external deployment test.

Human adjudication of generated code
You review the AI agent's pull request, show what it gets wrong against the running service, and fix it with a test.
What you get with Forge
| Capability | Cybrary Forge | Secure Code Warrior |
|---|---|---|
| Pull-request review exercises | Yes | — |
| Scanner-finding adjudication | Yes | — |
| AI-generated patch review | Yes | Yes — trains developers to review AI code, plus commit-level governance |
| Graded evidence notes | Yes | — |
| Team assignment and progress | Yes | Yes — enterprise learning platform |
| Capabilities covered | 5 of 5 | 2 of 5 |
Forge capabilities verified in the product. Competitor documentation varies; absence from their materials is not treated as absence of functionality. "—" means we did not find it in their public materials; partial matches are described in their own words. Sources: Secure Code Warrior (Sep 2026).
Practice reviewing code, including AI-written code.
Try a review exercise, or talk to us about your developer program.