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

@boyingliu01/opencode-plugin

Latest version: v0.41.52

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: boyingliu01
5 Stars
2 Forks
240 Versions
32.6K Downloads
Shell Repo language

Scan summary

@boyingliu01/opencode-plugin was last scanned on 1 Dec 2026 at version 0.41.52. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 240 versions; the latest 5 were published on 1 Dec 2026.
  • Findings: No rules fired in version 0.41.52.
  • Downloads: 32,553 downloads.

Versions

240 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.41.52 LATEST 1 Dec 2026 No rules fired
0.41.51 1 Dec 2026 Not shown
0.41.50 1 Dec 2026 Not shown
0.41.49 1 Dec 2026 Not shown
0.41.48 1 Dec 2026 Not shown

No rules fired in 0.41.52

Findings

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

README

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

XP-Gate OpenCode Plugin

OpenCode plugin exposing xp-gate quality gates and AI workflow skills.

Tools

  • gate-check ⇄ xp-gate check <path>: Run user-invokable quality gates (Gate 4 Principles + Gate 6 Architecture) on a file or directory.

  • gate-principles ⇄ xp-gate principles <path>: Run Clean Code + SOLID principles checker (Gate 4 standalone).

  • gate-arch ⇄ xp-gate arch: Run architecture validation (Gate 6 standalone) with the pinned local @archlinter/cli built-in rules and baseline ratchet; an optional config file opts into archlint's own --config path.

  • session-reload-model: Reload session model from config. After switching provider configs (opencode.json + oh-my-openagent.json via switch-coding-plan.sh), updates the session model in OpenCode DB to match the new config, so restarted sessions use the current provider/model.

    Usage:

    // Reload current session model from config
    session-reload-model()
    
    // Reload a specific session
    session-reload-model({ sessionId: "ses_xxx" })
  • session-rename: Rename an OpenCode session. When called without a newTitle, analyzes the session's recent user messages and auto-generates a descriptive title. Works by directly updating the OpenCode SQLite database (~/.local/share/opencode/opencode.db).

    Usage:

    // Rename current session with auto-generated title
    session-rename()
    
    // Rename a specific session with a custom title
    session-rename({ sessionId: "ses_xxx", newTitle: "Fix auth middleware bug" })

Earlier docs said "all 6 quality gates" — that was inaccurate. gate-check intentionally runs only the two user-invokable gates (Principles + Arch); the full 10-gate pre-commit suite (Gate 0-9) is enforced by xp-gate init's git hooks, not by this tool. Fixes #208.

Installation

In your opencode.json:

{
  "plugin": ["@boyingliu01/opencode-plugin"]
}

Or via local path (development):

{
  "plugin": ["./plugins/opencode"]
}
OpenCode v2

v2 validates the plugin's default export against a schema requiring id plus effect or setup. This package ships both keys from 0.35.15 onwards, so the same published version loads under v1 and v2 — no separate build, no manifest change on your side.

Register it the same way (v2 reads the same plugin array):

{
  "plugin": ["@boyingliu01/opencode-plugin"]
}

Do not register @boyingliu01/opencode-plugin/tui. The TUI panel was abandoned in v0.13.0 and there is no /tui entry; v2's npm installer treats the whole string as a package name, so it fails on every startup with NpmInstallFailedError. The subpath export was removed in 0.35.15 for exactly that reason.

Requirements

  • OpenCode v0.11+ (v2.1.4+ supported)
  • One of:
    • xp-gate CLI installed globally (npm install -g @boyingliu01/xp-gate) — preferred, or
    • the xp-gate repo checked out locally with src/principles/index.ts reachable — fallback (the tool will shell out via npx -y tsx)
  • @archlinter/cli installed locally or on PATH (for gate-arch only; the default built-in-rules path needs no architecture.yaml — passing one opts into archlint's own --config schema validation, which rejects pre-0.16 files)

Graceful Degradation

Every tool runs a chained shell-out: it first tries xp-gate <subcommand> and, only if that's not on PATH, falls back to invoking the underlying checker source directly. If both paths fail, the tool returns install instructions instead of throwing.

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 @boyingliu01/opencode-plugin

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Vulnerability Insights

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

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