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

@moxxy/mode-default

Latest version: v0.50.4

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: webeferen
6 Stars
1 Forks
28 Versions
3.2K Downloads
TypeScript Repo language

Scan summary

@moxxy/mode-default was last scanned on 30 Nov 2026 at version 0.50.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 28 versions; the latest 4 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 0.50.4.
  • Downloads: 3,231 downloads.

Versions

28 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.50.4 LATEST 30 Nov 2026 No rules fired
0.50.3 29 Nov 2026 No rules fired
0.50.2 27 Nov 2026 No rules fired
0.50.1 25 Nov 2026 Not shown
0.50.0 23 Nov 2026 Not shown

No rules fired in 0.50.4

Findings

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

README

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

@moxxy/mode-default

The default loop strategy (mode) for moxxy — a Claude Code-style ReAct loop: the agent thinks, optionally calls tools, sees the results, and continues until it produces a final answer. It also handles retryable provider errors (e.g. 429s) with backoff.

A "mode" is the turn-by-turn brain of a moxxy Session; register this one to get sensible default agent behaviour, or author your own against @moxxy/sdk's defineMode.

Install

npm i @moxxy/core @moxxy/sdk @moxxy/mode-default

Usage

import { Session, collectTurn, autoAllowResolver } from '@moxxy/core';
import defaultModePlugin from '@moxxy/mode-default';
import openaiPlugin from '@moxxy/plugin-provider-openai';

const session = new Session({ cwd: process.cwd(), permissionResolver: autoAllowResolver });

session.pluginHost.registerStatic(defaultModePlugin); // ← the loop strategy
session.pluginHost.registerStatic(openaiPlugin);
session.providers.setActive('openai', { apiKey: process.env.OPENAI_API_KEY });

const events = await collectTurn(session, 'What is 2+2? Use a tool if you have one.');

The mode is selected automatically once registered (it registers as the default). To run a different strategy, register another mode package and switch with session.modes.setActive(name).

Exports

  • default / defaultModePlugin — the moxxy plugin to register.
  • defaultMode — the underlying Mode (if you compose registries yourself).
  • DEFAULT_MODE_NAME — its registered name.

License

MIT

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 @moxxy/mode-default

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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229