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

tunestra

Latest version: v0.9.0

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: ownger
0 Stars
0 Forks
12 Versions
1.8K Downloads
TypeScript Repo language

Scan summary

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

  • Releases: 12 versions; the latest 3 were published within 4 days (24–27 Nov 2026).
  • Findings: No rules fired in version 0.9.0.
  • Downloads: 1,778 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.0 LATEST 27 Nov 2026 No rules fired
0.8.1 26 Nov 2026 No rules fired
0.8.0 24 Nov 2026 No rules fired
0.7.0 17 Nov 2026 Not shown
0.5.0 13 Nov 2026 Not shown

No rules fired in 0.9.0

Findings

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

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

README

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

tunestra

CI npm Node License: MIT

Tune your AI agents to play as one orchestra.

[!WARNING] Early version. tunestra supports Claude Code, Codex and Cursor. The formats may still change before v1.0.

tunestra gives Claude Code, Codex, Cursor and other AI coding agents one shared source of rules, skills, commands, MCP servers, environment variables and permissions, and generates each agent's native configuration from it.

The source is a chain of presets, from general to specific:

base      — your organization: security, general principles, shared tools
  ↓ extends
team      — your team: conventions, stack, team skills
  ↓ extends
project   — this repository: architecture, domain model, project skills

More specific levels override general ones by artifact key or exclude them. Agents receive the result from specific to general: when two instructions conflict, the more specific one wins.

Quick start

npx tunestra init --extends github:<organisation_name>/<presets_repo>/team#v1
npx tunestra setup    # generates AGENTS.md and the configuration of every agent

init creates tunestra.yaml:

extends:
  - github:<organisation_name>/<presets_repo>/team#v1
agents: [claude]            # add more: [claude, codex, cursor]

Commit tunestra.yaml, .tunestra/, AGENTS.md, CLAUDE.md, tunestra.lock.yaml with the commits of git presets and, when presets set env or permissions, .claude/settings.json. Everything else that tunestra generates is listed in .gitignore automatically.

Principles

  1. Sources are the only truth. Presets and .tunestra/ are edited by people. Everything tunestra writes for agents is generated.
  2. Generated files are never edited by hand. Every tunestra setup rebuilds them from scratch. A manual edit is overwritten with a warning that tells you which source to change.
  3. Open standards first. Rules follow AGENTS.md, skills follow Agent Skills (SKILL.md), MCP servers use the .mcp.json shape.

Presets

A preset is a directory with a fixed layout. Artifacts are collected from the folders; the manifest only holds metadata and overrides.

<preset>/
  tunestra.preset.yaml      # manifest
  AGENTS.md                 # optional: main instructions of this level
  rules/<key>.md            # rules, one topic per file
  skills/<key>/SKILL.md     # skills (Agent Skills format)
  commands/<key>.md         # slash commands
  agents/<key>.md           # subagents
  mcp/<key>.yaml            # MCP servers

A subagent is a markdown file with frontmatter; the text after it is the instructions:

---
description: Reviews a diff for bugs and missing tests   # required: when to use it
model:                      # optional: the model for each agent
  claude: sonnet            #   otherwise the agent uses the model of the main session
  codex: gpt-5.5
effort: medium              # optional: low | medium | high | xhigh
readOnly: true              # optional: the subagent must not change files
---
Review the diff. Report each finding with a file and a line.

The file name is the name of the subagent: lowercase letters, digits and single hyphens.

Manifest: tunestra.preset.yaml
name: team                  # required, unique in the chain
level: team                 # required: base | domain | team | local
description: Frontend team conventions
extends:                    # optional, from general to specific
  - ../base
exclude:                    # optional: drop inherited artifacts by key
  skills: [code-review]
overrides:                  # optional: patch inherited MCP servers
  mcp:
    tracker:
      env:
        QUEUE: TEAM
env:                        # optional: environment variables of the agents
  MCP_TIMEOUT: 120000
permissions:                # optional: rules in the syntax of Claude Code
  allow: [Bash(npm test *)]
  ask: [Bash(git push *)]
  deny: [Read(./.env), Bash(rm -rf *)]
Project: tunestra.yaml

The project is the most specific level. Its artifacts live in .tunestra/ with the same layout as a preset.

name: my-service            # optional, defaults to the directory name
extends:
  - ../presets/team
agents: [claude, codex]     # claude, codex, cursor; defaults to [claude]
exclude: {}
overrides: {}
Personal level: tunestra.local.yaml

A developer can tune the setup for themselves with tunestra.local.yaml and .tunestra.local/ in the project; tunestra init --local creates both. tunestra always puts both in .gitignore. The personal level comes after the project, so it can add artifacts, override them by key and exclude them, like any other level.

name: local                 # optional, defaults to local
extends:                    # optional: personal presets with level: local
  - ~/presets/me
exclude:
  skills: [storybook]
env:
  HTTPS_PROXY: http://localhost:3128
permissions:
  allow: [Bash(make *)]

A personal preset has level: local in its manifest and can be shared between your projects. The personal level can extend only such presets, and no shared level can extend them.

The committed files stay the same for the whole team: AGENTS.md, CLAUDE.md and .claude/settings.json are built without the personal level. Every other generated file follows the chain with it. A personal level cannot exclude env or permissions, because Claude Code joins the personal settings with the committed ones and cannot remove a committed entry.

Agent What it gets
Claude Code CLAUDE.local.md, which it reads after CLAUDE.md: what the personal level adds, overrides and turns off. Personal env and permissions are added to .claude/settings.local.json
Codex AGENTS.override.md, which it reads instead of AGENTS.md: the whole index with the personal level
Cursor Personal rules in .cursor/rules/tunestra/, and 00-personal-setup.mdc with the same text as CLAUDE.local.md

Claude Code writes .claude/settings.local.json too, for example when you allow a command for good. tunestra remembers which entries it added and changes only those: your settings and the rules of Claude Code stay. A variable that you changed by hand is yours and stays too.

Sources
Reference Example
Relative path ../presets/team (relative to the file that references it)
Home directory ~/presets/me, for personal presets
GitHub github:<owner>/<repo>/<path>#<ref>
GitLab gitlab:<owner>/<repo>/<path>#<ref>

Pin git sources to a tag or commit. tunestra downloads the whole repository into .tunestra/state/sources/ on every setup, so a preset can extend other presets of its repository with a relative path, like ../base. A relative path cannot leave the repository. Git is not needed: repositories are downloaded as archives over HTTPS.

For a private repository, set the TUNESTRA_GIT_TOKEN environment variable to a token with read access. npm sources are planned for v0.4.

Lock file: tunestra.lock.yaml

A tag can move, and a branch moves with every commit. So the first setup writes the exact commit of every git source to tunestra.lock.yaml, and the next runs download that commit: the whole team gets the same presets until somebody moves them on purpose. Commit the file.

version: 1
sources:
  github:<organisation_name>/<presets_repo>#v1:
    commit: c9f077f0be2838d45cf7592f1f57615810b3973c
    integrity: sha256-SWhwFkGCFIRmmUgo8lLptZ35uRtzpGY0Et1qSlzaJeo=
  • integrity is a hash of every file in the repository at that commit. When the files differ, setup stops.
  • A new source in extends is added to the file, and a source that no preset extends is removed from it. setup says so in a note.
  • tunestra update moves every source to the latest commit of its ref, and tunestra update github:<organisation_name>/<presets_repo>#v1 moves only one. For every moved source it prints a link to the changes on GitHub or GitLab: put it in the pull request of the update. --summary prints only a markdown table of the changes with these links, so it can go straight into the pull request: tunestra update --summary | gh pr create --body-file -.
  • Git sources of the personal level are not locked: the file is shared, and the personal level is not.

To find the commit, tunestra asks the API of GitHub or GitLab with the same token.

Inheritance

The chain is linearized from general to specific: every preset comes after the presets it extends. Each level is applied on top of the accumulated result.

A level can extend a more general level or a level of the same kind: a team preset can build on another team preset. When two presets extend the same preset, it joins the chain once, before both of them.

Artifact keys
Artifact Key Same key on a more specific level Remove
Rule file name without .md replaces it exclude.rules
Level instructions (AGENTS.md) instructions@<preset name> never collides: every level keeps its own exclude.rules
Skill name from SKILL.md, otherwise the folder name replaces it exclude.skills
Command file name without .md replaces it exclude.commands
Subagent file name without .md replaces it exclude.subagents
MCP server file name without .yaml replaces it exclude.mcp
Environment variable name in env replaces it exclude.env
Permission rule the rule, like Bash(npm test *) lists are joined: every level adds its rules exclude.permissions, only for allow and ask

A deny rule cannot be removed: the organization keeps a floor of what agents may never do. Agents check deny first, so a deny rule on any level wins over an allow rule.

overrides.mcp.<key> patches an inherited server instead of replacing it: env and headers are merged by key (the specific value wins); command, args and url are replaced.

Validation

tunestra setup stops with an error when:

  • a preset extends a more specific level (for example, base extends team);
  • extends contains a cycle;
  • two levels have the same name;
  • a manifest has an unknown field or a missing required field;
  • exclude or overrides refers to a key that is not inherited;
  • after a patch, an MCP server has both command and url, or neither;
  • an env value refers to another variable, like ${TOKEN}: agents do not expand it in their settings, so write the value itself and keep secrets out of presets;
  • env sets a variable that Claude Code ignores in project settings (see below);
  • exclude.permissions tries to remove a deny rule;
  • a subagent has no description or no instructions, an unknown field, or a file name that cannot be a subagent name.

All problems are reported at once, in the order of the files, so you can fix them in one pass.

What gets generated

For every agent:

Path Content Committed
AGENTS.md Index: hierarchy, rules, skills, commands, MCP servers, subagents yes
.agents/rules/<NN>-<level>-<key>.md Rule texts, ordered from specific to general no
.agents/skills/<key>/ Skills no
.tunestra/state/ What tunestra generated last time no
AGENTS.override.md, CLAUDE.local.md The personal level, when there is one no
.gitignore A block between # >>> tunestra and # <<< tunestra yes
tunestra.lock.yaml The exact commits of git sources, when there are any yes
Claude Code
Path Content Committed
CLAUDE.md @AGENTS.md yes
.claude/rules/tunestra/<NN>-<level>-<key>.md Copies of the rules; Claude Code loads them in every session no
.claude/skills/<key> Symlinks to .agents/skills/<key> no
.claude/commands/<key>.md Commands no
.claude/agents/<key>.md Subagents no
.mcp.json MCP servers no
.claude/settings.json env and permissions, when presets set them yes

.claude/settings.json is shared by the team, so tunestra writes it and you commit it. Keep your personal settings in .claude/settings.local.json or ~/.claude/settings.json. A .claude/settings.json with other keys, like hooks or model, stops setup and asks you to move them; a file with only $schema, env and permissions is replaced with a warning, for example in a fresh clone where .tunestra/state/ does not exist yet.

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 tunestra

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

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