security
15 posts.
-
Your pairing page is only as safe as whoever can deploy it
A page that pairs a phone and approves actions trusts everyone who can deploy it. How I found that in my own pairing flow, plus a five-minute check for yours.
-
Your browser agent reads every extension's DOM as the site's
Agents driving a real Chrome profile read coupon popovers and password badges as page text. Diff against a clean profile and drop nodes the site didn't serve.
-
Your agent's borrowed Chrome profile lets other extensions write into the page it reads
Driving a user's real Chrome profile keeps logins but also injects every installed extension's DOM into what the agent reads. A five-minute check for it.
-
A clean Incognito window doesn't clear your server of Chrome's Not Secure warning
Chrome flagged my new domain Not Secure; Incognito showed it clean. The likely cause was an extension injecting code. Here's how to prove whose bug it is.
-
Agent memory leaks PII your redaction regex can't see
An agent writing public posts from a personal memory store can paste in names, pets and phone numbers. Pattern-based PII scanners miss most of them. Here is the check.
-
Never declare a side-effect flag in your tool's inputSchema
A declared boolean `open` flag got auto-filled to true and opened browser tabs all day. Side-effect flags belong in the handler, never in the LLM-visible schema.
-
Your agent's safety gate guards an adapter, not the token
A safety gate inside one tool adapter only binds callers of that adapter. Any route holding the same token skips it. Here's how to find the ungated routes in yours.
-
One adapter holds your write gate; every route holds the key
An agent route with no booking tool queried a live API with curl and could read a usable token. A gate in one adapter binds one route; the credential binds all.
-
Your approval gate lives in a tool your agent can skip
An agent route without our booking tool hit Resy's API with curl. Approval gates in one tool adapter don't bind other routes; put them at the action boundary.
-
Your intent router is reading the attachment, not the user
An attached doc made our router fire a web search nobody asked for. Why routing on inlined context is a prompt-injection bug, and a five-minute check for yours.
-
A trust pin with no undo is an outage you shipped on purpose
An extension-ID pin hardened our browser bridge and could refuse every other browser on the machine, permanently. What that lockout taught me about auto-trust.
-
Your prompt fence is hardcoded to one source, not nine
Nine context lanes declare untrusted provenance; only one gets a fence in the prompt. Why a per-source trust label goes decorative, and the grep that finds it.
-
Prompt injection defense that survives to turn 40
Page text an agent reads can outlive the turn as a stored memory and come back as trusted context. Two invariants: separate fields, and a turn-scoped approval gate.
-
Your MCP allowlist controls tool names, not what they return
A read-only MCP profile still returned my cwd and MEMORY.md, because the disclosure was in the result envelope, not the tool list. How to check yours.
-
Every stdio MCP server you spawn inherits your whole .env
A host that loads .env into its own process hands every credential to every stdio tool server it spawns. Per-server env config was a no-op. How to check yours in five minutes.