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

@n3ziniuka5/opencode-harness-engineering

Latest version: v1.7.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: n3ziniuka5
1 Stars
0 Forks
3 Versions
378 Downloads
TypeScript Repo language

Scan summary

@n3ziniuka5/opencode-harness-engineering was last scanned on 29 Nov 2026 at version 1.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 1.7.0.
  • Downloads: 378 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.7.0 LATEST 29 Nov 2026 No rules fired
1.6.0 27 Nov 2026 No rules fired
1.5.0 25 Nov 2026 No rules fired

No rules fired in 1.7.0

Findings

Findings for v1.7.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 1.7.0; other versions have their own rules, not their own score.

README

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

OpenCode Agents for Harness Engineering

This OpenCode server plugin adds agents for exploring, answering questions, brainstorming, and drafting implementation plans. It also provides commands to set up and compact repository documentation.

What It Adds

Agent Use it for Fixed model
explore Read-only search across code, docs, and the web, with precise citations. openai/gpt-6-luna
ask Concise, evidence-backed answers and reviews. openai/gpt-6.2-sol
brainstorm Weighing practical options and tradeoffs before implementation. openai/gpt-6.2-sol
draft Writing implementation plans for human review in docs/exec-plans/active/. openai/gpt-6.2-sol

All four agents use the high reasoning variant.

Harness-Engineering Posture

The plugin nudges repositories toward the practices described in OpenAI's Harness engineering article:

  • Short AGENTS.md maps that route agents to the right durable context.
  • Durable documentation as the system of record for product, architecture, engineering rules, and operational knowledge.
  • Agent-legible architecture and engineering boundaries that are explicit enough for future agents to follow.
  • Agent instructions that scan existing repository documentation before making repo-specific claims or plans, giving agents the best chance to conform to project rules and source-of-truth docs.
  • Verifiable feedback loops through tests, scripts, docs checks, and other fast validation commands.

Install From npm

To install the latest stable 1.x release, add the plugin to ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["@n3ziniuka5/opencode-harness-engineering@1.x"]
}

Use the singular plugin key. If the array already exists, append the entry and keep the rest of your configuration unchanged.

Quit and restart OpenCode after adding or upgrading the plugin. OpenCode loads plugin configuration at startup, so a running session keeps using the previously loaded plugin set.

Using the Plugin

Choose an agent

New sessions start with draft, which replaces OpenCode's native plan agent. You can switch to ask or brainstorm as you would with any primary agent.

Primary agents can delegate search and retrieval to explore. The primary agent evaluates the evidence, makes recommendations, and writes the final response.

Set up repository documentation

Run /init-harness-engineering in the target repository to have the active implementation agent create or update a documentation scaffold. The command uses the active agent's model.

Keep the documentation under the repository's docs/ directory. You can customize its structure and style as long as agents have a way to find the context they need, such as through index.md files.

Compact existing documentation

Run /docs-cleanup inside a Git worktree to tighten authored docs across text formats. Choose uncommitted for local changes, branch for changes against the branch's base tip, or full for the whole worktree. With no argument, the command chooses a scope from the worktree state. It uses build with read-only discovery from explore and leaves edits unstaged. See the command reference for scope and permissions.

Configure subagent depth

On OpenCode 1.18.2 and later, the plugin defaults subagent_depth to 3 when it is unset. Set subagent_depth in your OpenCode config to choose a different limit, or set it to 0 to disable subagent launches. Agent permissions still apply: explore cannot launch nested tasks.

Earlier versions can load the plugin but do not support the depth setting. Adding it to their config may fail validation.

Fixed Model and Prompt Choices

All bundled agents use the OpenAI provider. The plugin exposes no options to change provider, model, variant, sampling, or bundled prompts. Users who need different behavior should fork and change the plugin or choose not to load it.

Agent configs omit sampling parameters that GPT-6 does not support at non-none effort.

The prompts are reviewed against OpenAI's public GPT-6 prompting guidance. Primary agents explicitly prioritize user instructions over skill guidance and identify skill instructions that make them pause or diverge; broader prompt changes should follow evaluations or observed failures.

Use OpenCode's normal OpenAI authentication with access to the models listed above. The plugin does not fall back when a configured model is unavailable.

Developing This Repository

Requirements:

  • Node.js >=22
  • pnpm 10.33.2
  • OpenCode >=1.14.0

Core contributor commands:

pnpm install --frozen-lockfile
pnpm run check
pnpm run build

Targeted checks while iterating:

  • pnpm run typecheck
  • pnpm run test
  • pnpm run docs:check
  • pnpm run format:check

Releases

The npm package is @n3ziniuka5/opencode-harness-engineering, and the exported OpenCode plugin id is n3ziniuka5.opencode-harness-engineering.

Release Please creates version and changelog PRs from Conventional Commits. After a release PR is merged, the published GitHub release triggers npm publishing through GitHub Actions OIDC and npm Trusted Publishing. The publish workflow does not use NPM_TOKEN.

See the release process for setup and operating details.

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 @n3ziniuka5/opencode-harness-engineering

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

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?

Vulnerability Insights

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229