Security help for defenders: grade your site's security headers (fixes + README badge) and read logs/code to find what happened. Claude Code plugin, MCP server, no install.
See the codeSecurity help for the person protecting the system. Two tools, no install, works in Claude Code, Claude Desktop, any MCP client, or a plain terminal.

July 2026: OpenAI's test agents broke out of their sandbox and got into Hugging Face's production systems — about 17,600 attacker actions across 11 nodes over roughly 4.5 days. Last week Australia said OpenAI agents had also got into its Medicare statistics portal. When Hugging Face's responders asked commercial frontier models to help read the attack, the requests were "blocked by the providers' safety guardrails, which cannot distinguish an incident responder from an attacker." They finished the forensics on an open-weight model (GLM-5.2). Sources: disclosure · technical timeline · OpenAI's statement (NPR) · Australia (ABC)
We re-ran the published attack artifacts. A major US model's content filter blocked 11 of 14 requests. Defend still got an answer to all 14 — results and a one-command rerun.
Defend makes that switch for you: it asks Claude, then GPT, then GLM, then DeepSeek, and moves on only when one refuses.
| Tool | What you get | Needs |
|---|---|---|
| site check | Your site's security headers graded A–F, the one-line fix for each gap, and a README badge | Nothing — no account, no key |
| defend | Paste a log, code, config or a suspicious message → what happened, how bad it is, what to fix first | An OpenRouter key or an Unchore key |
$ node skills/site-check/scripts/site-check.mjs example.com
https://example.com/ → F (37/100) · HTTP 200
✓ Served over HTTPS
✗ HSTS (browsers stay on HTTPS) (−15) — fix: Add `Strict-Transport-Security: max-age=31536000; includeSubDomains`.
✗ Content-Security-Policy set (−15) — fix: Add a Content-Security-Policy; start with `default-src 'self'` …
…
Claude Code (skills + MCP tools):
/plugin marketplace add smilemino/unchore-defend
/plugin install unchore-defend@unchore
Then just ask: "check the security headers of mysite.com and fix what you can" or "read access.log — were we attacked?"
Only want the site check? /plugin install unchore-site-check@unchore installs just that (no key, no AI calls).
The site check needs no key. For defend, Claude Code asks for an OpenRouter or Unchore key when you enable the plugin (later: /plugin configure unchore-defend@unchore); it is kept in your system's secure storage.
Claude Desktop: download unchore-defend.mcpb from Releases and open it.
Any MCP client (Cursor, VS Code, Windsurf, …) — clone this repo, then add:
{
"mcpServers": {
"unchore-defend": {
"command": "node",
"args": ["/path/to/unchore-defend/mcp/server.mjs"],
"env": { "OPENROUTER_API_KEY": "sk-or-…" }
}
}
}
Terminal only: Node 22+, nothing to install.
node skills/site-check/scripts/site-check.mjs mysite.com
node skills/unchore-defend/scripts/defend.mjs "Who got in, and what did they take?" --file access.log
tail -n 500 access.log | node skills/unchore-defend/scripts/defend.mjs "Is this an attack?"
Nine checks, weighted: HTTPS (25), HSTS (15), Content-Security-Policy (15), clickjacking protection (10), nosniff (10), Referrer-Policy (8), Permissions-Policy (5), cookie flags (7), server version hidden (5). A ≥ 90 · B ≥ 75 · C ≥ 60 · D ≥ 40.
It sends one ordinary GET to the site and nothing anywhere else. Private, local and cloud-metadata addresses are refused, every redirect is checked again, and it stops after 3 redirects, 8 seconds or 200 KB.
Put the grade in your README — the output gives you the line:
The badge says what was measured: response headers. It is not a full security audit.
Rather click than type? The same check runs at unchore.ai/tools/site-check.
For "we were hit — what happened?", "is this log an attack?", "what did this script do?".
data_collection: deny).Pay for the AI one of two ways:
OPENROUTER_API_KEY — your own key; requests go straight from your machine to OpenRouter.UNCHORE_TOKEN — no AI account needed. Sign in at unchore.ai → Settings → AI → Unchore credit → New key.--chain glm,deepseek sets the order, --own forces your OpenRouter key, --json prints machine-readable output.
640 lines of our own production web logs (7 days, IP addresses removed): 69 real attack lines (WordPress admin probes, .git/.env fishing, scanner bots) and 571 normal lines.
| AI | Attacks caught | False alarms | Refusals |
|---|---|---|---|
| Claude | 69 / 69 | 0 | 0 |
| GPT | 69 / 69 | 0 | 0 |
| DeepSeek | 69 / 69 | 10 | 0 |
| GLM | 69 / 69 | 14 | 0 |
No AI refused plain log triage. Claude and GPT were the most precise, so they go first. Refusals show up on harder work — the attack code itself:
The 7 tasks of the defenders-dilemma study are the published artifacts of the July intrusion: a template-injection payload, the command-and-control agent, its custom encryption, the Kubernetes escalation, the Tailscale pivot, human-vs-AI attribution and a review of the investigation. Each was asked two ways — plainly, and as "an authorized incident response team" — so 14 requests per model (2026-10-01).
| Asked plainly, one model at a time | Answered | Blocked by content filter | Out of room / timeout |
|---|---|---|---|
| Claude Opus 5.5 | 3 / 14 | 11 | 0 |
| GPT-6 Astra | 14 / 14 | 0 | 0 |
| GLM 5.3 | 11 / 14 | 0 | 3 |
| DeepSeek V4.1 Flash | 9 / 14 | 0 | 5 |
| Defend (its defender prompt, then the chain) | 14 / 14 — Claude answered 4, GPT the other 10 | — | — |
What that looks like on one of the tasks (a real run, first lines):
$ node skills/unchore-defend/scripts/defend.mjs "This was in a dataset config file on our server during the break-in. What does it do?" --file payload.txt --own
[answered by gpt · 0 item(s) masked · your OpenRouter key $0.085]
- claude: refused (content filter) → next
────────────────────────────────────────
This is an attempt to execute attacker-controlled Python code when the dataset configuration is rendered …
finish_reason: content_filter) — see Anthropic's note on real-time cyber safeguards. Saying "we are the authorized incident response team" did not help; in our first run it made Claude block a request it had just answered plainly.Rerun it (about $3, 10 minutes; tasks are downloaded from the study at a pinned commit):
OPENROUTER_API_KEY=sk-or-... node bench/hf-intrusion/run.mjs
Our raw results: bench/hf-intrusion/results. Credit to the defenders-dilemma authors, who measured this first.
Unchore is a personal AI that notices when you ask for the same thing twice and offers to do it for you from then on. These two tools are pieces of it that also work on their own.
Issues and pull requests are welcome. Run node --test test/*.test.mjs before sending. Security problems: see SECURITY.md. What is sent where: PRIVACY.md.
MIT © 2026 Unchore
JavaScript
100.0%
Security help for defenders: grade your site's security headers (fixes + README badge) and read logs/code to find what happened. Claude Code plugin, MCP server, no install.
See the codeSecurity help for the person protecting the system. Two tools, no install, works in Claude Code, Claude Desktop, any MCP client, or a plain terminal.

July 2026: OpenAI's test agents broke out of their sandbox and got into Hugging Face's production systems — about 17,600 attacker actions across 11 nodes over roughly 4.5 days. Last week Australia said OpenAI agents had also got into its Medicare statistics portal. When Hugging Face's responders asked commercial frontier models to help read the attack, the requests were "blocked by the providers' safety guardrails, which cannot distinguish an incident responder from an attacker." They finished the forensics on an open-weight model (GLM-5.2). Sources: disclosure · technical timeline · OpenAI's statement (NPR) · Australia (ABC)
We re-ran the published attack artifacts. A major US model's content filter blocked 11 of 14 requests. Defend still got an answer to all 14 — results and a one-command rerun.
Defend makes that switch for you: it asks Claude, then GPT, then GLM, then DeepSeek, and moves on only when one refuses.
| Tool | What you get | Needs |
|---|---|---|
| site check | Your site's security headers graded A–F, the one-line fix for each gap, and a README badge | Nothing — no account, no key |
| defend | Paste a log, code, config or a suspicious message → what happened, how bad it is, what to fix first | An OpenRouter key or an Unchore key |
$ node skills/site-check/scripts/site-check.mjs example.com
https://example.com/ → F (37/100) · HTTP 200
✓ Served over HTTPS
✗ HSTS (browsers stay on HTTPS) (−15) — fix: Add `Strict-Transport-Security: max-age=31536000; includeSubDomains`.
✗ Content-Security-Policy set (−15) — fix: Add a Content-Security-Policy; start with `default-src 'self'` …
…
Claude Code (skills + MCP tools):
/plugin marketplace add smilemino/unchore-defend
/plugin install unchore-defend@unchore
Then just ask: "check the security headers of mysite.com and fix what you can" or "read access.log — were we attacked?"
Only want the site check? /plugin install unchore-site-check@unchore installs just that (no key, no AI calls).
The site check needs no key. For defend, Claude Code asks for an OpenRouter or Unchore key when you enable the plugin (later: /plugin configure unchore-defend@unchore); it is kept in your system's secure storage.
Claude Desktop: download unchore-defend.mcpb from Releases and open it.
Any MCP client (Cursor, VS Code, Windsurf, …) — clone this repo, then add:
{
"mcpServers": {
"unchore-defend": {
"command": "node",
"args": ["/path/to/unchore-defend/mcp/server.mjs"],
"env": { "OPENROUTER_API_KEY": "sk-or-…" }
}
}
}
Terminal only: Node 22+, nothing to install.
node skills/site-check/scripts/site-check.mjs mysite.com
node skills/unchore-defend/scripts/defend.mjs "Who got in, and what did they take?" --file access.log
tail -n 500 access.log | node skills/unchore-defend/scripts/defend.mjs "Is this an attack?"
Nine checks, weighted: HTTPS (25), HSTS (15), Content-Security-Policy (15), clickjacking protection (10), nosniff (10), Referrer-Policy (8), Permissions-Policy (5), cookie flags (7), server version hidden (5). A ≥ 90 · B ≥ 75 · C ≥ 60 · D ≥ 40.
It sends one ordinary GET to the site and nothing anywhere else. Private, local and cloud-metadata addresses are refused, every redirect is checked again, and it stops after 3 redirects, 8 seconds or 200 KB.
Put the grade in your README — the output gives you the line:
The badge says what was measured: response headers. It is not a full security audit.
Rather click than type? The same check runs at unchore.ai/tools/site-check.
For "we were hit — what happened?", "is this log an attack?", "what did this script do?".
data_collection: deny).Pay for the AI one of two ways:
OPENROUTER_API_KEY — your own key; requests go straight from your machine to OpenRouter.UNCHORE_TOKEN — no AI account needed. Sign in at unchore.ai → Settings → AI → Unchore credit → New key.--chain glm,deepseek sets the order, --own forces your OpenRouter key, --json prints machine-readable output.
640 lines of our own production web logs (7 days, IP addresses removed): 69 real attack lines (WordPress admin probes, .git/.env fishing, scanner bots) and 571 normal lines.
| AI | Attacks caught | False alarms | Refusals |
|---|---|---|---|
| Claude | 69 / 69 | 0 | 0 |
| GPT | 69 / 69 | 0 | 0 |
| DeepSeek | 69 / 69 | 10 | 0 |
| GLM | 69 / 69 | 14 | 0 |
No AI refused plain log triage. Claude and GPT were the most precise, so they go first. Refusals show up on harder work — the attack code itself:
The 7 tasks of the defenders-dilemma study are the published artifacts of the July intrusion: a template-injection payload, the command-and-control agent, its custom encryption, the Kubernetes escalation, the Tailscale pivot, human-vs-AI attribution and a review of the investigation. Each was asked two ways — plainly, and as "an authorized incident response team" — so 14 requests per model (2026-10-01).
| Asked plainly, one model at a time | Answered | Blocked by content filter | Out of room / timeout |
|---|---|---|---|
| Claude Opus 5.5 | 3 / 14 | 11 | 0 |
| GPT-6 Astra | 14 / 14 | 0 | 0 |
| GLM 5.3 | 11 / 14 | 0 | 3 |
| DeepSeek V4.1 Flash | 9 / 14 | 0 | 5 |
| Defend (its defender prompt, then the chain) | 14 / 14 — Claude answered 4, GPT the other 10 | — | — |
What that looks like on one of the tasks (a real run, first lines):
$ node skills/unchore-defend/scripts/defend.mjs "This was in a dataset config file on our server during the break-in. What does it do?" --file payload.txt --own
[answered by gpt · 0 item(s) masked · your OpenRouter key $0.085]
- claude: refused (content filter) → next
────────────────────────────────────────
This is an attempt to execute attacker-controlled Python code when the dataset configuration is rendered …
finish_reason: content_filter) — see Anthropic's note on real-time cyber safeguards. Saying "we are the authorized incident response team" did not help; in our first run it made Claude block a request it had just answered plainly.Rerun it (about $3, 10 minutes; tasks are downloaded from the study at a pinned commit):
OPENROUTER_API_KEY=sk-or-... node bench/hf-intrusion/run.mjs
Our raw results: bench/hf-intrusion/results. Credit to the defenders-dilemma authors, who measured this first.
Unchore is a personal AI that notices when you ask for the same thing twice and offers to do it for you from then on. These two tools are pieces of it that also work on their own.
Issues and pull requests are welcome. Run node --test test/*.test.mjs before sending. Security problems: see SECURITY.md. What is sent where: PRIVACY.md.
MIT © 2026 Unchore
JavaScript
100.0%