worklore.dev · all stories · authors · build paths · skills & mcp · about
Security and privacy checks before you launch
Checks to run on your own app before strangers use it, in this order: what you install, who can touch what, an outside audit, what your logs keep, what your privacy policy says, and the laws a small launch can break. Each one found something real in an app I believed was fine, and each story has a contract your agent can run on yours.
Step 1: check what you install
Your agent runs skills and tools with your permissions. Before you add one to a project, find out what it can touch: your files, the network, your shell. The scanner below reports that as a tier. It never says "safe".
- See what a skill can do before you run it — a stdlib capability scanner 2026-09-07
skill-xray reads a skill as data and reports a tier from T0 to T4 with file:line evidence. It caught a credential read and a fetch-and-run line.
Step 2: who can touch what
The most common hole in a multi-user app: it checks who may see an item and forgets to check who may change it. Test it with two real accounts. Then write the rule down in one place, so every new endpoint gets its answer when it is written, not weeks later.
- A stranger could "like" my private tasks — the access rule my API forgot 2026-08-21
Two accounts, one private task. Twenty endpoints refused the stranger; "like" and "register a view" let them change it. Found with the paranoid-qa skill.
- One table decides what answers without a token: how I stopped re-deciding auth tool by tool 2026-10-06
One table says, for every route and tool, whether it is public, needs sign-in or is admin-only. A test fails the build when an entry is missing.
Step 3: an outside audit
Your own tests check what you thought of. An audit skill looks for what you didn't. Check every finding against the code before you fix anything: some leads are real, some are not.
- Cloudflare's security-audit skill in Claude Code: 5 real bugs in my MCP server in 15 minutes 2026-10-29
Cloudflare's security-audit-skill gave 5 leads in 15 minutes. The worst: a tool that fetched URLs could also read local files through file://.
Step 4: what your logs keep
If your policy says secrets are masked in the logs, test that sentence, not the regex. Send invented secrets through the real app, then read them back from the log store itself, below anything your app controls.
- A canary read back from the log store, not through the app, found the one field my masker skipped 2026-10-30
Key-shaped and plain-text canaries sent through every field, then read back from CloudWatch and DynamoDB, found the one field the masker skipped.
Step 5: what your privacy policy says
Now read the policy as a stranger would. Each sentence should say what happens, not what doesn't, and every page should link to the policy in plain HTML.
- A reader found three gaps in my privacy policy; the same three checks found a missing feature in my second site's policy 2026-10-27
A reviewer found three gaps: a public note that was never masked, two sentences that contradicted each other, and a policy page no static page linked to.
Step 6: the laws a small launch can break
Last, the legal basics that apply even to a one-person site: fonts loaded from Google, a minimum age, a postal address in emails, a DMCA agent. Most fixes take minutes; the fonts one has traps.
- The six-law launch check, run for real: fonts, age, address, DMCA 2026-11-18
Six checks run on a real site, two hit. Self-hosting Google Fonts needs woff2 files and a CSP change. The DMCA agent costs $6 and expires after three years.