Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

DiffCI

Latest version: v0.3.65

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: Streamable HTTP Publisher: DiffCI
4 Stars
9 Forks
55 Versions
TypeScript Repo language

Scan summary

DiffCI was last scanned on 23 Nov 2026 at version 0.3.65. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 55 versions; the latest 5 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 0.3.65.
  • MCP server: Runs over Streamable HTTP.

Versions

55 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.65 LATEST 23 Nov 2026 No rules fired
0.3.64 23 Nov 2026 No rules fired
0.3.63 23 Nov 2026 No rules fired
0.3.62 23 Nov 2026 Not shown
0.3.61 22 Nov 2026 Not shown

No rules fired in 0.3.65

Findings

Findings for v0.3.65. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.65; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

DiffCI Core

Core CI npm provenance License: MIT

npm GitHub Marketplace GitLab CI/CD Catalog Sponsor

Verification for AI coding agents. DiffCI tells Claude Code, Codex, Cursor (or you) which tests and checks a change affects, runs them before the push instead of letting them fail at the full CI gate afterwards, and leaves a receipt of what ran and what was skipped. MIT licensed, runs locally, never uploads your code or reports unless you configure it (it does count runs by default: usage counting), and falls back to the full suite whenever the evidence is incomplete.

npx "@diffci.com/diffci@latest" check

Run it in any Git checkout with Node.js 22.5+. What the output means.

If DiffCI saves you CI time, a ⭐ helps others find it.

On every pull request, with no workflow file: install the DiffCI GitHub App. On each pull request of a public repository it posts one "DiffCI change impact" check listing the affected tests and why. The check is always neutral, so it never blocks a merge. The App reads code and Actions runs and its only write permission is that check run; it never skips tests or changes required checks. Data handling.

Or in your own workflow (including private repositories), add one job beside your existing CI. Its job summary shows which tests the change affects and why, or that the full suite is needed and why. It runs no tests and skips or changes nothing:

- uses: actions/checkout@v7
- uses: DiffCI/core@v0.3.65

Add with: comment: "true" (and pull-requests: write on the job) and the same answer appears on the pull request itself, updated in place on each push:

Full workflow · GitLab CI/CD component

It's just your CI

DiffCI doesn't replace your CI, your test runner or your required checks. It reads them.

  • Remove it and nothing changes. The App and the observe job run no tests, skip nothing and change no required check. Uninstall the App or delete the job, and your pipeline is exactly what it was.
  • When unsure, it runs everything. When DiffCI can't tell what a change affects (a config or dependency change it can't narrow, an import it can't follow), verify runs the full suite and checks instead of guessing, and says why. Your CI keeps running everything unless you choose to run DiffCI's selection there yourself.
  • Nothing to sign up for. No account, config file or hosted service is needed. Plans and receipts are plain JSON in an open format (change plan).
  • The agent setup is files in your repository. To undo diffci init, delete what it wrote: its section of AGENTS.md and CLAUDE.md, the diffci entries in the MCP configs, the diffci-verify skill folders, the stop hooks and the pre-push hook (what init writes).

▶ Watch the demo on YouTube

Why

Coding agents pass the narrow check they picked and miss wider breakage, then rerun the whole suite when they are unsure. We measured this on our own agent-built production app (about 1,100 commits in two months, most of them co-authored by Claude):

  • 104 pushes failed the full gates after push. Each passed whatever the agent ran locally.
  • Agents chose their own test files 928 times and ran the full suite 282 times, but asked a tool which tests were affected only 24 times.
  • When DiffCI could narrow the run, it selected 2.2% of test files, cutting test time by 93%. None of those commits had a failing test, so this shows speed, not regression catching.
  • DiffCI still fell back to the full suite on 58% of commits, mostly because a config file or package.json changed. Narrowing those safely is the main open problem, and a good place to contribute.

Check your own repository. How many of its red pull request builds failed on checks the author could have run before pushing? This reads GitHub Actions history only, runs nothing, and needs a GitHub token (method):

npx "@diffci.com/diffci@latest" red-builds owner/repo

MCP server

This repository contains DiffCI's MCP server. It is implemented in packages/diffci-cli/src/client/mcp.ts and published as the diffci-mcp binary of @diffci.com/diffci: a local stdio server speaking JSON-RPC 2.0 (initialize, tools/list, tools/call) that runs against the checkout it is pointed at. It needs no account and sends no code or reports; like the CLI, it counts runs by default (usage counting).

npx -y -p @diffci.com/diffci@latest diffci-mcp
{
  "mcpServers": {
    "diffci": { "command": "npx", "args": ["-y", "-p", "@diffci.com/diffci@latest", "diffci-mcp"] }
  }
}
Tool What it does
diffci_changed_files Lists staged, unstaged and untracked changes; runs no tests
diffci_select_tests Returns the affected-test plan for the current changes, with fallback reasons; runs no tests
diffci_explain_selection The same plan, for explaining why each test is in it
diffci_run_affected_tests Verifies the current snapshot with the affected tests, or the full suite as a fallback
diffci_verify_changed Verifies the exact working-tree snapshot; fails closed
diffci_verify Verifies a clean commit range and returns a receipt bound to HEAD
diffci_check Compares full and selected test runs and reports paired runtime
diffci_init Seeds agent instructions, MCP configs, the verify skill and a pre-push hook
diffci_verify_workflow Checks that a DiffCI GitHub Actions job cannot affect the rest of CI

A hosted, read-only guidance server runs at https://diffci.com/mcp/v1. It is listed in the Official MCP Registry as io.github.DiffCI/diffci, and on Glama, Agent Tools, Wellknown, Agenstry and SealKeeper.

Use it from your coding agent

The public integrations/agent-plugin package packages the MCP server above as a checkout-aware local plugin for agent marketplaces: marketplace metadata, skills, and a launcher pinned to the published diffci-mcp binary. It does not include product services or private source. The cross-agent installation guide covers Codex, Claude Code, Cursor, Grok, Meta Muse Code, and generic MCP hosts.

# Codex
codex plugin marketplace add DiffCI/core
codex plugin add diffci@diffci-local

# Claude Code
claude plugin marketplace add DiffCI/core
claude plugin install diffci@diffci-marketplace

Cursor Marketplace reads .cursor-plugin/marketplace.json from this repository. Meta Muse Code reads the native root marketplace.json. Before a public listing is approved, use the local MCP configuration in the agent-plugin package or visit https://diffci.com/mcp-server.

Installing the plugin does not make an agent use it. Paste the short agent-instructions snippet into CLAUDE.md or AGENTS.md so it runs DiffCI before pushing.

GitHub Action

The public action.yml ("DiffCI change impact") shows, in the job summary of every pull request, which tests the change affects and why, or that the full suite is needed and why. It is observation only: it runs the pinned published DiffCI CLI outside the observed checkout, retains existing CI jobs, skips nothing, and uploads the report as an artifact. See the observer Action guide and workflow example.

Set comment: "true" (with pull-requests: write) to also keep one comment on the pull request up to date with the answer, where reviewers see it. Outputs such as full-suite-required and affected-tests let a workflow act on the answer; see outputs.

Set verify: "true" for a fast check: the Action also runs the affected tests and lint/typecheck, likeliest failures first, and fails within minutes when one breaks. It adds a job and skips nothing, so your full test job stays as it is (example).

Add check-run: "true" for a merge gate: a "DiffCI merge gate" check run that branch protection can require. It passes when the affected tests passed, fails when they failed, stays neutral when DiffCI is unsure, and names the AI coding agent that wrote the change.

The v0.3.10 corresponding source remains publicly available at tagged Core commit 4c76be14 (cli-v0.3.10-source) while distribution migrates to the Core-native CLI package.

diffci check compares full and selected runtime when safe to measure, writes reports outside the checkout, and uploads no report by default; it does send a usage count (usage counting). Test commands can generate files; keep required CI authoritative.

Measured example: one controlled Cal.com sandbox replay measured 44.2% net reduction in install + pretest + test runtime including analysis overhead. This is a job-equivalent comparison, not production savings or a forecast for your repository. Method and limitations.

Case studies

Each study is a replay on real repositories, with its method, raw data and limitations on the linked page. None is a forecast for your repository.

Study Result
Dogfood record Two months on our own two repositories in observe mode: 210 of 440 commits narrowed to 1.9–4.7% of the test files; 0 of 115 skip decisions checked against full CI missed a failing test (only 1 of those commits went red)
Agent breakage replay Every red CI commit in two agent-built repositories: 32 of 38 introduced breakages caught before push; about 70% of red commits only inherited a broken main
LobeHub vs a Vitest planner 40 commits against the maintainers' own affected-test planner: same share of tests, no planner-picked test missed, 15 of 18 introduced failures caught before push
Paperclip red builds 74 red PR builds classified job by job: 12 failed only on the PR's own pre-push checks (11 agent-written), about 15% of red runs
Cal.com Six real merges, executed and timed: 86–91.6% test-stage reduction, 44.2% at job level
deepseek-harness Five merges on a dirty baseline: 79.5–89.5% job-level reduction; one result withheld because the selection was not honored
DiffCI's own CI Cost per job on ephemeral containers, and the bug our own green CI was hiding

Star Core · Volunteer a pilot repository · Find a first contribution. Watch → Custom → Releases and Discussions for benchmark results and support updates. Public roadmap. Quick questions and CI/CD talk: DiffCI Discord.

This is the standalone Core engine. It analyzes local JavaScript/TypeScript repositories, supported Vue components, root Go modules, conventional Maven reactors, Python projects tested with pytest and, experimentally, Cargo workspaces (Rust support is new and has not yet narrowed a real project's history, so expect full runs there for now), traces dependency impact, infers GitHub Actions structure and proposes test selections with evidence and full-run fallbacks. It works without a DiffCI account, hosted service or API key. See the release boundary for support limits.

Want to try DiffCI in an existing repository? Use the published CLI: npx @diffci.com/diffci@latest check. See the CLI quickstart for a no-execution analysis option, prerequisites, and result interpretation. To get help setting it up and have the cases that matter to your repository fixed first, join as a design partner. Tried it already? Share your result, including fallbacks, refusals and misses, and choose whether we may publish it. The commands below build the standalone engine from source.

Run locally

Requires Git and Node.js 22.5 or later.

git clone https://github.com/DiffCI/core.git
cd core
npm ci
npm run build
npm test
node dist/cli.js plan --repo /path/to/clean-checkout --base HEAD~1 --head HEAD

The target must be a clean Git repository root checked out at --head. Fetch the base commit beforehand if using a shallow clone. JSON goes to stdout; analysis errors exit nonzero and recommend full CI. Core does not execute repository scripts, contact a DiffCI backend or send telemetry. Installation requires the npm registry.

The diffci CLI, the GitHub Action and the MCP server count runs with the repository name (host/owner/repo), never its content. diffci telemetry --mode count-only drops the name; DO_NOT_TRACK=1 stops counting. Details: usage counting.

To evaluate the same command on pull requests without changing required jobs, copy the advisory GitHub Actions example.

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.DiffCI/diffci

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229