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

@eamilos/cli

Latest version: v1.8.3

Overview

Last scanned
30 Sep 2026
Published
30 Sep 2026
AI: Suspicious npm package Publisher: rayyankhan27
1 Stars
0 Forks
4 Versions
336 Downloads
TypeScript Repo language

Scan summary

@eamilos/cli was last scanned on 30 Sep 2026 at version 1.8.3. Risk score 85 of 100 (high). High-severity rules fired.

  • Releases: 4 versions, all published within 3 days (28–30 Sep 2026).
  • Findings: 2 rules fired in version 1.8.3 (2 high). The score describes this version only.
  • Downloads: 336 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.3 LATEST 30 Sep 2026 2 rules fired
1.8.1 30 Sep 2026 3 rules fired
1.8.0 28 Sep 2026 2 rules fired
1.7.0 28 Sep 2026 Not shown

Rules fired in 1.8.3: 2

Findings

2 High

Findings for v1.8.3. 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.

Local file read that may reach a network call in install-time code

A file that the package's install scripts may run reads a local file, and the value read appears to reach an outbound network call. Install-time code does not normally need to upload local files.

HIGH

Several suspicious behaviors form a known attack pattern

HIGH
Checking access…

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

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

README

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

EamilOS

The AI execution kernel — unreliable models in, verified files out.

npm version npm downloads License: MIT Node >= 18


What It Does

Every AI tool gives you text and hopes it works. EamilOS gives you verified, validated, working files — every time.

You say: eamilos run "Build a REST API with auth"\ You get: 4 validated files on disk — src/server.js, src/routes/auth.js, package.json, tests/auth.test.js

What happened in between: Task classified as multi_file. Model selected (qwen2.5-coder:7b, score 0.91). Attempt 1 had trailing comma in JSON — auto-repaired. Attempt 2 passed validation, security scan, and files were written.

The model was unreliable. The system was not.


Quick Start

npm install -g @eamilos/cli
eamilos setup
eamilos run "Create a Python calculator with add, subtract, multiply, divide"

Three commands. Working files. Done.


Who This Is For

  • Developers tired of fixing AI output
  • Builders using local models (Ollama)
  • Teams experimenting with AI workflows
  • Anyone who wants AI to produce real, working code

The Problem

You ask an AI tool to build something. It returns:

  • JSON with a trailing comma that crashes your parser
  • A filename called data.json instead of calculator.py
  • A description of what the code would do instead of actual code
  • Markdown-wrapped output that isn't machine-readable
  • An API key you pasted in context, now hardcoded in the output

You spend more time fixing AI output than you would have spent writing it yourself.

That's not execution. That's a coin flip with extra steps.


The Fix

EamilOS is an AI execution kernel. Not a wrapper. Not a chatbot. A runtime that sits between you and the model and guarantees the output is real, valid, and safe before it ever touches your filesystem.

Self-healing pipeline. Every model response passes through a gauntlet:

  1. JSON Extraction — tries 4 strategies (direct parse, code block extraction, brace-find, nested JSON). If all fail, auto-repair kicks in for trailing commas, single-quoted keys, and unquoted keys.

  2. Structure Validation — verifies the response has the required {"files": [{"path": "...", "content": "..."}]} format. If not, retries with a stricter prompt.

  3. Content Check — rejects descriptions disguised as code. Rejects placeholder filenames like data.json or output.txt. Verifies the output is real, executable code.

  4. Security Scan — blocks path traversal (../../etc/passwd), absolute paths (/root/.ssh/id_rsa), secret leaks (API keys, tokens, private keys), dangerous filenames (.env case-insensitive, 30+ patterns), null bytes, and unicode path tricks.

  5. Plugin Sandbox — every plugin declares permissions. Users see them before install. Plugins can't exceed what they declared. Secret variables are always blocked.

Nothing reaches your disk without passing every check.


See It In Action

eamilos run "Create a CLI todo app in Python with add, remove, and list commands"
  🎯 Task: code (complexity: moderate)
  🤖 Model: qwen2.5-coder:7b (score: 0.91)

  ⚡ Attempt 1/5
     ⚠️  Model returned markdown-wrapped JSON
     🔧 Auto-fix: REMOVED_MARKDOWN_WRAPPER
     ✅ JSON valid after repair

  ✅ Validation
     📄 todo.py — 68 lines — real code (not description) ✓
     🔒 No secrets detected ✓
     📁 Path safe ✓

  ────────────────────────────────────────

  ✅ Task Complete

  Files created:
    📄 todo.py    (68 lines, python)

  Summary: CLI todo application with argparse, add/remove/list commands,
           JSON file persistence
  Time: 2.8s | Attempts: 1 | Auto-fixes: 1

The model wrapped its JSON in markdown. Any other tool would have given you that raw broken output. EamilOS stripped the wrapper, re-parsed, validated the code was real code and not a description, scanned for secrets, checked the filepath, and wrote a clean file.

You saw none of that complexity. You just got a working file.


Errors Explain Themselves

Most tools: Error: INVALID_JSON

EamilOS:

  ❌ JSON structure missing 'files' array

  What happened:
    The model produced valid JSON, but it used {"code": "..."} instead
    of the required {"files": [{"path": "...", "content": "..."}]} format.

  Why:
    phi3:mini (3.8B) has low JSON compliance — it frequently ignores
    structured output instructions. This is a known model limitation,
    not a system bug.

  How to fix:
    1. System is retrying automatically with a stricter prompt
    2. Run: eamilos benchmark — to find a more reliable model
    3. Or switch: eamilos run "..." --model qwen2.5-coder:7b

  🔄 Retrying automatically (attempt 2/5, strict mode)

Every error tells you what, why, and how to fix it. Including whether it's a model problem or a system problem.


The System Learns Which Models Work

eamilos benchmark
  Model               Success   Latency   JSON     Score
  ─────────────────────────────────────────────────────────
  qwen2.5-coder:7b   92%       2.1s      95%      0.91  ← recommended
  deepseek-coder      85%       2.4s      88%      0.84
  llama3:8b           80%       3.2s      75%      0.76
  phi3:mini           52%       1.1s      38%      0.44  ⚠️ weak JSON

  🏆 Best: qwen2.5-coder:7b

Every execution is recorded. Success rates, latency, JSON compliance, retries needed — all tracked per model, per task type. The router uses this data to pick the right model for each task automatically.

Weak model on your machine? The system compensates — stricter prompts, more retries, task splitting. You don't configure this. It just happens.


Prompts Adapt to the Model

Model What EamilOS does automatically
phi3:mini Nuclear prompts, format examples injected, vocabulary simplified, instructions truncated
llama3 Strict JSON enforcement, no-markdown rules, format reminders
deepseek-coder Standard prompts with light JSON reminder
gpt-4o Minimal constraints — model follows instructions reliably

You don't write different prompts for different models. The system profiles each model and adjusts automatically.


Commands

# First time
eamilos setup                   # guided configuration wizard
eamilos doctor                  # check everything works
eamilos doctor --fix            # auto-fix what it can

# Daily use
eamilos run "your instruction"  # generate validated code
eamilos run "..." --debug       # see full execution trace
eamilos run "..." --model X     # override model selection

# Model management
eamilos benchmark               # test and rank all models
eamilos benchmark --model X     # test specific model

# Plugins
eamilos plugins list            # installed plugins
eamilos plugins install <path>  # add a plugin
eamilos plugins remove <id>     # remove a plugin
eamilos plugins health          # plugin diagnostics

# System
eamilos version
eamilos help

Security

Security isn't a feature flag. It's a layer that every output passes through.

Threat What happens
Model outputs ../../etc/passwd as filepath Path traversal detected and rejected.
Model outputs /root/.ssh/id_rsa Absolute paths never written.
Model hardcodes sk-proj-abc123... in code Leak detector catches API keys, tokens, private keys.
Model names file .env or .ENV or .Env Case-insensitive matching on 30+ dangerous filenames.
Model outputs data.json as default filename Placeholder names rejected, retry triggered.
Plugin tries to read OPENAI_API_KEY Secret env vars denied even with envAccess: true.
Plugin tries to write outside workspace Sandbox enforces workspace boundary.
Content contains null bytes Stripped before write.
Unicode path tricks (bidi override, zero-width) NFC normalized, dangerous codepoints rejected.

Verify it yourself:

eamilos doctor

  ✅ Security: Path traversal prevention — 5 attack patterns blocked
  ✅ Security: Absolute path prevention — 5 patterns blocked
  ✅ Security: Blocked filenames (case-insensitive) — 11 variants rejected
  ✅ Security: Secret leak detection — 4 patterns detected, clean code passes
  ✅ Security: Plugin sandbox — all permissions denied by default
  ✅ Security: Secret env vars — always blocked for plugins
  ✅ Security: No default filenames — parser never produces data.json
  ✅ Security: Null byte stripping — verified
  ✅ Security: Unicode normalization — NFC/NFD consistent

The system audits itself. Every run.


Architecture

The system is organized in layers, like an OS kernel. Each layer has a single responsibility and is independently testable.

CLI Layer — Entry points: setup, doctor, run, benchmark, plugins. Handles user interaction, argument parsing, and output formatting.

Feature Engine — Cross-cutting features: adaptive prompting (adjusts prompts per model), self-healing routing (fails over between models/providers), parallel execution (runs multiple subtasks concurrently).

Orchestrator — Manages task execution lifecycle: retry loop with configurable budget, task classification (code, json, multi_file, debug, test, refactor), complexity estimation, and escalation when all retries are exhausted.

Model Router — Scores and selects models per task type using historical metrics. Supports fallback chains, exploration of untested models, and automatic model ranking via benchmark.

Validation Pipeline — Four-stage processor: Parser (JSON extraction with 4 strategies + auto-repair), Validator (structure verification), PathValidator (path traversal prevention, safe filenames), LeakDetector (secret scanning).

Security Layer — SecretManager (env var redaction), SecureLogger (no secrets in logs), Sandbox (plugin permission enforcement, workspace boundary).

Providers — Pluggable backends for Ollama, OpenAI, Anthropic, and custom provider plugins.

Metrics & Learning — SQLite-backed store tracking every execution: success/failure per model and task type, latency, retry counts, auto-fix counts. The router uses this data to improve over time.

All prompts adapt to the model — phi3:mini gets nuclear prompts with injected examples, gpt-4o gets minimal constraints. You don't configure this. The system profiles each model and adjusts automatically.

Same layered design as an OS kernel. Core is stable. Features are pluggable. Providers are swappable.


Extend It

EamilOS has a plugin system with a permission sandbox.

# Create a plugin
npx create-eamilos-plugin my-tool
cd eamilos-plugin-my-tool
npm run build
eamilos plugins install ./dist

Plugin types: feature · agent · tool · hook · provider

Every plugin declares permissions. Users see them before install. Plugins can't exceed what they declared. Secret variables are always blocked.


Supported Providers

Provider Type Cost Models
Ollama Local Free phi3, llama3, mistral, deepseek-coder, qwen2.5-coder, codellama, + any
OpenAI Cloud Paid gpt-4o, gpt-4o-mini, gpt-3.5-turbo
Anthropic Cloud Paid claude-3.5-sonnet, claude-3-haiku
Plugins Any Varies Anything you build

Auto-detected at startup. eamilos setup handles the rest.


Configuration

# eamilos.config.yaml
version: 1
providers:
  - id: ollama
    type: ollama
    models:
      - id: qwen2.5-coder:7b
        tier: cheap
        context_window: 8192

routing:
  mode: auto
  default_tier: cheap
  default_model: qwen2.5-coder:7b
  default_provider: ollama

workspace:
  base_dir: ./data/projects
  git_enabled: true
  max_file_size_mb: 10
  max_workspace_size_mb: 500

budget:
  max_tokens_per_task: 50000
  max_cost_per_project_usd: 5.0
  warn_at_percentage: 80

settings:
  max_parallel_tasks: 3
  task_timeout_seconds: 300
  model_call_timeout_seconds: 120
  preview_mode: true
  auto_retry: true

logging:
  level: info
  console: true
  live: true

Every behavior is tunable. Every default is battle-tested.


Requirements

  • Node.js >= 18
  • One AI provider (at minimum):
    • Ollama — local, free, private
    • OpenAI — export OPENAI_API_KEY=sk-...
    • Anthropic — export ANTHROPIC_API_KEY=sk-ant-...

Status

Layer Status
Execution pipeline Production
Validation & security 10-point audit
Model routing & learning Adaptive
Plugin system Sandboxed
CLI (setup, doctor, benchmark) Complete
Error intelligence Explainable

Migration from v1.x (Consolidated Architecture)

EamilOS v1.7.0 consolidates all public packages into @eamilos/cli.

Old Package Status Migration
@eamilos/core Deprecated Use @eamilos/cli/core
@eamilos/cli-ui Deprecated Use @eamilos/cli/ui
@eamilos/cli Active Continue using @eamilos/cli

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 @eamilos/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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229