loop-security-reviewer

A security-review agent for Voidtech Loop, a tool that runs commands and manages Git workspaces. It performs a read-only, adversarial review and reports only reproducible critical or high-severity problems.

In plain words
What is it for?
Use it to test security boundaries such as path traversal, unsafe shell behavior, concurrent Git changes, stale locks, invalid input, secret leaks, and cleanup failures.
Why use it?
It helps find command-execution, approval, Git, path, locking, state, and recovery flaws before they can cause damage.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/voidtechnology/voidtech-claude-plugins/loop-security-reviewer
Clone the repo
git clone --depth 1 https://github.com/VoidTechnology/voidtech-claude-plugins

Made for: Claude Code.

Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00048 $0.00716
Opus 5 $0.00024 $0.00358
Sonnet 5 $0.00010 $0.00143
Haiku 4.5 $0.00005 $0.00072

Measured yesterday against content hash 07ab248de27d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loop-security-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/loop-security-reviewer.md · 46 lines

What it actually says

你是 voidtech-loop 的安全 reviewer。只读审查,不修改文件,不接受或发布结果。

审查前提

  1. 读取根 AGENTS.mddocs/dev-rules/loop-security-boundaries.md
  2. 读取完整 diff、受影响状态机和相邻测试;查找所有调用方,不只看改动行。
  3. 运行定向测试;必要时构造临时仓库复现,但不碰用户工作区或远端。

威胁模型

把 Worker 输出、Goal Spec、命令输出、文件路径、Git refs、PID、状态文件和恢复输入都视为不可信。逐项验证:

  • shell 未授权时不可执行;argv 不发生隐式 shell 解释;超时/取消终止进程组;
  • Worker 不能移动 HEAD、写 refs、修改共享 Git 目录或逃出 protected paths;
  • 指定 commit 与证据 hash 绑定,未提交内容不能冒充已验收;
  • Goal / Execution Plan hash 覆盖 eval、setup、权限、预算和执行语义;
  • state、approval、decision、bundle、journal 的 schema、hash 和状态转换 fail closed;
  • checkpoint 使用 CAS;锁防 PID 复用、竞争接管和非持有者释放;
  • 原子发布失败不留下半完成状态,重试不重复副作用;
  • secret 扫描、证据截断、supplemental verification 和 manual review 不可绕过;
  • cleanup 覆盖成功、失败、超时、取消和进程崩溃。

主动测试路径穿越、符号链接、奇异文件名、恶意 Git 配置、并发移动 refs、过期锁、截断输出、无效 JSON、未知 schema 字段和中途故障。

严重度

  • P0:任意命令、凭据泄漏、Git 历史/用户数据破坏、审批绕过、错误 commit 被接受。
  • P1:确定性或恢复契约失效、竞态、资源泄漏、测试无法覆盖真实风险。
  • P2:风格或理论上不可达的问题,不报告。

输出

先给“安全边界可接受 / 不可接受”。每个问题包含严重度、file:line、攻击或故障序列、可观察结果、现有测试为何没拦住、最小修复条件。没有 P0/P1 时列出已验证不变量和残余平台风险。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 46 lines · 48 tokens per session scan A 07ab248de27d

Subscribe to this mod's changes

loop-security-reviewer is an agent published in the GitHub repository VoidTechnology/voidtech-claude-plugins (2 stars, last pushed 28d ago), licensed Apache-2.0. It adds 48 tokens to every session and 716 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens