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

@moralec/tinycode

Latest version: v1.1.0

Overview

Last scanned
13 Nov 2026
Published
13 Nov 2026
npm package Publisher: moralec
2 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

@moralec/tinycode was last scanned on 13 Nov 2026 at version 1.1.0. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 2 versions, all published on 13 Nov 2026.
  • Findings: 1 rule fired in version 1.1.0 (1 high). The score describes this version only.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 13 Nov 2026 1 rule fired
0.0.0-stage 13 Nov 2026 Not shown

Rules fired in 1.1.0: 1

Findings

1 High

Findings for v1.1.0. 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 1 finding with descriptions and instance counts

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

README

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

Preview — v1.1.0. Works, but rough edges remain; see Known issues. Feedback welcome via GitHub issues.

New here? Start here: install, first run, and the same task with plain Pi and with tinyCode.

Why

On a local GPU the context window is the real limit. The KV cache grows with it and competes with the model for memory, so a 16 GB card running a good model often has 16k of context to spare, not 128k. Coding agents fill that window fast: every file read, test run and edit stays in the conversation and is sent again on every call. At 16k, plain Pi regularly stops mid-task with the window full.

What

tinyCode sits under Pi and keeps the window small, without changing how you work:

  • Old output is hidden once it is no longer needed, while the files you are working on stay visible.
  • Save, clean, continue. At natural milestones (the tests reach a new best, or an edit is confirmed by a test run), code writes a short note of where the work stands (tests passing, files touched, what still fails) and the history before it is replaced by that note. No model call is needed, and the full history stays in Pi's log.
  • The best state is kept. The best test result reached is saved, so a run never ends below it.

It also takes over the two jobs it does faster than Pi on its own:

  • Fixing failing tests: one quick, narrow try first; if that doesn't pass, Pi's own loop takes over.
  • Writing tests: tests that must pass on today's code.

Everything else (questions, edits, new code, reviews) goes to Pi exactly as without tinyCode. The other workflows are there as explicit commands (/explain, /doc, /review, …) but are not used automatically yet: in our tests they were not better than plain Pi.

What tinyCode does: eight capabilities

  1. Every call fits the window. Code builds each call's context, and old tool output is masked rather than kept. Plain Pi ran out of window 8 times in our last two rounds; tinyCode never did.
  2. Fast on your machine. The prompt and tool list stay stable, so the server reuses what it has already read, and long runs don't slow down with every call.
  3. Takes the shortest path. Say what you want in plain words; tinyCode picks the workflow and tries the cheapest fix first. On connect it finished in 30 s where plain Pi ran out of room.
  4. Edits that land. Edits that are slightly off still apply, and a repeated marker line is read once.
  5. Never loses your best work. You end with the best version tinyCode reached, not the last one.
  6. Checks by running, not by believing. "Fixed" means a failing test now passes, run by code, in Python and in TypeScript/JavaScript.
  7. Gets unstuck. When a run stops improving, tinyCode changes course instead of repeating itself.
  8. From idea to app. /plan reads the files it will change before the plan is final: 12 of 15 good plans against 9 of 15.

Every mechanism behind these, with its status and evidence: capabilities (also as a PDF).

Results

Plain Pi against Pi + tinyCode on five public Python exercises, with a 16k window, three unattended runs per task and side, and a 10-minute cap per run:

Card Model Pi alone Pi + tinyCode
16 GB (Tesla T4) gpt-oss-20b 3 of 15 8 of 15
16 GB (Tesla T4) Qwen3.6-35B-A3B 4 of 15 10 of 15
  • Where plain Pi runs out of room, tinyCode finishes. connect is the clearest case.
  • When both finish, plain Pi is often faster: on paasio, about 50 s against 200 to 380 s.
  • Some tasks stay hard for both at this size: bowling and sgf-parsing.
  • Small models on 8 GB are not there yet.

Every run, per model: docs/results.md. Six newer tasks told as stories, with what plain Pi and tinyCode each did: See the difference.

Installation

You need a 16 GB GPU (or 24 GB or more of unified memory), a local model server such as llama.cpp's llama-server, and git. On macOS and Linux:

git clone https://github.com/moralec/tinyCode && cd tinyCode
sh install.sh --trunk-context 16384 --small-context 16384

New here? Start here: which model to run, starting the server, Windows, a first run, and the same task with and without tinyCode.

Roadmap

v1.1 covers every developer task at 16k and up (the 8k target was dropped), v1.2 aims at bugs described in words, and v1.3 at handing jobs to your local machine from another agent: ROADMAP.md.

Changelog

Latest: v1.1.0. Fixes, /plan reviews its plan by default, and the acceptance check is removed. Every release is in CHANGELOG.md.

Known issues (v1.1.0)

  1. Runs vary: the same task can pass in 30 s or hit the 10-minute cap. Steadier runs are on the roadmap.
  2. /build finishes only the first task of a plan on its own; the model completes the rest by hand.
  3. The router sends some requests to the wrong workflow: a symptom-only bug report, a rename, and questions about the project's own code (which never go to /research).
  4. Small models on 8 GB cards don't benefit yet; see the results.
  5. install.ps1 is untested on real Windows.
  6. The results above are from v1.0 (docs/results.md). A full baseline of plain Pi against tinyCode on the new 49-task benchmark comes next.

Licence

Apache-2.0. tinyCode builds on Pi (MIT) and borrows ideas from little-coder (Apache-2.0); credits are in NOTICE.

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 @moralec/tinycode

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

Vulnerability Insights

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

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?

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