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

@event4u/agent-config

Latest version: v20.8.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: matze4u
19 Stars
1 Forks
68 Versions
5.5K Downloads
TypeScript Repo language

Scan summary

@event4u/agent-config was last scanned on 25 Nov 2026 at version 20.8.0. Risk score 0 of 100. High-severity rules fired.

  • Releases: 68 versions; the latest 4 were published within 7 days (19–25 Nov 2026).
  • Findings: 1 rule fired in version 20.8.0 (1 high). The score describes this version only.
  • Downloads: 5,514 downloads.

Versions

68 versions published
Versions and the rules that fired in each
VersionPublishedStatus
20.8.0 LATEST 25 Nov 2026 1 rule fired
20.7.0 23 Nov 2026 1 rule fired
20.6.0 20 Nov 2026 1 rule fired
20.5.0 19 Nov 2026 Not shown
20.4.0 12 Nov 2026 Not shown

Rules fired in 20.8.0: 1

Findings

1 High

Findings for v20.8.0. 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.

Several suspicious behaviors form a known attack pattern

Several behaviors that are each common on their own, such as reading registry credentials, contacting a variable host or running shell commands, appear together in this package in a combination associated with attacks. The finding message lists the behaviors that were combined.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

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

README

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

Installs into your user-level AI tool configuration; your repository only gets an agents/overrides/ folder for your own changes. Works with 20 AI coding tools.

Agent Config — teach your AI coding agents to check their work before they say done

npm downloads Smoke Public install smoke (3 OS × 2 Node)

Skills Rules Commands Guidelines Personas Advisors

Install once. Your AI coding tools are told to plan, test and verify before they say done; on Claude Code a turn that changed files without checking them can be stopped.

npx -y @event4u/agent-config init

Free and MIT-licensed. Node 22.6 or newer on macOS, Linux or WSL2. Costs more tokens: 7.8× a run with no rules on Claude Haiku as installed, 2.9× with only the core rules. What it costs →

On a desktop this opens a browser wizard: pick your role and your tools, click Finish. Nothing is written before you do.

Try it in 30 seconds

Not ready to install anything? Drop one read-only checker into your repo and ask it whether your branch is really done:

mkdir -p .claude/agents
curl -fsSL https://raw.githubusercontent.com/event4u-app/agent-config/main/docs/wedge/production-validator/production-validator.md \
  -o .claude/agents/production-validator.md
# then in Claude Code:  @production-validator check this branch is actually done

production-validator reads the code that would ship, hunts mocks and placeholders on that path and asks for proof that it ran. It changes nothing. What it checks →

What changes

Before. You ask your agent to add a CSV export. It writes a handler that returns a hard-coded placeholder, the existing tests stay green and it replies "Done — export implemented." Nothing ever ran the new code.

After. In Claude Code you ask @production-validator whether the branch is really done. It reads the code that would ship, finds the placeholder and answers NOT READY with the exact file and line. On a branch that is really finished it answers READY and reports nothing. We tested this on two cases: one with a placeholder left in, one finished.

On Claude Code the package can also refuse to let a turn end on "done" when the agent changed files and ran nothing to check them. On every other tool that is an instruction the agent is asked to follow, not a block.

What your agent is asked to do
Default behavior With agent-config
Guess and edit blindly Analyze code before changing it
Drift from project conventions Follow detected stack conventions
Skip or invent tests Write tests in the project's framework
Generic commit messages Conventional Commits with scope + ticket links
Skip quality checks Run the project's quality pipeline and fix reported errors
Open PRs without context Structured PR descriptions from Jira / Linear / GitHub
Claim "done" without proof Verify with real execution before claiming done

It changes what the agent is told to do, not how smart the model is. Re-measured in November 2026 after a scorer repair, the full install's discipline gain on Claude Haiku was not significant and Claude Sonnet showed no gain; only the small core rule set kept a significant gain on Haiku. We publish results like that one instead of hiding them. The whole story →

How it fits together

One install gives the agent you already use a set of skills, agent rules and slash commands. Rules that matter on every task are always on; the narrower ones load when a task needs them. See every slash command →

What it costs

  • More tokens. On Claude Haiku, on two scope-discipline tasks, the install as shipped cost 7.8× a run with no rules; the core rules alone (kernel plus downstream-changes) cost 2.9×. The discipline_profile setting does not yet change what a Claude install loads.
  • Blocking on Claude Code only and only while its hooks run. A host setting can switch them off and a user-installed mod can lift a refusal; agent-config doctor neighbours lists installed mods. Elsewhere the rules are instructions: they cut violations but do not remove them.
  • Network. By default nothing leaves your machine except the daily update check against the npm registry and a daily question to GitHub, through your own gh login, whether a pull request you pushed has merged. The update check is off in CI, without a terminal or with AGENT_CONFIG_NO_UPDATE_CHECK=1. Telemetry is off. The second-opinion feature is off until you set it up; then it sends work to other AI providers with your own API keys, which bill you. What leaves your machine →
  • Your machine. Node 22.6 or newer. Standing cost of the always-on rules per tool: table.
  • Your way out. agent-config uninstall --global removes only its own entries and leaves other tools' config untouched.

Benchmark and cost, explained →

See what a change touches

agent-config code-graph map --open draws a local map of your repository: who calls what, which tests cover it, data, interfaces and delivery. Pick a file and every area it reaches lights up. It runs offline and keeps file:line for every fact.

Open the demo map → (sample project, not your code) · Code map →

Pick your profile

The wizard asks for your role and installs a focused set for it instead of the whole catalog. Most of them are not engineering roles.

Profile For Starts you with
developer (default) Engineers who ship code /work, /implement-ticket, /review:changes, /commit
founder Solo and early-stage founders /work, /feature, /challenge-me; skills for vision, prioritisation and runway
content_creator Writers, ghostwriters, marketers /work, /ghostwriter, /post-as, cinematic AI video storyboards
agency Shops delivering for several clients /work, /implement-ticket, /refine-ticket, /roadmap
finance CFOs, fractional finance, FP&A /work, /challenge-me; skills for forecasting and unit economics
ops RevOps, support, SRE-adjacent work /work, /threat-model, /review:changes; skills for incidents and logging

Choose a profile →

Workflows

You start a piece of work, not a list of commands. These cover most days:

Command What it does for you
/work "<what you want>" Takes a free-form request through refine, plan, implement, test and verify, and reports back; it never commits for you.
/implement-ticket <ticket> The same loop for a ticket: it refines the ticket first and stops to ask when something is ambiguous.
/review:changes Reviews your local diff before the PR with focused reviewers (bugs, security, tests, quality, architecture, spec, overbuild) and merges their verdicts.
/commit Stages your changes and commits them as logical Conventional Commits, after showing you the split.
agent-config doctor Checks the install and reports anything missing or changed on disk, with the next command to fix it.

When a request is unclear the agent stops and asks with numbered options instead of guessing. Implement a change →

Use it in your project

Start with the Quickstart below; the full walk-through is on the site. Install →

Prove it

Every measured figure in this README carries a marker that points at a recorded, re-runnable piece of evidence. The build fails when one stops resolving. The proof page lists each claim with its evidence, including the runs where the package changed nothing, plus commands you run yourself on a fresh checkout. Verify it yourself →

Contribute

Skills, rules and commands are plain Markdown under src/; one command rebuilds every tool's copy and runs the checks. Development has the loop. Contributing guide →

Quickstart

npx -y @event4u/agent-config init                              # browser wizard on a desktop
npx -y @event4u/agent-config init --tools=claude-code,cursor    # no wizard: CI, scripts, servers

init finds the AI tools you have installed and selects them for you. In CI, without a terminal or with --yes or --tools=<ids> it installs without the wizard; both paths run the same installer. install is the same wizard under another name.

Installer default: user-global. agent-config init installs into your home directory — the package under ~/.event4u/agent-config/ and each AI tool's user-level folder such as ~/.claude/ or ~/.cursor/ — and writes no skills, rules or commands into your repository, which only gets an agents/overrides/ folder for your own changes plus a few gitignored bookkeeping files and a block each in .gitignore and .gitattributes; agent-config init --project creates just those in a repository and nothing else.

Then, in your AI tool:

/work "your first real task"
Later Command
Change role, profile or tools agent-config setup
Open the settings screen agent-config config
Update to the latest release agent-config upgrade
Check the install agent-config doctor
Remove it agent-config uninstall --global (--purge also deletes the files it recorded writing )

Your first task →

What it is and what it is not

Agent Config is a set of skills, agent rules, slash commands and guidelines that it writes into each AI tool's own format. Skills use the open Agent Skills SKILL.md format with a few package-specific frontmatter keys.

It is not an agent. Your AI agent still runs the loop, calls the LLM and uses its own tools; the package changes what that agent is told to do. It does not lock you to a model or a vendor.

What's inside

How the counts in the badges at the top are counted — one counter, update_counts --check, re-derives all six from the tree and fails the build when one is off by one. Commands 218 counts every command file, including the ones in subfolders; all 213 are listed in the Commands section of the catalog page. Rules 122 counts the source rules, while the linked folder holds 121 because one rule is switched off and not shipped. Personas 29 leaves out the directory README. These are counts of files: none of them measures quality or adoption.

You do not get all of it at once. On tools without a way to hide skills, a new install ships a smaller set chosen for your role; Claude Code and Codex get every skill and show them as needed. Browse the catalog →

Customize

  • Rule level. --profile minimal | balanced | full at install sets the rule level: how many rules load on every task. It is separate from the role profile above; balanced is the default and full costs the most tokens.
  • Your own changes. Put them in agents/overrides/ in your repository instead of editing the installed files.
  • Settings. agent-config config opens the settings screen with search and reset.
  • Skill sets for your role. Add a set of skills for another domain without switching profile.

Settings file →

Supported tools

init detects 23 AI coding tools and works with 20 of them. What a tool gets depends on its tier:

  • 18 tools get their own format written into their user-level folder. Which of rules, skills and commands each one reads is in the table below. Only Claude Code can block a turn; on the others the rules are instructions.
  • Codex CLI is one of those 18 but reads skills only.
  • GitHub Copilot gets a discovery plugin: a read-only MCP server that points to the install.
  • Claude Desktop gets skill ZIPs that you upload yourself under Settings → Customize → Skills.
  • Aider, Zed and JetBrains are export-only: you add the exported file to their config yourself.

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).

  • npm @event4u/agent-config

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

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

Frame 2085668439 (1)
Group 1261154229