Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Scan what AI agents read for prompt injection: hidden unicode, comment instructions, exfil, lures.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"injectcheck": {
"command": "npx",
"args": [
"-y",
"@reneturcios/injectcheck",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add injectcheck -- npx -y @reneturcios/injectcheck mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"injectcheck": {
"command": "npx",
"args": [
"-y",
"@reneturcios/injectcheck",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"injectcheck": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/injectcheck",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.19)于11天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, debuff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Let coding agents play, test and tune your 2D web game: live state, explained errors, replays, fuzz.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Scan the content your agent is about to read, before your agent reads it.
npx @reneturcios/injectcheck scan ./repo
AI agents now work from untrusted text all day: issue bodies, PR descriptions, README files, code comments, docs pages. Anyone who can open an issue can put words in front of your agent, and some of those words are instructions aimed at the agent, not at you. In October 2026, reporting on AI-orchestrated attacks (the Anthropic GTG campaigns, the Shai-Hulud npm worm) showed agents being steered by content planted in repos and packages. The cheapest defense is a boring one: scan the text first, with deterministic rules, and show a human the exact lines that look like an attack.
injectcheck does that scan. It reads a directory, a single file, or raw text, applies seven deterministic rules, and reports every finding with file, line, rule id, severity, and an excerpt. No model, no network, no guesses about intent beyond the patterns.
It never claims content is safe. The clean verdict is CLEAN, and CLEAN means only that no pattern matched.
| rule id | what it catches |
|---|---|
hidden-unicode | Zero-width characters, bidi controls, unicode tag characters, and variation selectors in suspicious density. Invisible to a human reader, fully visible to an agent. |
html-comment-instruction | HTML comments containing instruction language aimed at an agent or LLM. Comments vanish in rendered output and survive in raw text. |
instruction-phrase | Direct instruction phrases aimed at an AI: the override family ("ignore", "disregard", "forget", "override" plus previous, preceding, prior, or earlier plus instructions, orders, tasks, assignments, prompts, or context), "you are now", "new instructions:", plus second-person imperatives addressed to an AI. Grading is documented below. |
exfil-pattern | Send, post, upload, leak, or forward verbs combined with credential nouns (secrets, tokens, api keys, .env, ~/.ssh) inside a short window. Also the credential-read construction: a credential file read with cat, or a full environment dump, combined with an encoder (base64) or a network tool (curl, nc) anywhere in the same comment, line, or flattened text, so the shape matches across line breaks. Negated safety advice ("never send your password") is downgraded to low. |
tool-lure | Text in non-code prose files telling a reader to run a shell command, pipe curl to a shell, dump the environment to a network sink, or install a package and run it. Command-shaped content in prose fires with or without backticks. Fenced code blocks are exempt: commands in code are documentation, commands in prose are lures. Negative run reports are exempt too: a CI test summary line like "Not run: the full backend suite. CI runs them." reports that something did not happen and never fires this rule. |
base64-blob | Long base64 strings that decode to instruction-like text. The decoded text is re-scanned with the instruction and exfil rules; blobs that decode to binary or benign text are ignored. Decoded size is capped. |
alt-text-instruction | Instruction language inside image alt text or link titles in markdown. Alt text is read by agents and screen tooling, rarely by reviewers. |
Scoring and verdicts:
HTML comments are scanned as a unit: the whole comment body, across every line it spans, is normalized (line continuations removed, whitespace collapsed) before the rules run, so a payload split across comment lines matches the same way it would on one line.
JSON reports are scanned the same way. Machine-readable output is what agents actually pipe from tool to tool, so a .json file is scanned through its string values and keys (extracted and escape-decoded) with the full rule pass: a persistence command sitting in a report's command field fires tool-lure at high, exactly as it does in the report's human rendering or in a plain text file. The known limits below state the extraction scope and bound.
Instruction-phrase grading, the choice stated plainly: an override verb plus a temporal marker plus a directive noun (the canonical "ignore all preceding orders", "forget all previous tasks" shape) scores high, with or without an explicit mention of an AI, because that sentence shape has almost no legitimate use inside content written for someone else to act on. The same override without a temporal marker scores high only when the text also carries an agent-directed follow-on (a new task or new instructions for the reader); on its own it scores medium, because people also write that way about their own task lists. The noun set deliberately excludes ordinary objects, so "ignore previous versions and upgrade" in a changelog does not fire at all. Phrases quoted inside documentation that describes the patterns score low, as before.
Documentation about prompt injection does not verdict FINDINGS by design. The patterns require actual instruction phrasing, exfil shapes, or hidden characters, not the mere mention of the topic, and negated safety advice is reported at low severity so it stays visible without blocking anyone. Two tuning rules keep honest docs honest: an exfil verb near a credential noun only scores high in directive shape (an imperative, a "contents of" request, a URL destination), while third-person narrative about an attack scores low; and instruction phrases quoted inside documentation that describes the patterns (detector docs, security writeups) score low instead of high. This is tested against real documents: the spec this tool was built from scans at REVIEW with only low findings, never FINDINGS.
Quoted payloads in security writing grade as documentation too. A payload that appears inside quotation marks or a blockquote, accompanied by attribution or reporting framing ("The attacker planted the following text in an issue: ...", "A researcher documented the payload ..."), is a payload being described, not one being issued, and its instruction and exfil findings score low. The framing may follow the quote instead of preceding it (the quote first, then "The preceding sentence is a payload that an attacker planted in an issue, quoted verbatim in a maintainer writeup..."), as long as it stays within the same paragraph or the immediately following sentence. The framing is required: a bare quote with only a neutral lead-in earns no downgrade, and the same payload without the framing verdicts FINDINGS as before.
Attribution can be structural as well as sentential. Security reports and changelogs present payloads as exhibits: a labeled evidence or output excerpt, a quoted line inside a finding listing, a Method or Evidence or Justification section that describes the payload core, or a fix-note bullet (problem-numbered, or under a version heading) that narrates what the scanner now catches, now scans, or no longer fires on. Payload text exhibited in those contexts, in quotation marks or backticks or as the described subject of the segment, grades low for the instruction, exfil, and tool-lure rules, the same grade as a payload inside a framed quotation. The structural signals are never a genre marker alone: a bare payload placed under a version heading with no label, no listing, and no narration about the payload keeps its live grade and verdicts FINDINGS, and so does a bare payload paragraph in a report-shaped document. A fenced block counts as an exhibit when an attribution label (Evidence, Output, Example, Quote, Excerpt, and similar short colon lines) introduces it, including when one blank line sits between the label and the fence, the conventional report layout. The label vocabulary is the guard: a bare payload in a fence with no label, and a fence introduced by an instruction-shaped line such as "Run this:", both keep their live grade and verdict FINDINGS.
Hidden-unicode severity scales with density and clustering. A character embedded inside a word (a letter or digit on both sides) grades medium at any count, because splitting a word is the concealment shape. Sparse isolated characters at word or sentence boundaries (the copy-paste debris shape: exactly two zero-width characters in ordinary prose) grade low. A distributed density of invisible characters (a zero-width space after every space, a formatting transform) grades low however many a line holds: high requires a concealment shape, a cluster of five or more consecutive invisible characters or an encoding density (invisible characters at least half as numerous as the visible non-space characters on the line), and hidden-unicode findings alone never carry a text to FINDINGS at medium strength without corroboration from another rule family. One known convention is named in the finding detail rather than graded differently: GitHub release notes rendered into dependabot PR bodies write a mention as @ + zero-width space + username, the standard mention-ping suppression convention, and a line matching that exact pattern says so.
An AI-authorship disclosure is not an address. A line like "Written with AI" is declarative attribution; when it sits near imperative-mood summary prose (the standard shape of an AI-assisted PR description: "Execute... Preserve... Add..."), the cross-line matcher no longer joins the two into an imperative addressed to an AI. A genuine directive shape still fires: an explicit agent address ("Note for the AI") followed by an imperative, or a second-person imperative aimed at the reader.
Machine-written provenance is not an instruction either. GitHub Agentic Workflows stamps issue and PR bodies with a provenance comment naming the workflow, the engine, and a link to the workflow run; that marker is metadata about who produced the body. A lure or instruction token inside a provenance-shaped comment counts only at full command strength, and a run label whose value is a URL (a CI link label, the provenance run field) is a link, not a command: the run-colon lure requires a command value after the colon. A provenance-shaped comment that also carries a real instruction or a real command still fires at full grade.
OAuth protocol constants are not credentials. Fenced repro code in auth repositories compares grant-type and response-type literals and returns token-response objects through response helpers; when the credential-shaped token in a fenced block is one of those protocol constants (or a quoted placeholder value in a status-code response-helper call) and the nearby verb is a code identifier rather than an action on credential data, the exfil pairing is discounted. The same verb and credential shape in prose aimed at an agent keeps its grade, and fenced code that touches credential files or environment secrets anywhere near the verb is untouched.
The exfil rules also cover the parameter channel. A tool description that directs the reader to read credential-class files and move their contents out through a named tool parameter or argument, corroborated by directive language or by suppression language (an instruction not to mention the read), grades as exfiltration at high. The rule is the combination, never a single token: ordinary tool documentation that mentions reading files and parameters, descriptive narration of the same mechanics, and a parameter transfer of a non-credential file do not fire
只显示了开头部分;其余内容请在仓库中阅读