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

nudi-cli

Latest version: v0.6.1

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: mohid
67 Stars
2 Forks
4 Versions
318 Downloads
Python Repo language

Scan summary

nudi-cli was last scanned on 26 Nov 2026 at version 0.6.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 7 days (20–26 Nov 2026).
  • Findings: No rules fired in version 0.6.1.
  • Downloads: 318 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.1 LATEST 26 Nov 2026 No rules fired
0.6.0 25 Nov 2026 No rules fired
0.5.3 20 Nov 2026 No rules fired
0.5.2 20 Nov 2026 Not shown

No rules fired in 0.6.1

Findings

Findings for v0.6.1. 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.6.1; other versions have their own rules, not their own score.

README

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

nudi is an open source tool for red-teaming and simulating RL environments before training. It uses agent swarms to find flaws in grading. And answers how likely they are. It reports in CLI to your coding agents, so they can patch the proven loopholes. Currently works with programmatic graders (rubric-graded environments supported soon).

This readme is written by humans, for humans. The boring stuff for your coding agents is here:


How agents prevent agents reward hacking

We try to answer two questions about a selected environment.

  1. Pre-Hacking "How can the grader be fooled?"

    1. Agents with admin access to the full environment, hunt for ways how the grader could grant false responses rewards.
    2. Found flaws are then tried to be reproduced by agents inside the task harness, with varied amounts of information about the flaws (full info, hint, no info).
  2. Simulations "What submissions can be expected in training, and how well does the grader judge them?"

    1. Agents complete the training tasks (without any extra hack instruction) in isolated sandboxes. The submissions of those "simulations" are inspected by an agent. Such that we can...
      • ... compute error rates: how often grader would make flawed decisions in practice?
      • ... find new overseen flaws: coming from natural behavior, instead of directed exploit hunting.
Featuring
  • Agent-first CLI & Python Library
  • TUI for humans, with live progress
  • Harbor Environments: Ran through native Harbor
  • Modal Sandboxes: Built for auto dispatch of cloud sandboxes
  • Parallelization: Parallel sandboxes, automatically scheduled and (if ran locally) constrained by available CPU/RAM. (i.e. inspector on flaw B would run in parallel with attackers of flaw A.)
  • Reports with rewards, traces, and evidence for each finding (optimized for coding agents)
  • Bring your own model... inference through any OpenAI-compatible API
  • Everything configurable
    • What to run (full analysis vs. only pre-hacking, vs. only simulations.)
    • Intensity of search: number of simulations, tries per flaw, etc.
    • Spending cap & Time limit
  • Concurrent inspection of multiple environments
Soon to be released
  • Rubric graded tasks
  • Indexing submissions of simulator agents by similarity (to detect and understand outliers)
  • For teams building fully synthetic envs with zero human oversight: nudi covers the outer loop for autonomous patching. Find flaws, patch them, test again, until no flaws detectable.
  • More environment framework integrations: verifiers, verl, hud

How does it compare to human-led flaw finding?

It's not easy to evaluate the autonomous swarm on finding loopholes in frontier environments. There simply are no independent benchmarks yet.

However, Terminal Bench 4.0.0 has been extensively investigated by Epoch AI (common issues sourced by community) and Preference Model (human-led investigations). We use the joint list of unique flaws - found by either human researchers or community - as target for nudi.

Over 4 randomly sampled tasks, nudi has shown to detect 80% of the flaws. Moreover, it found a variety of issues that have been unreported thus far... nearly doubling the amount of unique flaws.

Conceptual details behind nudi

Pre-Hacking
a. Finding flaws

hack_inspector agents are instructed to find solutions that can pass grading without solving the intended task (false positives). They are given admin access to the environment, fully aware of the grader.

Firstly, they search for potential behavioral false passes (e.g. when the grader only checks and accepts 3 screenshots of an animation, and outside the 3 screenshot timestamps the animations is black).

Secondly, (cyber) reward hacks, known from prior research, are accounted for:

  • Leaked answers in files, Git history, or upstream fixes.
  • Reference packages used as answer oracles.
  • Fabricated outputs that satisfy tests without solving the task.
  • Tampering with tests, helper packages, or reward files.
  • Timing tricks or persistent state that interfere with grading.

Every found flaw is executed in another isolated sandbox, so a suspected flaw can be "reproduced".

b. Could agents in execute the flaw in realistic training-like situations?

Loophole existence does not imply exploitability through the original environment harness. So, for every flaw found by a hack_inspector, attacker agents instructed to exploit the environment are dispatched.

Each attacker gets a fresh sandbox with the original environment tools and permissions. We add a meta system prompt with the goal to solely exploit the environment.

Disclosure on found flaws is cascaded into three levels.

  • i) Full privileged information on how to exploit the found loophole.
  • ii) A minimal hint on what hack type to focus on, such as pointing to a file in the environment.
  • iii) No extra information.

The nuanced exploit report is more informative than binary claims (hackable / not hackable).

Simulation
a. Generate realistic trajectories

A set of simulator agents (default: n=20) execute the task in isolated containers with real environment configurations. Their trajectories are then assessed.

b. Trajectory statistics
i. Reward Distribution

Descriptive Statistics on the simulated rewards, to flag potential issues with the environment.\ For example, nudi flags scenarios, where the mean and standard deviation of the reward distribution are both high (+ left-skewed). It's weird, that the models overall had an easy time solving the task, yet few performed badly. It's a sign (≠ cause), for ambiguous systems prompts or overspecified graders.

ii. Grader Classification Analysis

An inspector agent with full admin access to the environment (including the grader) analyzes the outcomes and traces of the simulators.

Labels assigned to each simulation:

  • false_negative: grader rejects work that (semantically) should've fulfilled task requirements
  • false_positive: grader accepts work that should not have passed.
  • true_positive: task successfully completed as intended and grader passes.
  • true_negative: task failed, and did definitely not pass the requirements.
  • unresolved: inconclusive; kick off another Inspector for better conclusion.

The labels are then used to compute FDR and FNR.

Metric Interpretation Impact
False discovery rate [FP/(TP+FP)] Of positively rewarded runs, how many didn’t deserve the reward? Contamination with fake successes in positive training signal ($\Rightarrow$ directly inviting reward hacks)
False negative rate [FN/(TP+FN)] Of valid runs, how many were rejected? Correct submissions are not reward ($\Rightarrow$ indirectly inviting reward hacking, when agent gets fed up with impossible task)

(For now, it's only compatible with pass/fail graders. Rubric based environments are not covered by this analysis yet.)

"Agentic Uno Reverse Card" inspired by real-life Pokemon

Nudibranchs are sea slugs that evolution has formed into some of the most aesthetically appealing water creatures. But most importantly, they evolved into weapon theft (kleptocnidy).

So, they share their habitat with some jellyfish species. Those species prey approaching fish by stinging them with nematocysts; which are poison capsules, that explode inside the enemies body.

Nudibranchs like Glaucus atlanticus eat (parts of) the jellyfish. They are able to swallow unexploded nematocysts, and repurpose the arsenal as their own shield.

Citation

Originally created by Mohid Butt (@unlearning_rate).

@misc{nudi2026,
  author       = {Mohid Butt},
  title        = {nudi: Red-teaming and simulating RL environments before training},
  year         = {2026},
  howpublished = {\url{https://github.com/standardnormal-ai/nudi}}
}

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

  • pypi-releases nudi-cli

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

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

CVE

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229