Audit Family Photo Privacy¶
| Category | Creative & Real-World AI Builds |
| Status | ๐ก Partially completed |
| Repo | nextwork-audit-family-photo-privacy |
| Original NextWork guide | nextwork.ai |
Learning project
Practice work following a NextWork guide, separate from my production projects.
๐ NextWork learning project. This is a practice project I built while working through NextWork's Audit Family Photo Privacy guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ Creative & Real-World AI Builds
Status: ๐ก Partial
Overview¶
Old devices and over-permissioned apps are how family photos leak. The guide audits them from the owner's iPhone settings with Claude Code as a read-only organizer. The owner makes every change. This build keeps the same data-minimization rules: aliases only, owner answers treated as statements and never as machine dates, and a contacted domain never treated as proof of tracking.
Summary¶
The audit workflow runs end to end on a fictional, redacted inventory: devices under neutral aliases, Photos and Location permissions with their exact labels, and App Privacy Report rows kept as behavior context only. It produces read-only recommendations (Keep/Reduce/Remove/Verify Manually), recounts after the owner-approved changes, and computes the secret mission's confidence-aware risk score. There's no real iPhone or Apple Account, and the recommendation table comes from deterministic rules rather than a Claude Code session.
The checks behind this are in docs/verification.txt.
Skills & tools¶
Privacy auditing, Data minimization, Python, Risk scoring, Claude Code (dontAsk)
What I built¶
audit-notes.txt: the redacted inventory (fictional): 5 devices, 5 Photos permissions, 3 Location permissions, 2 App Privacy Report rows, and baseline counts.recommend.py: the guide's read-only prompt rules as code. It outputs only Keep/Reduce/Remove/Verify Manually, never infers a last-seen date, and never lets a domain contact justify Remove on its own.recount.py+audit-notes-after.txt: the same four counts after the owner applies only the approved changes (devices 5โ4, Photos full access 3โ1, Always location 2โ1).risk_score.py(secret mission): every point comes from a named rule in a published schema, scaled by confidence. Behavior evidence adds at most 1 point and is context only.test_audit.py: 5 tests covering allowed recommendations, no invented dates, the domain-contact rule, reproducible scores, and the recounts.
How to run¶
python recommend.py # read-only recommendation table
python risk_score.py # secret mission: ranked, explainable risk scores
python recount.py audit-notes.txt audit-notes-after.txt
Verification¶
I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.
/workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_audit.py && /workspace/nextwork-portfolio/.venv/bin/python recommend.py | grep -q 'Verify Manually' && /workspace/nextwork-portfolio/.venv/bin/python risk_score.py | head -3
What isn't done, and why¶
The guide audits a real iPhone and Apple Account (Safety Check, Settings, App Privacy Report) with the owner. I don't have one to audit, and I won't use personal devices, so the inventory is fictional. The guide also has Claude Code produce the recommendation table in dontAsk mode. Here the same rules are deterministic code, because the local model couldn't reliably drive that Claude Code session.
Original project: https://nextwork.ai/projects/0eec1df4-8bb6-4290-ae5b-5cef32155781 ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ /workspace/nextwork-portfolio/.venv/bin/python -m pytest -q -p no:cacheprovider test_audit.py && /workspace/nextwork-portfolio/.venv/bin/python recommend.py | grep -q 'Verify Manually' && /workspace/nextwork-portfolio/.venv/bin/python risk_score.py | head -3
..... [100%]
5 passed in 0.05s
5.0 P5 Remove App E (coupon app) photos_full_access, photos_unused_purpose, behavior_context_present (max 1, context only)
4.0 L1 Reduce App B (social) location_always, location_unexpected_or_unsure, behavior_context_present (max 1, context only)
2.4 D5 Verify Manually Windows PC device_not_recognized, device_use_unsure
[exit code 0]