Lesson 06 Secrets Management & Cryptographic Hygiene
Theme:

Homework

Lock down secrets and crypto in your own workflow: build a scanner, rotate keys, and replace a weak primitive.

Task 1 — Secret Scanner Prompt

Objective: Build a reusable prompt that scans any text blob for secrets and outputs them as JSON (type, confidence, rotation urgency).

Instructions:

Deliverable: A prompt file and its JSON output.

Task 2 — Rotate Your Own Token

Objective: Pick one API token you personally use and rotate it.

Instructions:

Deliverable: A 150-word rotation log (no actual secret included).

Task 3 — Crypto Replacement

Objective: Find a small Python or JS project that uses MD5, SHA1, or DES and replace the primitive correctly.

Instructions:

Deliverable: A patch file and a short rationale.