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

tnega

Latest version: v0.5.8-beta.1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: whale4rain
3 Stars
0 Forks
42 Versions
3.1K Downloads
TypeScript Repo language

Scan summary

tnega was last scanned on 23 Nov 2026 at version 0.5.8-beta.1. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 42 versions; the latest was published on 23 Nov 2026.
  • Findings: 1 rule fired in version 0.5.8-beta.1 (3 instances: 3 high). The score describes this version only.
  • Downloads: 3,106 downloads.

Versions

42 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.8-beta.1 LATEST 23 Nov 2026 1 rule fired
0.5.7 12 Nov 2026 1 rule fired
0.5.6 3 Nov 2026 No rules fired
0.5.6-beta.2 31 Oct 2026 Not shown
0.5.6-beta.1 27 Oct 2026 Not shown

Rules fired in 0.5.8-beta.1: 1

Findings

3 High

Findings for v0.5.8-beta.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.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

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

The score describes 0.5.8-beta.1; other versions have their own rules, not their own score.

README

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

Why Tnega

  • Everything in one window. The conversation sits beside a Workbench with your files, Git changes, terminals and a browser the agent can drive, so you review its work where it happens.
  • Projects that work like a team. Give a project a goal and talk to it like a group chat. A coordinator routes each ask into its own Thread, and each Thread works in its own Git worktree and hands back a short report or a pull request.
  • Bring your own model. Any OpenAI-compatible or Anthropic Messages route, such as DeepSeek, OpenAI, Anthropic or a local server, chosen per session with its thinking level.
  • Safe by default. Shell writes run in a local sandbox on Linux, macOS and Windows, and Tnega refuses to run restricted commands when no sandbox is available. Approvals can ask you, or let a reviewer model decide and ask you when it is unsure.
  • Your data stays local. Sessions are plain JSONL event logs under ~/.tnega. Nothing leaves your machine except the model requests you configure and the network tools you turn on.

What you can do

Code. Coding agents with Auto, Plan and long-running Goal modes, workspace search, file tools, @ file mentions, slash commands, skills and MCP servers.

Work with documents. Create and edit DOCX, XLSX and PPTX, with themes, tables and native charts. Generated files open as previews you can zoom and download.

Run projects. The Board says in a sentence what needs you and what is ready, with cards for Threads, outputs and pull requests. You can reply to any Thread directly; the coordinator's notes to a Thread fold into its chat.

Review and browse. Files with syntax highlighting and safe saves, unified or side-by-side diffs, terminals that survive tab switches, and an agent browser with tabs, screenshots, console and network views and an element picker.

Keep long tasks moving. Background jobs show progress and can be stopped. The agent can ask you a question and wait, or carry on while you decide. After a crash or restart, sessions and Threads continue where they stopped.

Light, dark and system themes come in five palettes: Carbon, a calm neutral grey (the default), Sky, Sand, Forest and Graphite. Density, text size and conversation width are adjustable. A small weather language shows what each agent is doing at a glance.

Install

Desktop

Download the installer for your system from Releases:

System File
Windows Tnega-Setup-<version>.exe
macOS, Apple silicon / Intel Tnega-<version>-arm64.dmg / Tnega-<version>-x64.dmg
Linux Tnega-<version>-x86_64.AppImage or Tnega-<version>-amd64.deb

Open it, then add your model and API key in Settings. Windows and Linux update themselves. The macOS app is not signed with an Apple Developer ID: the first time, allow it under System Settings → Privacy & Security → Open Anyway, and later updates show Download instead of installing in place.

npm (Web UI and terminal)

Requires Node.js 22.19 or later.

npm install -g tnega
tnega web          # then open http://127.0.0.1:3080 and set your model in Settings

The terminal client

Run tnega in the folder you want the agent to work on. It opens the terminal client, which shares sessions with the Web and desktop apps.

tnega                  # start a session here (same as tnega tui)
tnega tui --continue   # reopen the latest session in this folder
tnega --help           # every command and option

Replies stream in with folded tool steps, / and @file completion, tool approvals, diffs and the model picker. Press ? on an empty prompt to see every key. While the agent works, Enter queues your next message for after the run, Tab steers the agent with it right away, and Esc stops it. A small weather strip in the status line shows what it is doing. Projects open in the Web app with /web. The TUI README lists the keys and commands.

To run a single task without any interface:

export TNEGA_API_KEY=your-api-key
tnega run "Reply with: hello"
tnega run --allow-shell "list the files here"   # shell tools are opt-in

On PowerShell, set the key with $env:TNEGA_API_KEY = 'your-api-key'. The CLI guide covers model routes, environment variables and flags.

Learn more

  • Using Tnega: sessions, models, permissions and the sandbox, where data lives, skills and desktop updates.
  • Projects: how the coordinator, Threads, Memory and the Library fit together.
  • Design guide: the interface rules, colours and the weather language.
  • Architecture decisions: persistence, sandboxing, approval, CodeMode and the browser.

Build on the harness

The npm package is also a TypeScript library. Tnega's core is a composable Agent Harness: scoped plugins connect the model, tools and durable Sessions, and disposing a plugin reverses everything it registered. Capabilities such as search, sandbox and browser are seams: a service definition with swappable providers and consumers.

Start with core, agent, CLI and runtime and the domain vocabulary.

Develop

pnpm install
pnpm tnega web --port 3080        # runtime and Web server
pnpm --filter @tnega/web dev      # Web UI with hot reload
pnpm tnega tui                    # terminal client from source

Run the checks your change needs: pnpm test, pnpm typecheck, pnpm lint and pnpm build. Contributor rules are in AGENTS.md, and desktop work lives in apps/desktop. Feature PRs leave CHANGELOG.md alone; the release-prep PR writes it. Releases are cut by pushing a version tag, see docs/publish.

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 tnega

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

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