Skip to content
Roadmap0/111
not startedstudy day 4 of 6 · covers original day 98

Review Project 1 API authentication

not started0/5 blocks
0/5
Jump & context

Week 13: Responsible Disclosure, Cross-Project Architecture Review & Project 1 Hardening

The five hours

  1. 01

    Concepts & system design

    60 min

    R02 — ASVS authz

    R03 — API BOLA

    R09 — PostgreSQL RLS/constraints

    Read the assigned sections; map the mechanism, threat model and trade-offs.

  2. 02

    Project implementation

    120 min

    Audit P1 API authentication, conversation ownership, SQL persistence, and memory ACLs. Complete `C10` (Adaptive memory & personalized state): add user preference/task-state lifecycle (write, retrieve, correct, TTL expire, and delete) with strict owner/tenant binding and trust labels.

    Build, integrate, debug and improve the increment in the active project.

  3. 03

    Security lab

    60 min

    Run cross-user BOLA and memory-poisoning tests against all P1 conversation and C10 memory endpoints; fix any bypasses.

    Test the abuse case, failure path, authorization bypass or resource limit.

  4. 04

    Verification & evidence

    30 min

    100% passing cross-user SQL and C10 memory lifecycle/isolation test suite.

    Add or run regression tests; record the 9-point evidence record.

  5. 05

    Deliberate practice & Socratic review

    30 min

    Answer the 8 Socratic questions without notes: What? Why? How? What if? Why not? How can I prove it? Where can it break? What have I learned?

    Re-explain the hardest concept aloud, inspect one edge case, update the gap log.

  6. total5 h

Read today · inside the concepts block

R02 R03 R09

Read only the named sections needed for today's task. Reading sits inside the 60-minute concepts block; it is not extra time.

Free resources for this day

5 curated
  • docsOWASP API Security Top 10 · risk page
    API1:2023 Broken Object Level Authorization

    Defines BOLA precisely and gives the three attack scenarios plus the prevention rule (compare the object's owner to the authenticated caller on every access) that your conversation-ownership and memory-ACL audit tests.

    R03moved 2026-11-11
  • videoAPIsec University
    Understanding the #1 OWASP API vulnerability, Broken Object Level Authorization #cybersecurity.

    Corey Ball walks real BOLA breaches and why scanners miss them, which frames the manual replay-across-accounts test you run against conversation and memory endpoints.

    R03checked 2026-11-11
  • videoMotasem Hamdan
    OWASP TOP 10 API Vulnerabilities Explained | Part One | TryHackMe

    Hands-on TryHackMe walkthrough of BOLA and broken authentication, showing the request-level manipulation that a SQL-persistence-backed conversation API must reject.

    R03R02checked 2026-11-11
  • docsOWASP API Security Top 10 (2023) · 10 min read
    API1: Broken Object Level Authorization

    The canonical definition of BOLA with attack examples and the object-level check that must live in application code, which is exactly what the day tests.

    R03R09moved 2026-11-11
  • repoOWASP (GitHub) · vulnerable app + challenges
    OWASP crAPI

    A deliberately broken API with 13 challenges spanning BOLA, broken auth, and mass assignment, giving a safe local target to prove your ownership checks actually return 403/404 cross-account.

    R03R09checked 2026-11-11

Evidence record · 9-point standard

0/9

A lab is complete only when it produces evidence. Installing PyRIT, Garak, Presidio or TransformerLens is not completion. Saved on this device only.

Day notes

empty

The two source formulations

verbatim · nothing summarised

Project & Capability Target

Project 1 Hardening (C10 integration) | S0, M6

Core Implementation

Audit P1 API authentication, conversation ownership, SQL persistence, and memory ACLs. Complete `C10` (Adaptive memory & personalized state): add user preference/task-state lifecycle (write, retrieve, correct, TTL expire, and delete) with strict owner/tenant binding and trust labels.

Security Lab

Run cross-user BOLA and memory-poisoning tests against all P1 conversation and C10 memory endpoints; fix any bypasses.

Verification & Evidence

100% passing cross-user SQL and C10 memory lifecycle/isolation test suite.

Read Today (60m Concepts Block)

R02 (ASVS authz), R03 (API BOLA), R09 (PostgreSQL RLS/constraints).

---