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

loopengine

Latest version: v0.5.18

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: evanyan22
2 Stars
0 Forks
216 Versions
23.2K Downloads
TypeScript Repo language

Scan summary

loopengine was last scanned on 27 Nov 2026 at version 0.5.18. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 216 versions; the latest 5 were published within 2 days (26 and 27 Nov 2026).
  • Findings: No rules fired in version 0.5.18.
  • Downloads: 23,203 downloads.

Versions

216 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.18 LATEST 27 Nov 2026 No rules fired
0.5.17 27 Nov 2026 No rules fired
0.5.16 27 Nov 2026 No rules fired
0.5.15 26 Nov 2026 Not shown
0.5.14 26 Nov 2026 Not shown

No rules fired in 0.5.18

Findings

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

README

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

LoopEngine

CI

LoopEngine is a runtime for building AI agents: a persona, a set of tools, and permission rules, run through a transparent ReAct loop. No chain DSL, no hidden control flow — core/run-agent.ts is a single function you can read top to bottom. Run agents over a CLI, an HTTP API, or both.

Why LoopEngine

  • Up and running in one command. npx create-loopengine@latest scaffolds a real, standalone project — its own repo, a starter agent, CLI and HTTP adapters already wired up. npm install && npm run dev and you have a running agent server, not a half-finished template to wire up yourself.
  • A real Admin UI, not just logs. Open /agents/config in a browser to see and edit a live agent: its resolved config, permission rules, skills, tool connections, and secrets — no redeploy to change a rule or add a skill. See Admin UI below.
  • Human-in-the-loop, wired for real notification channels. A risky tool call or a genuinely ambiguous question routes to a human — live in a chat session, or durably via Slack, Lark, email, a generic webhook, or a polling queue, resumable minutes or days later. See Human in the loop below.
  • Sessions persist automatically. Send a message, get a reply, come back later with the same session id and continue — no database to wire up yourself, and it survives a crash mid-turn cleanly.
  • An ability system for reusable capabilities. Install a bundle of tools, a skill, and the permission rules that gate them with one command — real, reviewable files in your own repo, not an opaque dependency. See Ability system below.
  • Does real work, safely. Tools can hit a database, send emails, call GitHub/Slack, anything with an execute function. Permission rules gate what happens without a human: safe reads auto-run, risky actions get approval or are denied outright.
  • Multi-tenant and composable out of the box. The same deployed agent serves different customers with different permission levels, no forking required — and one agent's folder drops under another's subagents/ to become a tool the parent can delegate to, own tools/rules/loop intact.

So the payoff: you write one AgentConfig, and get a deployable, persistent, permission-safe service — not just a prompt-and-response demo.

Quick start

npx create-loopengine@latest my-agents
cd my-agents
npm install
cp .env.example .env   # fill in ANTHROPIC_API_KEY
npm run dev             # HTTP server on :8787 — same as `npx loopengine dev`

This scaffolds a standalone project — its own repo, with loopengine as a dependency, a starter agent, and CLI + HTTP adapters already wired up. That's the intended way to use LoopEngine: an independent project you own and build agents in, not a library you import into an existing app.

Define your first agent
npx loopengine add-agent weather-agent
# -> Created agents/weather-agent/index.ts

That's the fastest way to start: it generates agents/<name>/index.ts with a working AgentConfig stub, so you don't have to memorize the folder shape by hand. Or write it yourself — an agent is just an AgentConfig: name, systemPrompt, tools, rules, and a model. Drop it in a folder under agents/ — agents/<name>/index.ts — and it's picked up automatically, no registry to edit, no import to add.

Most fields don't even need to be written out — they default to a conventional path under the agent's own folder:

Field Defaults to
rules agents/<name>/actauth.yml (missing → deny everything)
tools agents/<name>/tools/index.ts's exported tools (missing → no tools)
skillsDirs agents/<name>/skills (missing → no skills)

There's no subagents field to omit — agents/<name>/subagents/* is its own folder convention (drop another agent's folder there and it becomes one of this agent's tools automatically), always merged into tools on top of whatever the table above resolves to.

rules is how you gate what a tool can do without approval — each rule maps a scope (tenant/environment) + tool name to allow/ask/deny, with an ask decision routing to a human — see Human in the loop below.

The simplest possible agent, agents/weather-agent/index.ts — tools, rules, and skillsDirs all omitted, so they default to agents/weather-agent/tools/, actauth.yml, and skills/:

import type { AgentConfig } from '../../agent-config.js'

export const config: AgentConfig = {
  name: 'weather-agent',
  systemPrompt: 'You answer questions about the weather.',
  model: { provider: 'anthropic', model: 'claude-sonnet-5-5' }, // reads ANTHROPIC_API_KEY
}

See agents/customer-service/ and agents/file-agent/ for complete, working examples.

Admin UI

Run the HTTP adapter and open http://localhost:8787/agents — one console for every registered agent: a sidebar of agents (with a badge when one still needs a setting), and for each agent a set of tabs. No code changes or redeploy needed for most of it:

Tab What you can do
Chat Talk to the agent, approve or deny tool calls as they come up, and follow each step (model calls, tool calls, permission checks) in the Run trace. Past conversations are under History.
Overview A card per tab (tools, permissions, skills, settings), plus the system prompt, model, hooks and limits, each editable in place.
Abilities Install, upgrade, and uninstall abilities (see Ability system).
Tools Your hand-written tools, tools from integrations (e.g. Composio) and subagents, with whether each call runs on its own, asks first, or is denied. Build an HTTP tool or connect an integration without touching a file.
Skills Create, edit, and delete SKILL.md files for this agent directly in the browser — write the body, preview the rendered markdown, save.
Permissions Add, edit, and delete permission rules (actauth) — who, tool, decision — and choose what happens when no rule matches.
Schedules One of the agent's workflows (with values for its parameters), or a custom message, run on a timer — once at a set time, or every N minutes/hours/days. A workflow schedule starts each run with the workflow's start message and steps as they are then. Run now, pause, resume, cancel, see each run's result, and optionally send results through the agent's notifier.
Environment Every setting an installed ability reads, with its project-wide value and this agent's own value side by side, and which one the agent actually uses. A secret is never shown again once set.

Models and Integrations in the sidebar show which model providers have a key set and which outside tool sources are connected. Tabs deep-link: /agents/config?agent=<name>&tab=tools, /playground?agent=<name> for Chat.

Every tab is backed by a real API (GET /agents/:name/config, .../actauth, .../env, ...) that reuses the exact same resolution runAgent() itself uses — so what you see here can't drift out of sync with what a real request actually gets, and never returns a model API key.

Human in the loop

A risky tool call (actauth's ask decision) or a genuinely ambiguous question the model itself raises both need a human — and LoopEngine handles both the same way, live or durable:

  • Live — someone's actively watching right now (a terminal, an open chat session). The turn just waits; cli/http_stream get this automatically, with nothing to configure.
  • Durable — nobody's watching (a webhook-triggered run, a ticket that came in overnight). The turn ends immediately with a resumable pending state, and a real notification goes out on whichever channel you've configured — resolvable minutes or days later without holding any process open in between.

Six channels ship as real, working notifiers — configure one and the "send a notification" side is done for you:

Channel What it does
webhook Signed HMAC-SHA256 POST to any URL you own
slack An interactive message via chat.postMessage, with Approve/Deny buttons
lark A Lark/Feishu interactive card
email An email per decision, through your own sendEmail: with signed, expiring magic links to your endpoints, or a link to this server's decision page
database Writes a row for your own worker/dashboard to poll
redis Pushes a queue entry for your own worker to consume
export const config: AgentConfig = {
  // ...
  httpNotifier: {
    channel: 'slack',
    config: { botToken: process.env.SLACK_BOT_TOKEN!, channelId: process.env.SLACK_CHANNEL_ID! },
    events: ['approval', 'question'],
  },
}

Or skip the code: in the console, the agent's Messaging tab sets a webhook, Slack, Lark or email target for one agent (email sends through Resend, SendGrid or Postmark with your API key, each email linking to the decision page) (saved to agents/<name>/messaging.yml, with its secret in the agent's own .env; an older notifier.yml is still read), sends a test and shows recent deliveries. With Slack, people can also reply in a request's thread to ask the agent about it, and it answers there (Answer replies in a request's thread, on by default). Approvers, picked from the channel's members, can also decide a request by replying ("yes, go ahead", "no", or the answer to a question); a separate model call reads only their own message to tell whether it's a decision, and anything unclear is treated as a question. An approver can also change a request first ("make it $40"): the change is checked against the tool's schema and the permission rules and shown with Approve as changed / Keep original / Deny, and nothing runs until they approve it. A plain "yes" ("approve", "go ahead", "好的", "はい", "sí", 👍…: the whole message, matched against a fixed list of phrases in common languages, not by a model) runs it; any other reply read as approval ("sure, send it", "yes but check the amount") shows exactly what will run with a Confirm button, and only that click runs it. Arguments are shown as labelled fields, with long text such as an email body quoted, not as JSON. Once approvers are listed, only their button clicks count too. The same tab lists every decision still waiting with Approve/Deny buttons (its count shows on the tab), and warns you when an agent has ask rules but nobody would be told.

Not sure what to automate? The console's Find your first agent (/interview, linked from the sidebar and the Agents page) is a short interview about your work, in any language. It suggests up to three agents worth building, ranked by the time they'd save, and creates the one you pick: its instructions, permissions where every tool asks you first, and a paused schedule if it runs on a timer, plus a checklist of what's left to connect. The interviewer runs on the model of one of your agents, can't see your systems, and creates nothing until you click.

Or skip the interview: Templates (/templates, linked from the sidebar and the Agents page) are ready-made agents: answer customer emails, refund approvals, triage incidents, check expense claims, lead follow-up, inbox to tasks, and a weekly research digest. Preview one's instructions and setup checklist, then create it the same way, as many times as you like. Templates live in core/system-agents/templates.ts, in the same shape the interview suggests.

Every notification links to a decision page: a signed, single-use link (/decide/<token>, valid 7 days) where whoever got the message can approve, deny, edit the arguments or answer a question, with no login and no app of your own. So the quickest setup is Slack: create the Slack app from the manifest the console shows, paste its bot token, pick a channel from the list, save; each approval arrives with an "Open to approve or deny" link. Add the app's signing secret too and the message also gets Approve/Deny buttons, handled by LoopEngine itself at /hooks/slack/<agent>, with no handler to deploy. Lark cards carry the same link. Links and buttons need the server to be reachable from where people click (a public HTTPS address or a tunnel).

For a third-party app calling an agent over plain HTTP:

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 loopengine

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

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