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–7 of 7 matching courses, lessons and labs
- LabP1Server-side request forgery: the partner image that reaches an internal address (Kotlin)
MOB-231 lets the apps show product images from partner CDNs. The mobile back end now fetches whatever address it is given, follows redirects and no longer limits what comes back. Make it return an internal service's answer, then restore the approved-host rule, the no-redirect client and the limits. The mobile back end's image route (Ktor 3, ImageFetcher) accepts any source, follows redirects and returns any body. Show it reading an internal address, allow only HTTPS sources on approved hosts (checked on the parsed URI) with no redirects followed and the size and content-type limits back, don't settle for a deny-list of the dotted address or an allowlist whose client still follows redirects, don't allow no host at all, 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. - `gradle` in the terminal is a simulated toolchain: its output follows your code's recognized state, nothing is compiled. - Sources are sent by class (an internal address, the same address as one number, an approved host's redirector); the lab never spells one, and the HTTP client builds them for you. - The apps still have to show images from media.meridian.shop.
KtorKotlinmoderateA01:2025CWE-918 - LabP2Broken access control: drafts open to anyone with the link (Kotlin, Ktor)
HBR-212 let reviewers open a draft from a shared link. Now anyone who guesses a slug reads every draft on Harbor. Read one that is not yours, put the check back, and add the test that asks as a stranger. Harbor's article endpoint (Ktor 3) lost its status check so drafts could be shared for review. Show a member reading someone else's draft, answer a draft only to its author and the admins with the model's own rule, and add a regression test. Kotlin has no compiler in the browser: Gradle here is simulated, and its output follows your code's recognized state. Rules: - Everything in this lab is emulated. Nothing you write is compiled or run. - `gradle` in the terminal is a simulated toolchain: its output follows your code's recognized state, nothing is compiled. - Leave the build file, the model and the session code as they are.
KtorKotlineasyA01:2025CWE-639CWE-862 - LabP2Broken object-level authorization: any order, by id (Ktor)
MOB-31 lets the app open an order from its push notification. The order route now opens anyone's order. Prove it with two accounts, scope the read to the signed-in session's account again, and add the test that would have caught it. The mobile back end (Kotlin 2, Ktor 3) answers GET /mobile/v1/orders/{id} through an order read that uses the id alone, so any signed-in customer who knows an id reads another account's order. Show a customer reading another account's order, call the account-scoped read again and drop the unscoped one so another account's order looks like an unknown id, 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 token and session code, the database helper and the shipped tests as they are.
KtorKotlineasyA01:2025CWE-639CWE-284CWE-862 - LabP2Exported activity and intent validation: the courier app's delivery links (Kotlin, Android)
CRR-318 lets a text or the support tool open a delivery in the courier app. Any https link now opens it, and the launcher marks whatever id an intent carries. Show an id nobody issued reaching the back end, restore the verified link, check the id in both activities, and add the test that holds the checker to it. The courier app (Kotlin 2.2, Jetpack Compose) lost its verified link filter and the delivery-id check in both activities. Show an unchecked id going out in a delivery call, put back the verified link and the app's own check in the link activity and the launcher, and add a unit test. Kotlin has no compiler in the browser: Gradle here is simulated, and its output follows your code's recognized state. 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. - `gradle` in the terminal is a simulated toolchain: its output follows your code's recognized state, nothing is compiled. - Use the checker in DeliveryLink.kt as it is; never build a delivery id check of your own, and never pass extras or flags from the caller on. - Leave the build file, the token store and the back end client as they are.
Android (Jetpack Compose)KotlineasyA01:2025CWE-926CWE-20 - LabP3JWT validation: the verifier that stopped asking (Kotlin)
MOB-231 rebuilt the mobile back end's access-token verifier so the 2.4 app and the web shell could share it. It no longer asks who issued a token, who it is for, or whether it expires. Get an expired token and a token for another service accepted, then pin all three again and test it. The mobile back end's access-token verifier (Ktor 3, java-jwt, Kotlin 2) is built without the issuer, the audience and the expiry presence, and with a leeway of a day. Show an expired token and a token meant for another service accepted, pin issuer, audience and expiry again, keep the session re-read that ties a token to its user, and add a test that feeds the verifier bad tokens. Kotlin has no compiler in the tab: recognizers and the emulated app grade the change, and a simulated gradle prints the build output. 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. - Tokens are named by class (unsigned, expired, wrong audience); the lab never spells one, and the HTTP client builds them for you.
KtorKotlinmoderateA07:2025CWE-347CWE-345CWE-613 - LabP6Keys out of the APK: the courier app's maps key (Kotlin)
COU-188 ships a maps key inside the courier app: in the build, in the resources and in a header on every call. Show that the key opens the back end for anyone, take it out, and keep the app on the token exchange. The courier app (Kotlin 2.2, Jetpack Compose) now carries a maps key as a `buildConfigField`, a string resource and a header `BffClient` adds to every request, so anyone who unpacks the APK holds it. Show the back end accepting that key, remove it from the build, the resources and the client, keep sign-in on the badge-and-code exchange for a short-lived session, and add a test that the build carries no key. Kotlin has no compiler in the browser: Gradle here is simulated, and its output follows your code's recognized state. 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. - Everything in this lab is emulated. Nothing you write is compiled or run. - `gradle` in the terminal is a simulated toolchain: its output follows your code's recognized state, nothing is compiled. - Do not move the key to another place in the app (a properties file, an environment variable read at build time, an encoded string): whatever is built into the APK is in every copy. - Leave the token store, the view model and the delivery-link code as they are.
Android (Jetpack Compose)KotlinmoderateA04:2025CWE-798CWE-321CWE-522 - LabP6Session token in plain preferences, open to backup (Kotlin, Android)
COU-318 keeps couriers signed in across a phone change by saving the session token as plain text and backing the preferences file up. Put the token back under a key that cannot leave the device, turn backups and device transfers off, and add the test that preferences hold only ciphertext. The Meridian courier app (Kotlin 2.2, Jetpack Compose) saves its session token as a plain string in SharedPreferences, allows backup in the manifest and includes the preferences in the cloud-backup and device-transfer rules. Anyone who reads the file, a backup or a transferred copy holds a working token. Restore the sealed store (AES-GCM under a non-exportable Android Keystore key), exclude the file from backups and transfers, keep sign-in working, and add a test. Kotlin has no compiler in the browser: Gradle here is simulated, and its output follows your code's recognized state. The emulated app models the phone: what a copy of the preferences gives. 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. - `gradle` in the terminal is a simulated toolchain: its output follows your code's recognized state, nothing is compiled. `TokenStoreTest` needs a device and is not run. - Keep the key in the Android Keystore (`TokenStore.key()`); do not write a key in the source or add a second store. - Leave the back end client, the link activity and the build files as they are.
Android (Jetpack Compose)KotlinmoderateA04:2025CWE-312CWE-922CWE-530
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.