Scan your whole stack
From OX Research Newsroom
Latest version: v0.125.1
Nika was last scanned on 25 Nov 2026 at version 0.125.1. Risk score 40 of 100 (medium). No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.125.1 LATEST | 25 Nov 2026 | 3 rules fired |
| 0.124.5 | 20 Nov 2026 | 3 rules fired |
Findings for v0.125.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.
A file contains a mass-destructive command, such as a recursive delete of the home or root directory. The scanner found no install manifest it could use for this package (such as a top-level package.json, setup.py or pyproject.toml), so it could not confirm whether this code runs automatically on install. Treat it as needing review.
MEDIUMThe score describes 0.125.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Nika turns repeatable AI work into a small file you keep. Say what you
want done, like "every Monday, pull the action items out of my meeting
notes", and Nika writes it as a readable .nika workflow. Before
anything runs, its check shows what the workflow will do, which models
and tools it uses, what it is allowed to touch and what it can cost,
without calling a model. A workflow that could read your private data,
take in untrusted content and send data out is refused until it asks a
person first. You run it when you decide, with the model you choose, on
your machine or through a provider's API, and every run leaves a
tamper-evident record you can verify. One Rust binary with a terminal
Session and a command line, plus a TypeScript SDK for your applications;
local-first and fully open source (AGPL-3.0).
| 1 · Say it | 2 · Check it | 3 · Run it | 4 · Prove it |
|---|---|---|---|
Describe the job; Nika writes a .nika file (or nika compile from a skeleton) |
nika check audits it before any model is called |
nika run with the model you choose |
nika trace verify checks the run's record |
Describe the job in plain words. Nika writes it as a .nika file, shows
you what it will do and what it can touch, and saves it only when you say
yes. Nothing runs until you ask. The clip at the top is that Session;
this is its first answer, as the plain view prints it:
nika › Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv.
✓ recorded 3 requirements
Nika proposes `compiled-workflow.nika`:
Does
1. read_source · reads a file
…
8. write_output · writes a file
Runs
when you ask (« run it ») · no schedule was asked
Can touch
external effects · none
human approval at run · none
Changes
+ `compiled-workflow.nika` · 97 lines · new
Needs
nothing more from you
Nothing has run yet · `yes` saves these exact bytes and checks them · running is its own line (« run it »)
Before anything runs, nika check reads the file and reports what it
will do, what it may touch and what it can cost. It calls no model and
spends nothing.
You run it when you decide, with the model you choose. Here a local model, through Ollama, writes a meeting's action items as typed JSON.
Every run leaves a hash-chained record. nika trace verify reads it
back, and when a single byte changes it names the line where the chain
breaks.
Runs are also signed once this machine has a run-signing key. Mint it once
with NIKA_KEYCHAIN=off nika key init: the key lands in ~/.nika/keys/
(mode 0600), where terminal runs, scripts, CI, the TypeScript SDK and
nika serve all read it, and later runs report SEALED in
nika trace verify and /proof. Without the variable, a terminal on a Linux
desktop can keep the key in the Secret Service, which only terminal runs open
(nika key align copies it to the files), and on a Mac whose keychain holds a
key from Nika 0.122 or older, nika key init refuses: 0.123.0 and later never
open the macOS keychain.
A workflow that can read your private data, take in content nobody vetted
(a web page, a tool's answer, a command's output) and send data out is one
injected instruction away from a leak. Simon Willison named this the
lethal trifecta.
nika check reads it from the permits, then follows the untrusted content
from step to step, through a model's answer and into child workflows. When
all three meet, it refuses the file until a person must say yes first.
This workflow reads a note, fetches a public page, asks a local model for a digest and posts it to Slack:
nika: page-digest
model: ollama/llama3.2:3b
permits:
fs: { read: ["./notes/today.md"] }
net: { http: ["news.ycombinator.com", "hooks.slack.com"] }
tools: ["nika:fetch", "nika:read", "nika:notify"]
tasks:
page:
invoke:
tool: "nika:fetch"
args: { url: "https://news.ycombinator.com/" }
notes:
invoke:
tool: "nika:read"
args: { path: "./notes/today.md" }
digest:
with: { page: "${{ tasks.page.output }}", notes: "${{ tasks.notes.output }}" }
infer:
prompt: "Pick the three stories that matter for my notes.\nNotes: ${{ with.notes }}\nPage: ${{ with.page }}"
max_tokens: 400
post:
with: { digest: "${{ tasks.digest.output }}" }
invoke:
tool: "nika:notify"
args: { target: "https://hooks.slack.com/services/T000/B000/XXXX", message: "${{ with.digest }}" }
The page never reaches Slack directly, only through the model's digest. The check follows it anyway and refuses the file with exit code 2:
nika check · page-digest.nika
✔ PLAN 3 waves · 4 tasks · max parallelism 2
…
✖ TRIFECTA [NIKA-SEC-009] lethal trifecta complete · human gate required — untrusted content from `page` reaches egress task `post` while private read + untrusted ingress + external egress are all permitted …
Drop any one of the three and there is nothing to refuse. To keep all three,
put a question in front of them: a nika:prompt with no default, whose
answer the fetch, the read and the post each require.
approve:
invoke:
tool: "nika:prompt"
args: { message: "Read my notes, fetch Hacker News and post a digest to Slack?" }
page:
with: { go: "${{ tasks.approve.output }}" }
when: ${{ with.go == true }}
invoke:
tool: "nika:fetch"
args: { url: "https://news.ycombinator.com/" }
With nika:prompt added to permits.tools, and the same go binding and
when: line on notes and post, the check passes with exit code 0:
✔ TRIFECTA no lethal trifecta over the declared permits: without a human gate
layers · valid ✔ · access ready ✔ · capacity fit ✔ · run ready ✔
A gate that only looks like one is refused too: a prompt with a default:
answers itself and guards nothing (NIKA-SEC-009 stays), and a step that
still runs after a "no" fails NIKA-SEC-014. At a terminal the run asks; in
CI it pauses with exit 4, as shown below. Every
verdict here was captured from nika 0.124.0.
NIKA-SEC-009 explains the
rule; Meta's Agents Rule of Two
states the same principle for agents.
nika check prices a workflow from its model's catalog price and the
output limit each step declares. Set a budget below that ceiling and the
run refuses to start: no model is called and nothing is spent.
A step can wait for a person. At your terminal it asks; in CI, where nobody can answer, the run pauses safely with exit 4 and prints the one line that resumes it.
curl -LsSf https://nika.sh/install.sh | sh
brew install nika-open/tap/nikanpm install @nika-open/nika (the nika command lands in
node_modules/.bin). The package bundles the engine of its own version:
check nika --version.docker run --rm ghcr.io/nika-open/nika:0.125.1 --version.
Mount a project to check or run its files, for example
docker run --rm -v "$PWD:/work" -w /work ghcr.io/nika-open/nika:0.125.1 check hello.nika.
Images up to 0.124.4 stay at ghcr.io/supernovae-st/nika.gh attestation verify nika-macos-arm64-0.125.1.tar.gz --repo nika-open/nika.
Releases up to 0.124.4 were built in supernovae-st/nika, and that
organization serves their attestations: verify one of them with
--owner supernovae-st --signer-repo supernovae-st/nika instead of --repo.nix profile install github:nika-open/nika/v0.125.1 builds
the release from the repository's flake. Without the tag, the flake builds
the default branch, which can be ahead of the latest release.This first job needs no AI account: Nika's deterministic compiler settles it without calling a model. Make a folder with a small spreadsheet and open the Session:
mkdir -p orders-demo/data && cd orders-demo
cat > data/orders.csv <<'EOF'
order_id,customer,status,amount
1001,Juniper Books,paid,18.00
1002,Kestrel Cafe,pending,9.50
1003,Linden Studio,paid,13.50
1004,Moss Supply,refunded,6.00
EOF
nika
At the prompt, type:
Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv.
Nika proposes a .nika file and shows what it will do, what it can touch
and the result of its check. Nothing has run yet. Type yes to save
the file, then run it. out/paid.csv gets the header and the two paid
rows, and /proof shows what the run's record proves, and what it does
not.
[!TIP] Nika works only inside the folder you start it in.
/showprints the proposal's exact bytes,/meaningmaps your request clause by clause, andnodiscards it.Ctrl+Tswitches the view to full screen and back, andnika --plaingives the same Session as plain lines. The Session guide covers questions, changes, spending ceilings and/restore.In a Git repository, the Session leaves
.gitignorealone: before you commit, add.nika/traces/(run records can hold file contents and model outputs) and the Session's own.nika/*.ndjsonand.nika/session-state.json. After a run, the Session reminds you when traces are not ignored.
Most open-ended requests need a model to write the workflow, and workflows such as summaries call a model each time they run. Nika reads provider keys from your environment, so keep yours in your shell startup file. For DeepSeek:
# in ~/.zshrc or ~/.bashrc, then open a new terminal
export DEEPSEEK_API_KEY='your-key'
The first request that needs a model shows a numbered choice: answer
2 deepseek/deepseek-flash. Nika keeps the choice for later Sessions, and
/intelligence changes it. Other API providers and local engines
(Ollama, llama.cpp, LM Studio, vLLM) work too: nika catalog lists them.
Your provider meters and bills these calls; Nika's cost figures are
catalog estimates, not invoices.
A workflow is an ordinary file. The command line compiles, checks, runs and verifies it. This offline lesson needs no provider:
nika compile hello hello.nika
nika check hello.nika
nika run hello.nika
nika trace verify
▶ Watch these four commands run, exactly as captured from the CLI.
hello always uses mock/echo, a stand-in model that echoes the prompt,
even when provider keys are present. It proves that the workflow runs, not
that a model answered. Each run records its trace under .nika/traces/,
and creating the file adds that directory to .gitignore.
nika trace verify checks the latest trace's integrity, not the truth of
an AI answer.
| You say | Nika keeps | Watch |
|---|---|---|
"Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv." |
A workflow that reads one file and writes one file. No AI model is involved. | ▶ The Session |
| "Pull the action items out of my meeting notes." | A workflow that asks a local model and writes the items as typed JSON. | ▶ A local run |
"Every Friday, turn CHANGELOG.md into release notes." |
A workflow your coding agent writes with the Nika plugin; the check catches its mistake before anything runs. | ▶ With your agent |
| "Rate the risk of each pull request." | A workflow the Nika GitHub Action checks whenever a pull request changes it: one comment carries the verdict. | ▶ In your pull requests |
A chat answer is gone when the conversation ends, and the next one can
differ. A .nika file stays: you read it, check it, run it again and
review its changes like any other file in your project.
Every clip on this page shows real files and terminal lines captured from the binary, names the release it was captured with, and says what it illustrates. The media index lists them all and how they are made.
Nika comes to the tools you already use. Your coding agent can write the file for you, and the check keeps it honest:
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.