Home/Catalogue/Git & Repository Security
Exercise domain

Git & Repository Security

5 drills · 5 playable free, no sign-up

The repository is a target and a supply chain. These exercises cover the mistakes that leak credentials into history, the pull request that hides a payload in a lockfile, and the settings that decide who can push what to production.

OWASP Top 10 CI/CDSLSANIST SSDFCIS Software Supply Chain
Play the full track 5 drills back to back, or pick one below
Play now

The key in the commit history

A secret was deleted in the next commit, so it is safe, right? Learn why history keeps it and what a real rotation looks like.

CWE-540CIS SSC
Play exerciseCore · 7 min
Play now

The friendly pull request

A first-time contributor opens a tidy PR that also edits the CI workflow. Read what it would run before you click merge.

OWASP CICD-SEC-4SLSA
Play exerciseAdvanced · 9 min
Play now

Branch protection that means it

Anyone can push straight to main and skip review. Set the rules that make a risky change take a second pair of eyes.

CIS SSCNIST SSDF
Play exerciseFoundational · 6 min
Play now

Dependency confusion

An internal package name is published to the public registry, and the build grabs it. See the confusion attack and how to scope your registry.

CWE-427SLSA
Play exerciseAdvanced · 8 min
Play now

The leaked token in CI logs

A build prints an environment variable, and the log is public. Learn how secrets escape through logs and how to mask them.

CWE-532OWASP CICD-SEC-6
Play exerciseCore · 7 min
How to play these. Each drill with a Play exercise link opens straight into that scenario in the 3D sim: finish it, then come back and pick another, or hit Play the full track to run them back to back. Drills marked In build are on the way.