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 1–3 of 3 matching courses, lessons and labs
- LabP1Heap out-of-bounds: a length byte trusted in the label parser (C++20)
SCN-58 drops the length checks the scanner's label path repeats. Show a frame and a label that read past their buffers, put the checks back against the span, and restore the tests that pinned them. The Meridian scanner (C++20, CMake) now builds the payload and CRC views from the frame header's length byte with pointer arithmetic, takes a fixed-length GS1 element by its table width without checking the text, and indexes a rack label without checking its size. A header that claims more than arrived, or a label with a short payload, reads outside the buffer. Show each through the scan route, check the length against the span before any view is built, use first, last and subspan (or at) where an index depends on input, and restore the tests. Lesson: a length from the wire is a claim, not a bound. Nothing is compiled or sanitized; the test is shown as text only. 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. - Input is sent by class (a frame longer than its bytes, an empty label payload, a device name past the limit); the lab never spells one, and the HTTP client builds them for you. - The C++ is never compiled or run under a sanitizer; the emulated service answers as your saved code reads.
C++moderateA05:2025CWE-125CWE-129CWE-119 - LabP1Integer overflow: an unchecked run-length sum before the allocation (C++20)
SCN-61 lets long-label printers send bigger run-length frames. Show the decoder's size sum wrapping and its limit gone, then restore the checked sum before the allocation and the limit, and keep the too-large error. The Meridian scanner's rle_expand now adds each run's length into a 32-bit counter with no check, tests the total only after the loop, and DecoderSet::decode passes a larger limit instead of kMaxDecoded. Show a frame that packs a repeated block many times and one that expands past the limit through the decode route, restore the checked sum in size_t before reserve and the limit, keep Error::too_large, and add a test for a frame past the limit (shown as text). Lesson: a size computed from the input is checked, in a type wide enough for it, before anything is allocated from it. 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. - Input is sent by class (a repeated block packed many times, an oversized frame); the lab never spells one, and the HTTP client builds them for you. - The C++ is never compiled or sanitized, and the test you add is not run; the emulated service answers as your saved C++ reads.
C++moderateA05:2025CWE-190CWE-680CWE-789 - LabP1Use after free: a batch pointer kept across an erase (C++, RAII)
SCN-88 keeps every open batch in one vector and points each session at its batch with a raw pointer. Find where the scanner uses an iterator, a reference or a pointer after the container changed, put the batch back under a single owner, and add a unit test. The scanner's Store (C++20) now holds batches in a std::vector and sessions hold a raw Batch*. pair reads the erased session's iterator after erase and adds a batch with push_back while other sessions still point into the vector; close_batch keeps a reference to a batch across a push_back and moves from it. Read the code to find each, restore one owner with std::unique_ptr, take what you need before the container changes, and add a test that pairs past the old capacity, re-pairs a device and closes a batch. Lesson: an iterator, reference or pointer into a container is good only until the next erase or insert; give each object one owner. Nothing is compiled or sanitized here: the checks read your C++ and the emulated scanner answers as it reads. 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 is sent by class (a re-pair of the same device); the lab never spells one, and the HTTP client builds it for you. - The C++ is never compiled or run under a sanitizer; the emulated service answers as your saved code reads, and the unit test is checked as text.
C++moderateA05:2025CWE-416CWE-825CWE-672
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.