opencode

The open source coding agent.

Coding Agents TypeScript Listed MIT

Is opencode safe? Thin or incomplete trust evidence. Review carefully before production use.

OSSF Scorecard No result
Provenance None
Signed commits 99%
Last push today
Compare opencode
Suggest a correction

In detail: opencode scores 49.9/100 (Grade D), ranked #1027 of 1387 tracked open-source AI agent projects, on evidence coverage B (3 of 5 independent signal types). The public evidence: no package-provenance attestation found; no OSSF Scorecard result yet; 99% of recent commits are signed; last pushed 2026-11-23. Every point is earned from checkable signals — never paid placement. How scoring works →

What opencode can reach, and who runs it

Checked 2026-10-09, each with its source. PUBLISHER is the company's or project's own statement, which we haven't verified; CHECKED is something we observed ourselves; IN CODE is read from the project's source code. These facts describe the product. They don't change its score.

What it can reach

  • IN CODE Every tool, including file edits and shell commands, runs without asking by default. The exceptions: it asks before touching paths outside the project and before reading .env files. github.com
  • PUBLISHER Rules in opencode.json can make any tool, such as bash or edit, ask first or refuse to run. opencode.ai

Security practice

  • CHECKED Its maintainers have published 3 security advisories (1 critical, 2 high), all in the last 12 months. The repository has a SECURITY.md and GitHub private vulnerability reporting is enabled. github.com

How opencode could raise its score

Each line changes one public signal and recomputes with the live scoring function. The gains don't add up exactly, because the score is capped near the top.

Chain of custody

Scanners check what the code says. This traces who ships opencode and whether that has changed: from the source repository, through how changes are reviewed and released, to the package you install. These are the checks for OWASP ASI04 Agentic Supply Chain Vulnerabilities.

  1. Source Signed

    github.com/anomalyco/opencode, MIT, last pushed 2026-11-23. 99% of the last 100 commits carry a verified signature, so changes trace to a verified account.

  2. Review and release Not checked

    No OpenSSF Scorecard result yet, so branch protection, code review and release signing are unverified.

  3. Published packages Not linked

    • npm opencode-ai No source link declared No build attestation

    Without a build attestation, nothing proves the published files were built from this repository.

Changes to this chain

No change to package provenance, package source links, Scorecard coverage or license in HVTracker's daily snapshots of opencode.

Evidence behind this score

Coverage B: 3 of 5 independent evidence types found.

  • GitHub repository data
  • Package downloads
  • Supply-chain checks (missing)
  • Public actions (missing)
  • Community mentions

Verify this score yourself

Every build re-issues opencode’s score as an Ed25519-signed credential, valid for 7 days. You can check it offline against HVTracker’s published key; if anyone changes a number after signing, verification fails.

What this score doesn’t check

It covers who ships the code, not what the code does. It doesn’t read tool descriptions or prompts for injected instructions, watch runtime behaviour, or find bugs nobody has disclosed yet. For that, run a content scanner before you connect it, such as Cisco MCP Scanner or Snyk Agent Scan.

How opencode compares in Coding Agents

  1. #53 OpenCursor 50.3 +0.4
  2. #54 SWE-AF 50.0 +0.1
  3. #55 opencode 49.9 this agent
  4. #56 Aider 48.7 −1.2
  5. #57 Roo Code 48.3 −1.6

Bars show each HVTrust score; the tick marks opencode’s 49.9.

Where the 49.9 comes from

HVTrust dimensions vs the Coding Agents average

49.9 / 100 · 75.0% confidence

opencode Coding Agents average (77 agents)

Safety / Integrity50% OSSF Scorecard · 30% provenance · 20% signed commits
5.0 / 25
4.2 below avg 9.2
Identity / Provenance60% listing status · 40% build provenance
10.8 / 18
0.9 below avg 11.7
Transparency50% declared license · 50% OSSF Scorecard
8.5 / 17
3.5 below avg 12.0
Maintenance60% last-push freshness · 40% commit activity
20.0 / 20
5.6 above avg 14.4
AdoptionLog-scaled stars · package downloads
20.0 / 20
7.9 above avg 12.1

Quick Trust Read

What Would Improve It
Add or improve OSSF Scorecard coverage so safety checks are easier to verify.
Recent Changes
2026-11-22
Mcp Status Changed
Detected MCP server support changed: declared → implemented
2026-11-22
Rank Moved
Rank rose 55 spots (#1076 → #1021)
2026-11-11
Rank Moved
Rank dropped 12 spots (#1074 → #1086)
Maintainer Checklist
Add Scorecard coverage Expose the repository to OpenSSF Scorecard checks so supply-chain posture is easier to verify.
Publish provenance Add package provenance or release attestations so users can verify where shipped artifacts came from.
100.0
Activity sub-score · out of 100
#55

How to read this: HVTrust (0–100) weighs supply-chain signals (provenance, OSSF Scorecard, signed commits, open license) alongside real-world adoption. Grade D reflects the trust score band: A ≥ 80, B ≥ 65, C ≥ 50, D < 50. Evidence coverage B is separate — it grades how many independent signal types back the score (3 of 5), so a high score on thin evidence stays visible. Full methodology →

Signals refreshed 2026-11-23 12:08 UTC · Repo last pushed today

Rank Trend

2026-09-29 2026-11-23

Activity & Reach

Stars
228.7k
Forks
31.1k
Last Push
2026-11-23
today
Commits (4 wk)
1979
Downloads (7d)
3,540,308
npm
HN mentions (30d)
67
Open Issues
2732
Rank Change
▼6
was #1021

Analysis

Activity Inputs

100.0 / 100
StarsRepository reach
30 / 30
FreshnessLast push recency
25.0 / 25
ActivityRecent commits
25 / 25
CommunityFork signal
20 / 20

Common questions about opencode

Public trust evidence for opencode is thin: several supply-chain signals are missing or weak. This does not mean the project is unsafe — it means an outside observer cannot easily verify the usual integrity checks. Treat with extra scrutiny.
Does opencode publish package provenance?
No published build provenance is currently detected for opencode. This is common for open-source projects but means consumers cannot independently verify that the package on the registry matches the GitHub source.
Does opencode have an OpenSSF Scorecard?
No OpenSSF Scorecard data is currently published for opencode. Maintainers can enable the Scorecard GitHub Action to get a public score; without it, automated supply-chain hygiene is harder for outsiders to verify.
Is opencode actively maintained?
Actively maintained. The repository was pushed to within the last 1 day(s).
What license does opencode use?
opencode ships under MIT. A declared, OSI-approved license is one of the transparency signals HVTrust scores.
Are opencode's commits signed?
99% of the last 100 commits to opencode are verified-signed (GPG, SSH, S/MIME, or GitHub's signing flow). Signed commits help confirm that code was authored by who the commit claims.

Not a safety endorsement. HVTracker describes what public signals show, not whether a project is safe for your use case. Run your own security review before adopting in production.

AI agent surface

MCP, providers, tool surface
Scored in HVTrust

These runtime-trust fields — detected from public repo docs and manifests — contribute a bounded adjustment to this project's HVTrust score alongside supply-chain evidence. The exact values each field can add or subtract are documented in the methodology → Compare this surface across every listed agent in the capability matrix →

MCP Server Support
high confidence
Implemented
opencode appears to expose MCP server capabilities.
Detailed evidence is not shown in the public view.
External Service Dependencies
None detected
No clear third-party provider dependency detected.
Credential signal: No explicit API-key/config marker detected.
Tool / Plugin Surface
medium confidence
Declared
Declared plugin/integration surface detected.
Detailed evidence is not shown in the public view.
Package Provenance Drift
low confidence
Unknown
Package source metadata is missing or inconclusive
Detailed evidence is not shown in the public view.
  • MCP signal live
  • External deps live
  • Tool / plugin surface live
  • Package provenance drift live
How this surface has changed

Detected changes to opencode's runtime surface and supply-chain posture, from daily public-signal snapshots. A change here means our detectors see something different — a genuinely changed capability, or better evidence of an existing one.

2026-11-22
Mcp Status Changed
Detected MCP server support changed: declared → implemented
2026-10-12
Provider Removed
Runtime surface shrank — no longer detected: Anthropic
2026-09-02
Provider Added
Runtime surface grew — new detected provider dependency: Anthropic

Maintain opencode?

For maintainers

HVTrust scores opencode from public signals only — we never contact maintainers first. If a signal is wrong, stale, or missing (provenance you publish, a Scorecard you run, signed releases), tell us and we'll review it. Corrections are public and tracked on GitHub.

Reputation Timeline

Signal history
Rank 24Surface 1Surface 1MCP 1
2026-11-22
Mcp Status Changed
Detected MCP server support changed: declared → implemented
2026-11-22
Rank Moved
Rank rose 55 spots (#1076 → #1021)
2026-11-11
Rank Moved
Rank dropped 12 spots (#1074 → #1086)
2026-10-12
Provider Removed
Runtime surface shrank — no longer detected: Anthropic
2026-10-09
Rank Moved
Rank dropped 10 spots (#1060 → #1070)
2026-09-30
Rank Moved
Rank dropped 11 spots (#1040 → #1051)
2026-09-23
Rank Moved
Rank dropped 614 spots (#417 → #1031)
2026-09-22
Rank Moved
Rank dropped 68 spots (#349 → #417)
2026-09-21
Rank Moved
Rank rose 681 spots (#1030 → #349)
2026-09-16
Rank Moved
Rank rose 11 spots (#1031 → #1020)
2026-09-12
Rank Moved
Rank dropped 13 spots (#1010 → #1023)
2026-09-09
Rank Moved
Rank dropped 16 spots (#996 → #1012)
2026-09-08
Rank Moved
Rank dropped 13 spots (#983 → #996)
2026-09-07
Rank Moved
Rank dropped 33 spots (#950 → #983)
2026-09-06
Rank Moved
Rank dropped 16 spots (#934 → #950)
2026-09-05
Rank Moved
Rank dropped 49 spots (#885 → #934)
2026-09-04
Rank Moved
Rank dropped 28 spots (#857 → #885)
2026-09-03
Rank Moved
Rank dropped 47 spots (#810 → #857)
2026-09-02
Provider Added
Runtime surface grew — new detected provider dependency: Anthropic
2026-09-02
Rank Moved
Rank dropped 34 spots (#776 → #810)
2026-09-01
Rank Moved
Rank dropped 34 spots (#742 → #776)
2026-08-31
Rank Moved
Rank dropped 32 spots (#710 → #742)
2026-08-30
Rank Moved
Rank dropped 24 spots (#686 → #710)
2026-08-29
Rank Moved
Rank dropped 44 spots (#642 → #686)
2026-08-28
Rank Moved
Rank dropped 17 spots (#625 → #642)
2026-08-27
Rank Moved
Rank dropped 12 spots (#613 → #625)
2026-08-26
Rank Moved
Rank dropped 90 spots (#523 → #613)

Embed Badge Badge guide for maintainers →

For maintainers
HVTrust 49.9 Grade D
Markdown:
[![HVTrust](https://hvtracker.net/badge/opencode.svg)](https://hvtracker.net/agents/opencode)
HTML:
<a href="https://hvtracker.net/agents/opencode"><img src="https://hvtracker.net/badge/opencode.svg" alt="HVTrust"></a>

Other agents in Coding Agents

Data sources
GitHub REST API (repo, commits, stars, forks, license) · npm Registry (downloads, provenance) · Algolia HN Search API
Each agent's signals refresh once daily across 6 staggered batches. Methodology v4.4 · Raw JSON