Review Project 1 API authentication
Jump & context
Week 13: Responsible Disclosure, Cross-Project Architecture Review & Project 1 Hardening
The five hours
- 01
Concepts & system design
60 min· read · map the mechanismR02 — ASVS authz
R03 — API BOLA
R09 — PostgreSQL RLS/constraints
Read the assigned sections; map the mechanism, threat model and trade-offs.
- 02
Project implementation
120 min· build · integrate · debugAudit
P1API 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.
- 03
Security lab
60 min· attack your own systemRun cross-user BOLA and memory-poisoning tests against all
P1conversation andC10memory endpoints; fix any bypasses.Test the abuse case, failure path, authorization bypass or resource limit.
- 04
Verification & evidence
30 min· test · record evidence100% passing cross-user SQL and
C10memory lifecycle/isolation test suite.Add or run regression tests; record the 9-point evidence record.
- 05
Deliberate practice & Socratic review
30 min· explain aloud · update gapsAnswer 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.
- total5 h
Read today · inside the concepts block
R02 R03 R09Access-control, validation, authentication, file-handling, and logging requirements.
BOLA (API1), Broken Auth (API2), Unrestricted Resource Consumption (API4), SSRF (API7), Misconfiguration (API8).
Foreign-key constraints, indexes, ACID transactions, row-level security (RLS), and query planning.
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 pageAPI1: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 UniversityUnderstanding 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 HamdanOWASP 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 readAPI1: 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 + challengesOWASP 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
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
emptyThe two source formulations
verbatim · nothing summarisedProject & 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).
---