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–5 of 5 matching courses, lessons and labs
- LabP1Integer overflow: route sums that wrap instead of being refused (Rust)
RT-163 replaced the routing planner's checked arithmetic with plain adds, a cast and wrapping_add, and turned overflow-checks off in the release profile. Show a load and a route length wrapping through the emulated routes, restore checked arithmetic with the errors the handlers already map to a 422, and say why saturating would hide the problem. The routing service (Rust, Axum 0.8, sqlx 0.8) sums stop weights, leg lengths, service time and the clock in u32. The branch swaps checked_add and u32::try_from for +, as and wrapping_add in geo.rs and plan.rs and sets overflow-checks = false in [profile.release], so an oversized plan wraps silently. Show the wrap through the plan and measure routes, restore checked_add with PlanError::OverCapacity and TooLong, turn the profile check back on, don't settle for saturating_add (it reports a distance that was never driven), keep the working-day and capacity limits, and add a test for sums that do not fit. Lesson: arithmetic on sizes, distances and times that came from a request must fail loudly when it does not fit; a clamp is a wrong answer with a straight face. 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. - Requests are sent by class (an oversized list of stops, an oversized vehicle, an oversized path, an empty list); the lab never spells one, and the HTTP client builds them for you. The plan route has no class for a heavy load or a slow vehicle, so the nearest, oversized, stands in for both. - The Rust is never compiled. The emulated service answers as your saved geo.rs, plan.rs and Cargo.toml read. - A sum that does not fit is an error the caller sees (PlanError::OverCapacity or TooLong, which routes.rs answers with a 422), not a smaller number. saturating_add is not a fix here: it keeps the plan going with a distance nobody drove.
AxumRustmoderateA05:2025CWE-190CWE-191 - LabP1Port a decoder to safe Rust: the FFI boundary (C++ scanner, Rust port)
SCAN-188 ports the scanner's location decoder to Rust behind an extern "C" entry, but the entry trusts the caller's pointer and length and the body is unsafe pointer arithmetic. Show the boundary trusting both, keep unsafe to one checked line, write the decoder in safe Rust, and keep the C++ vectors as Rust tests. The branch adds scanner/rust/ (a Rust port of LocationDecoder, the MLOC: zone, bay and level label) and a CMake hook that links it. The extern "C" entry builds a slice from the caller's pointer and length without checking either, and the decoder reads by pointer offset whatever the length is. Show a label past the bound and an empty one through the decode route, check the pointer and the length at the boundary with the one unsafe line and a SAFETY: comment, rewrite the decoder over a slice in safe Rust, and restate the C++ regression vectors as Rust tests. Lesson: the FFI boundary is where Rust's guarantees stop; check what the caller hands over there, justify the unsafe line, and keep everything behind it safe. 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 label past the bound, an empty label); the lab never spells one, and the HTTP client builds them for you. - Neither the C++ nor the Rust is compiled here; the emulated service answers as your saved Rust reads. Nothing in this lab runs cargo or Miri.
RustmoderateA05:2025CWE-125CWE-476CWE-119 - LabP1SQL injection: the delivery postcode filter that formats its LIKE into the query (Rust)
ROUT-212 let the delivery list take postcodes with punctuation in them, and the prefix now goes into the SQL text. It can rewrite the clause that keeps a customer inside their own account. Pull another account's deliveries through the postcode filter, then bind the prefix as a value again and test it with an apostrophe in it. The routing service's delivery list (Axum, sqlx) formats the postcode prefix into its SQL text. Show other accounts' deliveries coming back, push_bind the prefix with its trailing wildcard, don't settle for a keyword filter or doubled quotes, don't break partial-postcode search, and add a regression 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 postcode prefix is sent by class (a quote that steers the query, a condition that is always true); the lab never spells one, and the HTTP client builds them for you. - A search for the start of a postcode has to keep finding it.
AxumRusteasyA05:2025CWE-89 - LabP1Unsafe audit: two unjustified blocks in the polyline decoder (Rust, Axum)
PERF-211 took the forbid on unsafe code off the routing crate and put two unsafe blocks into the polyline decoder, with no SAFETY comments. Audit each, replace it with the safe call, restore the forbid and keep the polyline tests passing. The Routing service (Rust, Axum 0.8, sqlx 0.8) decodes the tracks driver devices upload. The branch removes #![forbid(unsafe_code)] from lib.rs, then swaps two checked steps in polyline.rs (i32::try_from and checked_sub) for unwrap_unchecked and unchecked_sub inside unsafe blocks. Each block is only as sound as the check written beside it, and that check is the whole job the safe call did. Audit them, delete the unsafe, restore the forbid so the compiler enforces it for every later change, and add a test for a point off the map. Lesson: unsafe is a promise the compiler cannot check; justify it in a SAFETY comment or do not write 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 path past the usual size, an empty one); the lab never spells one, and the HTTP client builds them for you. - The Rust is never compiled and Miri never runs here; the emulated service answers as your saved code reads. You prove nothing out of bounds is reachable by deleting the unsafe, not by showing it.
AxumRustmoderateA05:2025CWE-119CWE-125CWE-190 - LabP2Broken object-level authorization: any delivery, by id (Axum)
RT-31 lets support open a delivery from a ticket link. It now opens anyone's delivery. Prove it with two accounts, take the scope from the signed-in user again, and add the test that would have caught it. The routing service's delivery endpoint (Axum 0.8, Rust) reads with the all-accounts scope and shows the delivery to any signed-in customer who knows the id. Show a customer reading another account's delivery, read through Scope::of(&user) so another account's delivery looks like no delivery, make sure an account id sent by the client is never believed, and add a regression 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. - Leave the session extractors, the stores and the existing routing tests as they are.
AxumRusteasyA01:2025CWE-639CWE-284CWE-862
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.