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

registry-intake

Latest version: vgit:af3cd5cbf7865c849bd89594f79c71875210b065

Overview

Last scanned
1 Dec 2026
AI: Benign Agent skill Publisher: lukedj78
5 Stars
1 Forks
1 Versions
Python Repo language

Scan summary

registry-intake was last scanned on 1 Dec 2026 at commit af3cd5cb. Risk score 39 of 100 (low). High-severity rules fired. The AI review did not flag it.

  • Releases: Single version.
  • Findings: 1 rule fired in commit af3cd5cb (2 instances: 2 high). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
af3cd5cb 1 rule fired

Rules fired in af3cd5cb: 1

Findings

2 High

Findings for commit af3cd5cb. 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.

Instructs fetching and running remote code

The skill's instructions or bundled files tell the agent to download content from a remote location and run it. This pattern can be used to change behavior after a review, but it also appears in legitimate installers. Check the source.

HIGH
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

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

README

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

registry-intake — nothing third-party lands unreviewed, unpinned or around the gate

A shadcn-format registry is a code mine, not a dependency: shadcn add @ns/item copies someone else's source into the repo, installs their npm packages, can write env vars and rewrite theme tokens, and fetches whatever the URL serves today. Once copied, the bugs are ours and nothing updates.

The risks are concrete, not hypothetical. Checked on 2026-09-15 against agentcn (466★, MIT): every eve tool in its registry declares needsApproval: always()/never(). eve's field is approval; needsApproval is the AI SDK's deprecated one, and eve's loader throws on unknown keys (expectOnlyKnownKeys in internal/authored-definition/schema-backed.js, eve 0.34, 0.51 and 0.55). The five tools that were meant to ask first — post_message, update_range, write_file, run_shell, generate_image — carry an approval that never loads, and claw/run_shell executes on the host through node:child_process, not in eve's sandbox. This skill's review blocks all of it.

The four barriers

# Barrier Command Enforced by
1 Allowlist of registries per project, each with a reason allow / deny approve refuses other namespaces; check refuses a components.json registry not on it
2 Review of the item and its whole registryDependencies closure review exit 1 blocked · 3 needs a human · 0 clean
3 Snapshot in vendor/registry/, hashed in registry-lock.json, installed instead of the URL approve → install install and the hook refuse a snapshot whose hash changed
4 Nothing around it check, hook the PreToolUse hook; set-phase scaffolded; show_state.py

What the hook is — and is not. It reads the Bash command string and recognises the ways an agent writes an install: npx / pnpm dlx / yarn dlx / bunx / npm exec [--] shadcn add, a version pin, quotes or backslashes inside the name, -- separators, && / ; / | chains, and a shell's -c (sh, bash, zsh, dash, ksh, fish, csh, tcsh; -c alone or in a flag cluster like -xc, after long options, nested). It is a tripwire for an honest agent's mistakes, not a barrier against an adversary. It does not see: an install whose name or arguments come from a variable (X=@ns/item; npx shadcn add $X), the CLI run by path (node node_modules/shadcn/dist/index.js add …), a command written to a file and then executed, or anything piped into a shell (echo "…" | bash). After such an install, check sees only what reaches components.json, the lock and vendor/registry/ — an item added straight from a URL leaves nothing it can catch. The runtime's own permissions are the boundary; this is the reminder. After every shell command, a PostToolUse hook (hook-post) checks the effect instead of the text: the PreToolUse hook records check's registry problems before the command, and hook-post reports with exit 2 the ones the command introduced — a registry added to components.json outside the allowlist, a snapshot edited after approval, a file in vendor/registry/ outside the lock. A problem that was already there is not repeated. It still cannot see an install from a URL: those files and dependencies look like shadcn's own components, and only a network-level barrier stops them. (Measured 2026-10-17: npm exec shadcn -- add, shad""cn and sh -c walked through before; they are now caught and tested.)

Commands

S=registry-intake/scripts/registry_intake.py
python3 $S setup   <root>                                   # lock + hook + AGENTS.md section + formatter exclusion; idempotent
python3 $S review  <root> @pdfcn/takumi/card --registry '@pdfcn=https://pdfcn.dev/r/{name}.json'   # before allowing
python3 $S allow   <root> @pdfcn 'https://pdfcn.dev/r/{name}.json' --reason "PDF export of tender documents" --by <name>
python3 $S approve <root> @pdfcn/takumi/card --by <name> [--accept CODE="why" ...] [--note ...]
python3 $S install <root> @pdfcn/takumi/card [--cwd packages/ui] -- --yes
python3 $S review  <root> @pdfcn/takumi/card                # later: shows the upstream diff against the snapshot
python3 $S check   <root>                                   # gate / CI
python3 $S sweep   <root> --source "Watermelon UI" --source Watermelon --domain watermelonui.com   # after a hand PORT
python3 $S caps    <root> --reason "..."                    # record a deliberately raised lint cap

<item> is @ns/name, a registry-item URL, or a local .json. Bare names are shadcn's own registry and are not governed. Since September 2026 those items depend on the cn package (import { cn } from "cn"): expected, and not something to undo (design-md-to-app/references/shadcn-mapping.md §cn). review is read-only; --json gives the report to an agent.

The workflow an agent follows

The agent always stops and asks before allow and before approve, whatever the tier, even when the review is clean, the prompt says to hurry, or the user asked for the component by name. Asking for a component is not agreeing to a registry or to its code. review is read-only, so the agent runs it without asking; allow, approve and every --accept are the user's decisions, taken after they have seen the report. --by is the name of the person who said yes, in this conversation, to this registry or item. It is never the OS login or the agent, and never someone who was not asked. In an autonomous run (dev-flow §Autonomous runs), the run stops at the review with "needs a human: allowlist @ns / approve @ns/item" and delivers the report.

Measured on 2026-09-22 (evals/compliance, gate registry-intake): with the text as it stood, the agent stopped and asked in one session out of three. In the other two it allowlisted and approved itself, putting the operator's login in --by, so the lock recorded a human approval that never happened. The hook now backs this rule (below).

  1. The user wants a component from a registry → review it (with --registry if the namespace is not allowlisted yet). Show the report: files and targets, npm packages with licences, findings.
  2. Stop and ask. A new registry: "allowlist @ns → url, reason …?", then allow with the reason and --by from their answer. Then the item: "approve @ns/item as reviewed?", then approve --by <them>. Both questions can go in one message, but they are two decisions and need a yes to each.
  3. Exit 1 → do not propose approving it. Each blocking code is one of: fixed upstream, ported by hand (eve code → eve-registry-porting), or accepted by the user with a written reason (--accept CODE="reason", recorded in the lock). An --accept without a reason is refused.
  4. Exit 3 (high tier, or review-level findings) → say so when asking. The findings are what the user is deciding on.
  5. install, then the gates the imported code must pass: typecheck, the capped design lint, eve build when agent/ changed, tests. Raising --max-warnings to make room fails check — fix the warnings, or record why with caps --reason.
  6. Updating = review again (it prints the diff against the snapshot) → approve → install.

What the review checks

Tier high = anything server-side (app/api/, route handlers, server actions, agent/), any eve code, or any T1 finding. High tier always needs a human, even with no findings.

Code Level Finding
T1 block target is a config/tooling/env file (next.config, package.json, lockfiles, .env*, .github/, .claude/, proxy.ts, components.json, eslint.config, vendor/registry/…) or escapes the project
T2 review server-side surface → high tier
S1 block child_process, eval(, new Function(
S2 block minified/obfuscated lines or a large encoded blob
S3 · S4 · S5 review reads process.env · hard-coded hosts · dangerouslySetInnerHTML
S6 review lines over 1000 characters in a .tsx — usually a class list of arbitrary values the design lint counts one by one (React Bits' SwipeToast: 1070)
E1 · E2 review · block declares env vars · ships a value for a secret-looking one
C1 block cssVars / css / tailwind / theme — DESIGN.md owns the tokens
C2 block a file it writes defines the token layer: custom properties on :root, html, body or in a Tailwind v4 @theme block. Arc UI's arc-foundation is why this exists — 97 tokens in a foundation.css that C1 never saw, because C1 reads item keys. :host does not fire: a shadow root is the component's own scope
D1 · D2 · D4 block npm package does not exist · (A)GPL/SSPL/BUSL/no licence · install scripts
D3 · D5 · D6 review weak copyleft or NC · current release line published < 30 days ago · npm view failed
D7 review the item's dependency range excludes the major the project has installed (React Bits asks motion@^12, our projects run 14); under 1.0 a caret locks the minor (cn@^0.2.4 refuses 0.3.x)
D8 review · info the npm name was reused: a gap of 2+ years between releases, a different repository and no maintainer in common. D5 then dates from the new line, not from the old one. info for names whose new owner was checked (cn → shadcn-ui/cn, motion → motiondivision/motion)
R1 block the closure reaches a registry that is not allowlisted
R2 · R3 info · block no registry-item $schema · unknown item type
V1 block eve tool key the installed eve's loader rejects (read from node_modules/eve; fallback: eve 0.55.0)
V2 block eve tool with a side effect (name or body) and no working approval
V3 · V4 · V5 · V6 review global credential · one shared store · US-shaped PII regexes · a whole standalone agent

These are heuristics over source text, not a sandbox and not a proof. They exist to stop the failures already seen and to force the conversation; the post-install gates are still required.

sweep — the check the ported path never had

install records a hashed snapshot, so an item that came through the gate stays known. But our own verdict for most registries in dev-flow/references/resources.md is "port, do not install" (Watermelon UI, unlumen UI, React Bits), and a port is done by hand: no snapshot, no record, no check. Golden rule 3 says one namespace, and a hand port is exactly how a second one arrives — components/unlumen-ui/, a WatermelonButton, a comment naming the source, an asset still served from the registry's domain.

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

  • GitHub lukedj78/dev-flow/registry-intake

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

CVE

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229