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

leerness

Latest version: v2.0.0

Overview

Last scanned
9 Nov 2026
Published
9 Nov 2026
npm package Publisher: leerness
65 Versions
2.3K Downloads

Scan summary

leerness was last scanned on 9 Nov 2026 at version 2.0.0. Risk score 41 of 100 (medium). High-severity rules fired.

  • Releases: 65 versions; the latest was published on 9 Nov 2026.
  • Findings: 3 rules fired in version 2.0.0 (2 high, 1 low). The score describes this version only.
  • Downloads: 2,328 downloads.

Versions

65 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.0 LATEST 9 Nov 2026 3 rules fired
1.36.305 16 Oct 2026 2 rules fired
1.36.304 16 Oct 2026 2 rules fired
1.36.303 15 Oct 2026 Not shown
1.36.302 14 Oct 2026 Not shown

Rules fired in 2.0.0: 3

Findings

2 High 1 Low

Findings for v2.0.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.

Secret read next to a detached background process

The same file reads a registry, cloud or CI secret from the environment and starts a detached process that keeps running after the parent exits. The scanner does not check that the secret is passed to that process. A background process that outlives the package does not normally need the package's credentials.

HIGH

Several suspicious behaviors form a known attack pattern

HIGH

Obfuscated JavaScript

LOW
Checking access…

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

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

README

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

leerness

2.0.0 major transition: ordinary handoff reads do not record a session, default JSON may omit diagnostics, and doctor.healthy can be null. Existing 1.x consumers must follow the consumer transition guide and 2.0.0 release notes. A candidate or source version does not establish publication; verify the approved artifact and registry version using the install/update/rollback guide.

██╗     ███████╗███████╗██████╗ ███╗   ██╗███████╗███████╗
██║     ██╔════╝██╔════╝██╔══██╗████╗  ██║██╔════╝██╔════╝
██║     █████╗  █████╗  ██████╔╝██╔██╗ ██║█████╗  ███████╗
██║     ██╔══╝  ██╔══╝  ██╔══██╗██║╚██╗██║██╔══╝  ╚════██║
███████╗███████╗███████╗██║  ██║██║ ╚████║███████╗███████║
╚══════╝╚══════╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝

The AI-coding operations layer that makes "done" require evidence — for any language, any AI agent. leerness does not write code. It gives your AI agent persistent memory, verified completion, and clean handoffs — stored inside your repo as plain files, exposed via CLI + MCP.

npm · MCP tools · 0 runtime deps · 0 install scripts · offline-first · Node ≥ 18 · MIT

🇰🇷 한국어 전문: README.ko.md

2.0.0 is an unreleased candidate. The public release observed on 2026-11-08 was 1.36.305. A source version or local tarball does not establish publication or release approval. Existing 1.36.305 users do not need to install this candidate.

The candidate changes observable 1.x contracts: ordinary handoff reads no longer record sessions or run environment diagnostics, default JSON can omit diagnostics, and doctor.healthy can be null. Read the 2.0.0 changes, upgrade and rollback notes before updating hooks or JSON consumers. Installing a package does not by itself update project instructions or restore project data.


검수 batch의 명시적 로컬 저장 API: 소유권 세대·스냅샷·CAS·복구. 자동 검수/승인과 runtime 전환은 별도 단계입니다.

한국어 설명을 유지하며 새 하네스를 영어로 작성하려면 선택형 작성 언어를 설정할 수 있습니다. 기존 기록은 자동 번역하지 않습니다.

작업자·검수자의 반복 읽기를 줄이는 컨텍스트 읽기 범위는 현재 규칙과 담당 작업을 재사용하도록 안내합니다. 실제 소스·검증 근거 확인은 유지하며, 기존 프로젝트에는 하네스 업데이트가 필요합니다.

개발 중인 CTX-02B는 .leerness/archive/history/index.json으로 보존 task의 ID·상태·원본 digest를 색인해 전체 집계와 ID 예약을 유지하고, 정확한 task 조회·검증·검색 때만 보존 원문을 확인합니다. 보관 적용·복원·자동 정리는 아직 활성화하지 않습니다.

Try it in 30 seconds

Unpinned npx resolves the published package, observed here as 1.36.305; it does not install this unreleased candidate. Recording and diagnostic behavior depends on that selected version.

npx -y leerness init . --yes   # adds .leerness/ memory + guard files to your project
npx leerness handoff .         # read context; see version-specific recording behavior below

In this 2.0 candidate, ordinary handoff, handoff --compact and handoff --json read stored context without session or freshness writes, environment/provider inventories, or automatic workspace migration. This applies on the first read without a Leerness cache too; it is not a timing guarantee. Use handoff --record when presence or a freshness receipt is required, handoff --inspect for diagnostics, and handoff --writeback only when automation explicitly needs legacy state updates. --no-record suppresses recording. A session that has only read is invisible to other sessions, so an empty session list does not prove nobody else is working. See the exact flag effects and read limits.

For an existing project using .harness/, ordinary observation commands leave it in place; a stateful command can still trigger the legacy workspace transition. Inspect an isolated project copy first with leerness migrate-workspace-dir <project-copy> --dry-run; omit --dry-run only for an explicitly chosen migration. The migration retains the legacy tree in ignored .leerness-backup/ after canonical copies and hashes verify, preserves an existing structured-state substrate, remaps old observability runs, and rewrites operational path references. It refuses independently live conflicting state, an existing backup destination, or escaping links/junctions. Retain hidden files, untracked originals and all existing backups; Git alone may not contain them. Follow the upgrade and recovery procedure.

For Cursor, npx leerness adapter cursor --path . preserves existing project hooks and generates a local sessionStart bridge that maps the host's session address to LEERNESS_SESSION_ID. Verify hook execution and rule applicability in the actual installed editor before relying on them. If the host supplies no session identity, provide one explicitly; in the 2.0 candidate, request handoff --record when a receipt is required.

Your project now has agent-independent memory. To see the flagship feature — catching a false "done" claim:

npx leerness task add "Implement payment API"   # prints the new id, e.g. T-0002 — use it below
npx leerness task update T-0002 --status done --evidence "payment.js implemented + tested"
npx leerness verify-claim T-0002   # exit 1 — payment.js does not exist. Claim rejected.

Now write the implementation and record evidence, then run the same verify-claim T-0002 again. A successful check means the applicable evidence checks passed; creating a file alone does not prove that the payment API works.

Tip: test counts are static declaration-pattern heuristics, not execution or coverage proof. Add --run-tests --test-cmd "<your trusted test command>" --json to check the selected command's exit status and supported reporter output. evidenceLevel: "executed" includes failed runs; inspect ok, reasons, and run together. semanticVerified remains false. See verification evidence and runnable examples for skipped runs, unparsed output, and reporting limits.

Want a smaller footprint? leerness init . --minimal installs only the core memory + verification files instead of the full set.


No terminal? Let your AI run it

You never have to type a command yourself. Paste this into Claude Code, Cursor, Codex, or any coding agent:

Set up leerness in this project by running npx -y leerness init . --yes. Follow my existing project rules and use the host agent's planning and test tools. Read leerness handoff . when project context is needed, select verification commands for the work's actual acceptance criteria, and use leerness session close . when a handoff needs recording. Keep my custom instructions and backups.

The agent installs and operates it for you. In this candidate, newly generated AGENTS/CLAUDE/Cursor/Copilot guidance makes Leerness tools optional unless an actual owner or project policy requires them. Retained custom text and existing rules remain authoritative. Existing instructions need an explicit, rehearsed project migration; external editor applicability needs its own check.

Prefer pure natural language? leerness ships an MCP server with 104 tools (leerness mcp serve). Connect it once to Claude Desktop / Claude Code and just ask: "what was I working on?", "did the AI actually finish T-0001?"

Explicit-input rule applicability advisory: rule assess and leerness_rule_assess. This does not change existing rules or gates.

Unpublished development interface: memory-migration inspect and its MCP tool inspect and recheck bounded legacy migration candidates without writing files.

Unpublished development interface: explicit memory migration retains original Markdown before CLI prepare, apply and rollback steps. Each write command requires --confirm.

Unpublished development behavior: memory item admission rejects unsupported writer items before duplicate checks or publication, preserving original domain files on rejection.

Optional memory command policies apply explicit resource limits to CLI/MCP decision and lesson writes before candidate serialization. Operating defaults remain unchanged.

Unpublished development API: memory candidate budgets measure caller-supplied JSON against explicit limits without enabling writer limits or granting write permission.

Unpublished development API: memory footprint observation checks bounded file bytes and recovery metadata without exporting content or enabling writer limits.

Unpublished development interface: review-snapshot candidate|compare --stdin and leerness_review_snapshot compare caller-supplied snapshot bindings without source inspection, persistence, model calls or review approval.


Claude and Codex already have memory. Why leerness?

Built-in harnesses remember what the AI said. leerness verifies what the AI did — and keeps working when you switch agents.

Built-in (CLAUDE.md, agent memory) leerness
Memory per-agent, free-form notes structured tasks / decisions / lessons / rules — agent-independent files in your repo
"Done" claims trusted as written evidence-gated: claimed files, test counts, and run output are checked against reality — bluffs exit 1
Switching agents (Claude → Codex → Cursor) context lost same .leerness/ state, same one-call handoff
Secrets · encoding · drift guards none scan secrets · encoding check · drift check --auto-fix — CI-ready
Lock-in one vendor any agent, any language, 0 runtime dependencies

Role-first model routing and fallback

Roles remain stable while providers and models are replaceable execution resources. Configure a role with a primary executor, ordered candidates, and a fallback policy, then resolve the current task against separate installation, opt-in, authentication, entitlement, quota, reachability, and policy signals:

leerness roles set coder --provider codex --model gpt-model-id \
  --candidate claude:claude-model-id --policy balanced
leerness roles validate --json
leerness agents resolve "implement the API" --role coder --json
leerness agents fallback provider "implement the API" --role coder \
  --provider claude --model claude-model-id --approved-by owner --json
leerness agents history --json

Resolution never silently executes a fallback. Each applied choice is bound to the role-store and availability revisions it inspected. High-risk substitutions require a visible approver, lowering detected high risk requires both --approved-by and --reason, and high-risk review is selectable only when different families can be inferred from concrete model IDs. dispatch and fallback normally prepare or record a choice with executed:false. Role-free agents multi --execute and agents bench can spawn opted-in external CLIs and record their outcomes; both reject --role because provider-default fan-out cannot prove one role/model contract.


Make it enforced, not optional

Before changing a multi-agent project's storage, inspect its actual workspace and proposed Git-private/common scopes with leerness state inspect . --json. It is read-only: no data migration, runtime activation, or provider calls. See the state inspection API and the staged architecture plan.

leerness state compatibility . --json separately checks whether the observed runtime layout permits this client's legacy writes. It creates no state and exposes bounded failure reasons. This is a pre-migration compatibility guard, not a migration or a way to stop older clients. See the compatibility API and limits.

By default leerness is cooperative: your AI agent runs the commands because CLAUDE.md / AGENTS.md tell it to. A determined agent could skip them. To turn the guideline into a guardrail:

leerness ci init          # writes .github/workflows/leerness-gate.yml — runs `leerness gate` on every PR

The generated workflow is production-grade: it pins the leerness version (reproducible — the gate's verdict can't change from a silent upgrade), runs with least-privilege permissions (contents: read), and cancels superseded runs.

Then make that check required in GitHub branch protection. Now a PR that skips verification (or whose claims fail) cannot merge — the gate runs independently of the agent, returns a non-zero exit code, and blocks. That is the difference between a guideline and a guardrail. For exact per-claim enforcement, run leerness gate --claims — it adds a 6th check that runs verify-claim on every completed task and fails the gate if any "done" task's evidence doesn't match reality (the default 5-check gate already blocks false-done via heuristics; --claims makes it precise). A task is a completed claim when its tracker status is exactly done, completed, verified or 완료 (any case, also in brackets as older trackers wrote it, [완료]); unverified, not-done or 미완료 are not.

For a mature repository that predates strict claim verification, do not rewrite historical evidence merely to make the gate green. Create an explicit, reviewed debt boundary instead:

leerness verify-claim baseline create --before T-0123 --yes
leerness verify-claim --all          # applies exact-match legacy debt policy
leerness verify-claim --all --raw    # ignores the baseline and audits raw verdicts

The baseline stores no replacement evidence. It accepts only failures before the named tracker row whose complete row and failure reasons still match their SHA-256 fingerprint. A changed legacy row, a newly failing task, an entry at/after the boundary, or a corrupt baseline fails closed. verify-claim <T-ID> always remains raw for focused audits. Creation is one-shot: the CLI refuses to recalculate or overwrite an existing baseline, so a changed historical row cannot be relaundered by rerunning the command. The tracked .leerness/claims-baseline.json is repository policy, not a signature against a malicious repository writer: protect any removal or replacement with ordinary branch review and CODEOWNERS when the threat model requires that separation.

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 leerness

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229