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

aegisai-harness

Latest version: v1.0.70

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: user6811992
2 Stars
1 Forks
119 Versions
23.0K Downloads
JavaScript Repo language

Scan summary

aegisai-harness was last scanned on 29 Nov 2026 at version 1.0.70. Risk score 0 of 100. High-severity rules fired.

  • Releases: 119 versions; the latest 5 were published on 29 Nov 2026.
  • Findings: 1 rule fired in version 1.0.70 (1 high). The score describes this version only.
  • Downloads: 22,968 downloads.

Versions

119 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.70 LATEST 29 Nov 2026 1 rule fired
1.0.69 29 Nov 2026 1 rule fired
1.0.68 29 Nov 2026 1 rule fired
1.0.67 29 Nov 2026 Not shown
1.0.66 29 Nov 2026 Not shown

Rules fired in 1.0.70: 1

Findings

1 High

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

README

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

AegisAi Harness

CI License: MIT Node.js GitHub release GitHub stars

A feature-rich, local-only AI agent harness — OpenCode-class runtime, but offline-first: no cloud dependencies, no telemetry. Phases 1–5 complete (92/96 roadmap items), 384 modules, 744 tests, CI green.

Status: v1.0.70 (see ROADMAP.md). Successor to aegisai-next — that project is deprecated; all features have been ported here. Live docs: https://user6811992.github.io/aegisai-harness/

What a harness is here

The harness is the runtime that hosts an agent loop around a local LLM:

  • Agent loop with tool calls, streaming, fallback models, iteration caps, doom-loop detection, composable stop conditions.
  • Tool registry with 64+ coding tools plus pluggable external tools (MCP, plugins, REA, Ghidra, Craft).
  • Capability-based security (allowed/denied tool patterns per session, sandbox rings, clean room mode).
  • Session & memory persistence in local SQLite with WAL (bi-temporal memory graph, hippocampus, source-bound memory).
  • Context management (compaction + retrievable archive + capsules).
  • Local-only guarantees (offline mode, local embeddings, no phone-home).
  • MCP client + server (stdio + Streamable HTTP, conformance, Apps, Tasks, .mcpb, interceptors, uploads, skills).
  • Web UI (Preact, Markdown rendering, context meter, dark/light theme, voice, config panel, onboarding wizard, command palette).
  • Terminal UI (multi-pane TUI with status bar, chat, sidebar, command palette).
  • Reverse engineering (REA, Ghidra, Craft, 30+ index, awesome-re 17k, pentest pipeline, vuln scanner, security KB).
  • Observability (run capture, harness score, reliability attribution, OTel export, SARIF, Merkle ledger, evidence bundles).
  • Always-on layer (events, timers, approvals, outbox, scheduler, cron, mailbox).
  • Multi-agent (DAG orchestration, swarm, teams, multi-critic, task phases, async/background tools, Tauri group/broadcast IPC for parallel coordination).
  • Project scaffolding (aegisai --init generates AGENTS.md, SOUL.md, TOOLS.md, MEMORY.md, PATH_RULES.md, MCP recommendations, plus Aegis governance blueprints).
  • Governance (baseline-first, evidence-verified, drift-checked; verification gate before claiming completion; Aegis skill pack with 22 skills bundled).
  • Native Windows desktop shell (Tauri v2: managed Node backend, system tray, governance status, group coordination, MSI/NSIS bundles).
  • Performance Dashboard 2.0 (unified model/tool/network latency view; DNS/TCP/TLS/server/transfer phases recorded locally).
  • Hardware-aware auto-tuning (--autotune: DGX Spark GB10, Blackwell, Apple Silicon MLX, CUDA profiles → backend/quantization/context settings).
  • Unified model registry (deduplicated model catalog bridging Ollama ↔ LM Studio and all other local providers).
  • Verification certificates (signed, hash-verifiable completion certificates built on evidence bundles; optional Lean 4 formal check).
  • Research contracts (mLattice, JIT LoRA, MIRAS, expert prefetch, peerhive, fixed-point detection) ship as opt-in offline adapters; heavy neural/training backends are never bundled.
  • Quality gates (skill eval, harness lint, adversarial stress, comprehension benchmarks, convergence detection, CI template, conformance testing).
  • Git-aware editing (status, diff, commit, blame, branch, stash, log, multi-file diff review, auto-commit).
  • Model providers (18: Ollama, LM Studio, llama.cpp, vLLM, OpenAI, Anthropic, Groq, Mistral, DeepSeek, Together, Fireworks, Cohere, OpenRouter, Gemini, etc.).
  • Plugin marketplace (search, install, uninstall, enable/disable, categories, ratings).
  • IM channels (Telegram, Discord, DingTalk, Feishu).
  • LSP integration (hover, definition, completion, diagnostics).

Quick start

git clone https://github.com/user6811992/aegisai-harness.git
cd aegisai-harness
git submodule update --init --recursive   # bundles the Aegis skill pack (22 skills)
npm install
npm start

Source installs need the submodule init step for the bundled Aegis skill pack. The Windows/macOS installers bundle these files already, so no submodule step is needed there.

Requires Node.js 22.13+ (node -v to check) and a local backend (Ollama recommended). The Windows installer does not bundle Node.js — install the LTS from nodejs.org first and reopen your terminal so node is on PATH.

Scaffold your own project

Run aegisai --init in any project directory to generate agent-ready scaffolding:

cd /path/to/your/project
aegisai --init
# Creates: AGENTS.md, SOUL.md, TOOLS.md, MEMORY.md, PATH_RULES.md,
#          MCP_RECOMMENDATIONS.json, .mcp.json, .aegisai/project.json

The command auto-detects the project type (Node, Python, Rust, Go, Java, .NET, generic) and writes a matching test command, lint command, MCP server recommendations, and forbidden-path rules.

Web UI
npm start -- --web
# Open http://127.0.0.1:8080
Split GGUF models

Some GGUF models ship as multiple shards, for example:

model-00001-of-00002.gguf
model-00002-of-00002.gguf

Point llama.cpp at the first shard; it loads the remaining shards automatically:

llama-server -m /models/model-00001-of-00002.gguf --host 127.0.0.1 --port 8081

The harness groups the shards into one entry in Settings — Discover and marks it [gguf split 1/2]. Do not select the 00002 shard directly. If you need a single file for Ollama, merge the shards first with llama-gguf-split --merge.

Backend auto-setup (opt-in)

If no backend is running, the web UI onboarding shows Install & start for the selected backend. The action is explicit — nothing is downloaded or launched silently, and installation is blocked in offline mode.

  • Ollama — installs via winget (Windows), Homebrew (macOS) or the official install script (Linux), then starts ollama serve and waits for /api/tags.
  • llama.cpp — downloads the official MIT-licensed prebuilt binary from the latest b* release (Windows Vulkan, with a CPU fallback), extracts llama-server.exe into data/backends/llama.cpp, and starts it with the GGUF model path you provide on port 8081. No source is vendored or compiled.
  • LM Studio — no universal installer exists; the UI links to the official download and you start the server yourself.
  • OpenAI / router — remote or user-supplied URLs; configure BACKEND_URL (and BACKEND_API_KEY) instead.

The same flow is available programmatically: GET /api/backend/setup?type=ollama (report only) and POST /api/backend/setup with { "type": "ollama", "install": true, "start": true, "confirmed": true }. For llama.cpp add "model": "D:\\models\\model-q4_k_m.gguf".

Hardware profiles

Optimizations for a specific machine can be saved as local JSON profiles under data/profiles/. A profile records backend, engine, quant, context, threads, GPU layers and safe launch flags; the active one is applied at startup before backend detection. Nothing hardware-specific is bundled, and profiles are validated on import so shared files cannot carry commands or scripts.

See docs/HARDWARE_PROFILES.md for the format and examples. Manage them in Settings → Hardware or via /api/hardware-profile.

Terminal UI
npm start -- --tui
MCP server (for Claude Code, Cursor, etc.)
npm start -- --mcp-server
# Connect to http://127.0.0.1:3001/mcp
Headless / CI
node src/index.js --json "your prompt here"

Build

# Windows installer (requires Inno Setup 6)
.\packaging\build.ps1 -Installer

# Standalone binary
.\packaging\build.ps1 -Binary

# Or use the cross-platform binary script
bash packaging/build-binary.sh

# Native Windows desktop app (MSI / NSIS, requires Rust + Tauri CLI)
cd packaging/tauri && cargo tauri build

The Tauri desktop shell wraps the web UI in a WebView2 window and manages the Node backend automatically (system tray with Show / Restart backend / Quit). See packaging/tauri/README.md for details.

CI enforces node scripts/check-version-consistency.js so package.json, the installer filename, docs, and release tag always agree. Release assets include a .sha256 checksum file — verify it before running an installer:

# PowerShell (in the download folder)
Get-FileHash .\AegisAi-Harness-1.0.70-Setup.exe -Algorithm SHA256

Environment variables

Key ones:

Var Purpose Default
PORT / HOST Bind address 127.0.0.1:8080
AEGISAI_TOKEN Auth token (open mode if unset) (none)
AEGISAI_OFFLINE Force offline mode false
BACKEND_TYPE Backend type (auto/ollama/openai) auto
BACKEND_URL Backend URL auto-detect
AEGISAI_DATA_DIR Data directory ./data
AEGISAI_PROJECT_ROOT_ALLOWLIST Allow-list for agent project roots (none)
AEGISAI_WEB_AUTO_APPROVE Allow the web UI to auto-approve tool calls (off by default) false

Troubleshooting

See docs/TROUBLESHOOTING.md for full details. Quick fixes:

  • .js files open in Notepad / node is not recognized — Node.js isn't installed or isn't on PATH. Install Node 22.13+ LTS from https://nodejs.org, reopen the terminal, verify node -v, then reinstall/retry. Double-clicking a .js file is not how the harness starts.
  • Stale version after uninstalling — the old runtime node_modules survives an Inno uninstall in older builds. Delete %LOCALAPPDATA%\Programs\AegisAiHarness (or %LOCALAPPDATA%\AegisAiHarness) before reinstalling. For npm: npm uninstall -g aegisai-harness && npm cache clean --force.
  • Web UI is blank offline — v0.68.0 vendors Preact/Tailwind locally; clear the browser cache if an older service worker is still serving stale assets.
  • Web chat sends empty prompts — fixed in v0.68.0; the browser now posts message, matching the server API.

Layout

src/              384 modules (agent, tools, backends, storage, integrations, ...)
public/           web UI (Preact + Tailwind vendored locally, no build step)
tests/            744 tests (node:test)
packaging/        Windows/macOS/Linux installers + binary build
docs/             landing page, setup guides, future integrations matrix
vendor/aegis      Aegis Method Pack (git submodule, 22 skills)

Future & Research Integrations

The harness stays local-only. Heavier or network-dependent features are opt-in and never bundled. The table shows what now ships as a local contract and what still needs an external toolchain or community protocol:

Area Idea Source Status
Long context mLattice linear-memory kernel eelbaz/mLattice Contract bundled; full kernel needs PyTorch/CUDA
Continuous learning JIT LoRA weight updates eelbaz/jit-lora Quality guard bundled; training backend needs research
Memory MIRAS / Titans neural memory eelbaz/olmo3-miras Surprise policy bundled; neural module needs PyTorch
MoE throughput Expert prefetch predictor eelbaz/tensorbend-predictor Predictor bundled; runtime prefetch needs ggml/vLLM hook
Multi-agent transport p2p pubsub over QUIC eelbaz/peerhive Pubsub contract bundled; QUIC needs external library
Self-improvement Loop-dynamics weight editing Recursive-Self-Improving-Loopers Convergence detection adapted
Trust Ed25519-signed certificates — Implemented (src/ed25519_signing.js)
UX Dashboard Web UI panel — Implemented (src/admin_panel_metrics.js)

See docs/FUTURE_INTEGRATIONS.md for the full detail matrix, feasibility ratings, and decision principles. Contract modules ship with the harness; external backends and community protocols remain research items.

License

MIT

Acknowledgments

Built with inspiration from the open-source community.

Prior art & inspiration
  • Agent harnesses — OpenCode, Claude Code, Aider, Cline, OpenHands, Goose, Codex, DeerFlow, Symphony, diggerhq
  • MCP — Model Context Protocol (modelcontextprotocol/servers, registry, extensions)
  • Reverse engineering — REA, Ghidra, Craft Anything, awesome-reverse-engineered, netvein
  • Memory & learning — bytedance/deer-flow, volcengine/OpenViking, rohitg00/agentmemory
  • Security & governance — Microsoft agent-governance-toolkit, spec-kitty, GanyuanRan/Aegis
  • Observability — OpenTelemetry, SARIF, LangSmith, Langfuse
  • Scaffolding & coordination — harnessforge, apiad/aegis, linkdigest-mcp, Panniantong/skillshare + Agent-Reach, HarnessRouter, kdeps/kdeps, alesha-pro/ai-orbiter
  • Product & UX research — LostRuins/lite.koboldai.net, koboldcpp, hardbyte/obsidian-llm-plugin, aws (strands-dynamodb-storage, context-ontology-accelerator), gabrielursan-beep/red-alert-llm, THU-MAIC/OpenMAIC, nolly-studio/components-build-skill, m-bain/whisperX, togg53192-cmd/recon
  • Reliability & skills — forge, aicodeking/leanrea + deepseek-stack, 0xNyk (council, LACP, unmachined, obsidian-curator), morluto (leantoken, rea, kuna)
  • Search & retrieval research — xerj-org/xerj, VectifyAI (PageIndex, ChatIndex, ConDB), StarTrail-org (LEANN, PixelRAG), morluto/leantoken
  • Visual & desktop — lightpanda-io/browser, kepano/defuddle + vault, obsidianmd/obsidian-skills, tt-a1i/Archify + hive
  • Inference optimization — raketenkater/ggrun, alesha-pro (inference playbook, vllm-cross-model-kv), ikawrakow/ik_llama.cpp, mozilla-ai/llamafile, ix-infrastructure/Ix, mlx-iqk, pxq_llama, memex-engine, stable-diffusion.cpp
  • Methodology & research scan — DietrichGebert/ponytail, steadfastgaze (mlx-iqk, MoEspresso), tleyden/tauri2-local-llm, janhq/jan, symgrate2 + Ghidra BSim, BaaRai/ARTEX, aidenybai/react-scan, mobius/kunlun_k200 + ChargerLAB (Kunlun K200 research)
  • Native & security research — ik-llama-cpp-rs, parallel-gpu-weight-loading, aws (credential-daemon, aws-emulator), hardbyte/paillier.js, 0xNyk/termpeek, Ghidra Thumb2, morluto (kuna, reef)
  • Local inference research (@eelbaz) — mLattice, JIT LoRA, olmo3-miras, Recursive-Self-Improving-Loopers, lyra, ollama-lmstudio-bridge, dgx-spark-vllm-setup, cdnshare, tensorbend-predictor, Rule30PrizeKit, peerhive

All adapted patterns are attributed in THIRD_PARTY_NOTICES.md.

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 aegisai-harness

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

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

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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

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

Frame 2085668439 (1)
Group 1261154229