OBJECTIVE

Analyze supplied response headers and HTML references to determine what a Content Security Policy permits, blocks, or leaves unprotected.

TIME PLAN

Prepare 25m · Build 105m · Verify 25m · Document 25m

Working boundary

Work only inside the folder created by Smartphone-Academy.py prepare csp-review. Use the supplied fictional samples or data you are explicitly authorized to handle.

Prepare the Termux workspace

Open Termux in the Academy folder and create the safe workspace. The companion generates samples, notes, and evidence files under your account.

Android + Termuxpython Smartphone-Academy.py prepare csp-reviewNo root. Work only with the supplied files under $HOME.

Practical mission

  1. Map every CSP directive to the resource types used by the supplied HTML
  2. Identify missing fallback directives, broad sources, and inline-code dependencies
  3. Draft a stricter report-only policy without claiming it is production-ready
  4. Describe a staged validation plan that avoids breaking the fictional application
EVIDENCE TO PRODUCE

A csp-review.md with directive mapping, likely gaps, compatibility concerns, and a safer proposed policy for the fictional site.

Quality gate

The deliverable states a clear scope and date for “Review a Content Security Policy.”
A second learner can reproduce the commands and paths.
Original samples remain unchanged and verifiable.
Limitations and confidence are recorded beside the conclusions.

Analyst reflection

Which result from “Describe a staged validation plan that avoids breaking the fictional application” needs additional evidence before it could support a real operational decision?

Complete in Termux

After checking the deliverables, run python Smartphone-Academy.py complete csp-review. Progress is stored locally in the Termux home directory.

13 · Web & Secure Coding

Continue learning

Back to Smartphone Academy