ai
24 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.
-
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.
-
Stream resume cursors don't survive a server restart
After a restart, an in-memory replay buffer is gone but clients still resume against it. Seq dedupe silently drops text. Reject foreign cursors by epoch.
-
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.
-
Another extension's iframe can lock your chrome.debugger agent out of a tab
Chrome refuses a debugger attach to another extension's chrome-extension:// frame. If your CDP agent auto-attaches to every iframe, skip those targets first.
-
ENOTFOUND for one API host while your health check says 200
Our agent went silent with ENOTFOUND on api.anthropic.com while health checks passed. Why one stuck hostname hides from liveness probes, plus a 5-minute check.
-
A missing settings row deleted my ANTHROPIC_API_KEY at boot
An absent SQLite settings row made our LLM gateway delete an env var the operator set. Why env-over-DB advice misses it, and a five-minute check for your stack.
-
An empty RAG query should raise, not return confident junk
A failed content-script probe sent an empty query to memory search, which fell back to captured turns and returned confident, unrelated results. Reject it.
-
git commit ships the whole index, not the paths you staged
Parallel AI agents in one git worktree share .git/index, so a careful git add still commits another agent's work. How it happened twice, and a private-index fix.
-
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.
-
Your agent memory stores vendor metrics with no expiry date
A 12-month keyword average of 2,400 hid an August value of 8,100. Agent memory kept both as timeless facts. Here is the invariant and a five-minute SQL check.
-
My skill miner learned from my cron jobs: 8 of 26 drafts
A recurrence-mining skill proposer built 8 of 26 drafts from my own cron and heartbeat turns. The fix was a write-time actor column, not a higher threshold.
-
Your config editor saves the template, not the file that runs
A settings editor returned ok on every save while the scheduler read a different copy of the file. The bug class, the invariant, and a five-minute stat check.
-
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.
-
Your commit message claimed a call path that doesn't exist
A tool fan went from 770ms wall to 633ms against 1398ms of work. The commit said it fixed the chat path. The changed code had two callers, both CLI-only.
-
25 budgets declared, 3 enforced: the fallback was Infinity
A prompt assembler resolved undeclared lanes to Infinity, so a 600-token cap in the registry never fired once. The fix is a test that joins the two lists.
-
Your memory extractor tags boat repair as a codebase gotcha
A memory pipeline tagged a ChatGPT thread about a stuck throttle as an engineering GOTCHA and ranked it first. Root cause, the class, and a 5-minute SQL check.
-
Your source-trust score is grading the pipe, not the source
Two records about one announcement, two different dates, both stored at trust_mult 1.0. The trust multiplier keyed on ingest channel, not on who asserted the claim.
-
Your reranker fell back to cosine and the floor kept firing
A cross-encoder that fails to load doesn't throw. It leaves raw cosine in place, and a relevance floor tuned on logits keeps passing junk. Here's the check.