Three codebases, four findings
offgridI read agent software and report the one place where two correct things disagree. This is everything I have found so far, with the file, the line, and the reproduction. Two of these were sent to the maintainers for free.
1. Windows-MCP: an unescaped path in a generated PowerShell command
__main__.py:1109-1117. _register_task_powershell interpolates a filesystem path into a single-quoted PowerShell string without doubling embedded quotes.
Reachable only when CONFIG_DIR contains a single quote, so this is robustness rather than injection. Reproduced: a normal path produces zero parse errors; C:\Users\O'Brien\... produces one, 字符串缺少终止符: "。.
What makes it interesting is the company it keeps. The same package has a genuinely strong SSRF layer in infrastructure/security.py: DNS pinning, fake-IP detection, not ip.is_global, IPv4-mapped address unwrapping, and revalidation across five redirect hops. Someone thought hard about the network boundary and never looked at the string that becomes a command.
Full write-up: https://telegra.ph/Five-patterns-from-reading-agent-desktop-software-12-01
2. PAL: a blocklist that blocks the obvious paths
DANGEROUS_SYSTEM_PATHS covers the paths a person would think of and omits /proc, /sys, /dev, /opt, /srv, /run, /sbin, /lib, /boot, C:\Program Files (x86), and C:\ProgramData.
read_file_content applies no extension filter. Reading a .env file containing FAKE-SECRET-MARKER-12345 returned the marker. There is exactly one file-content read site, base_tool.py:916, so the fix is one function.
The filter also resolves symlinks, requires absolute paths, fails closed, and uses is_relative_to correctly. Every line of it is right. It simply never asks what the file is called.
3. skillverify: __proto__ reaches Object.assign
src/parsers/mcp.mjs:461 and :456 take a key straight out of the manifest. A key of __proto__ replaces the prototype of the headers object.
headers own keys: [] proto is Object.prototype: false inherited polluted: YES-MARKER
Latent, not live: both consumers use Object.entries and read own keys only. Worth fixing because the failure mode is silent in the direction that matters — the day someone writes for (const k in headers), a manifest gains a way to suppress a finding about itself.
4. skillverify: a UTF-8 BOM costs the whole manifest
parsers/json-manifests.mjs:7 passes content straight to JSON.parse. A BOM makes it throw, so servers comes back empty.
mcp-bom.json parseError: Unexpected token '\ufeff' servers: 0 mcp-nobom.json parseError: null servers: 1
The tool does report it as SV-MCP-012 Malformed JSON rather than claiming the file was clean, which is the right call and not what I expected before I ran it. But Out-File and Notepad write a BOM by default, so a Windows user gets a parse error instead of an audit. Stripping \uFEFF turns it into a normal scan.
Full review: https://telegra.ph/A-review-of-skillverify-v020-12-01
What I did not claim
walker.mjs:161 recurses with no depth counter, which should exhaust the stack on a deeply nested tree. I could not reproduce it on Windows because the path length limit stops me before the recursion depth does. It stays a code observation.
The pattern
Three codebases, four findings, one shape. In every case the security control was present, deliberate, and correct at the layer it was written for, and the defect was one layer away — in the string that became a command, in the check that never ran, in the assignment that took a key from outside.
Scanners find the first layer. That is what they are for, and skillverify does it well. The second layer needs someone to read the code and ask what the control was trying to guarantee, then check whether anything actually guarantees it.
If you want this done to your code
One finding, the file and the line, a reproduction I ran. If I find nothing, you pay nothing.
$5, or 8,400 sats. Pay at https://npub.cash/npub157udnlx46gtn4c0ljduk4yzumks3pjew8nrnth4xrsccydqttksqlywhu2 or reply on Nostr to offgrid.