Cyberlium
Cyberlium
Cyberlium on Android·Google Play Store

Learn cybersecurity with hands-on labs and AI mentor support on your phone.

Mod 10 · Les 4/5
In progress
Module 10•Lesson 4 of 5•⏱️ 15 min read•Beginner+39 XP

Capstone Lab — Full API Review

Run YOUR checklist against 127.0.0.1:8819 (or your toy API).

Capstone Lab — Full API Review
00:00/02:22

Visual · api_capstone_lab

Capstone: checklist × lab evidence. Original Cyberlium.

Prove controls on a host you own — then stop.

Start YOUR API on loopback. Walk the checklist. Capture allow/deny, rate limit, DTO review, gateway health. No stranger targets. Stop the server when done.

1. Bring-up

Bind 127.0.0.1. Confirm RoE.

Health check passes.

Command guide

Try these commands — Bring-up

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

OWASP API Security — https://owasp.org/API-Security/ (capstone checklist) Postman collections — https://learning.postman.com/docs/collections/collections-overview/ jwt.io — https://jwt.io/

═══ INSTALL ═══

Linux (Debian/Ubuntu):

Command — copy this

sudo apt install curl
sudo apt install jq
sudo apt install openssl

macOS:

Command — copy this

brew install jq

Windows: Built-in (PowerShell: Invoke-WebRequest)

Command — copy this

choco install jq
choco install openssl

═══ LINUX / macOS ═══

Capstone: auth probe + JSON parse + TLS read on YOUR lab stack

Command — copy this

curl -sS -H "Authorization: Bearer lab-token" http://127.0.0.1:8819/me 2>/dev/null | jq .
curl -sS http://127.0.0.1:8819/items 2>/dev/null | jq 'if type=="array" then length else . end'
echo | openssl s_client -connect example.com:443 2>/dev/null | grep 'Protocol' | head -1
curl -sS -o /dev/null -w "final health %{http_code}
" http://127.0.0.1:8819/health

Primary tools to practice this lesson: curl, jq, openssl. Reference sites: OWASP API Security (https://owasp.org/API-Security/); Postman collections (https://learning.postman.com/docs/collections/collections-overview/); jwt.io (https://jwt.io/). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Walk checklist

Authn/authz evidence. Allowlists. 429 if available. Logging redaction note.

Mark N/A honestly when a control is absent — that is a finding on YOUR lab.

3. Shutdown

Stop server. Store notes owner-only.

No leftover 0.0.0.0 listeners.

4. What you ship: capstone evidence pack

Checked checklist with statuses + shutdown.

5. What you record before the next lesson

Pack path. Port 8819. Server stopped.

6. Wrong vs right: stranger APIs vs literacy on systems you own

Worked failure — same API word, opposite target. Right never needs a live shop or classmate token.

  • Wrong: Point the checklist at a production tenant without authorization.
  • Right: Lab evidence + stop. Next: topic quiz.
Hands-on Exercise

Mission: Topic 13 capstone

1) Start loopback API. 2) Walk checklist with evidence. 3) Stop server and secure notes.

Pro Tip

Stuck? Ask Cyberlium AI Mentor

Ask Mentor: “How to mark N/A without cheating yourself?”

Practice QuizQuestion 1
Multiple choice
Q1

APPLY: Capstone target:

Practice QuizQuestion 2
True or False
Q2

APPLY: True or False: Leave 0.0.0.0 running after lab.

Practice QuizQuestion 3
Multiple choice
Q3

APPLY: N/A on checklist means:

←Previous: API Security Checklist
Answer 3 practice quiz questions to unlock XP reward. (0/3 answered)
Skip quiz & read next →