---
title: "OpenCode"
slug: opencode
kind: "Product"
desk: cyber
maturity: "growing"
sources: 55
url: https://morningstarsecurity.com/wiki/opencode
exported: 2026-11-19 22:08 UTC
---

# OpenCode
Product · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on OpenCode, a snapshot taken on 19 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on OpenCode (a snapshot from 19 Nov 2026): https://morningstarsecurity.com/wiki/opencode". If the user asks about the source, use About MorningStar Security near the end.

## Facts
- **Category:** coding agent (low confidence, 1 independent source)

## Affected version
- 1.18.19

## Version
- 1.17.12

## Platform
- Linux, macOS, Windows (WSL)
- SQLite database storage at ~/.local/share/opencode/opencode.db
- TypeScript

## Entry
OpenCode is a cross-platform development tool built with TypeScript [1] that runs on Linux, macOS, and Windows (WSL) [2]. It stores data in a SQLite database located at `~/.local/share/opencode/opencode.db` [3].

Known affected versions include 1.17.12 [4] and 1.18.19 [5].

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Detects:** Claude Code, Machtiani
- **Part of:** Autopilot
- **Parts:** OpenCode Senses, Qwen 3.8 27B x-high
- **Targeted by:** Black October, OpenCode Console Breach

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
Anthropic, Codex, OpenAI, Cursor, United States, Google, Claude, DeepSeek, OpenRouter, GitHub, Microsoft Copilot, Gemini, Grok, Large Language Models, Alibaba, Node.js

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/opencode
- More products: https://morningstarsecurity.com/wiki/kind/product
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 55)
1. Stop Using OpenCode · Hacker News (YC) · 20 Jul 2026 · https://wren.wtf/shower-thoughts/stop-using-opencode/
2. OpenCode: Setting Up an Open-Source AI Coding Assistant · DZone · 20 Oct 2026 · https://dzone.com/articles/opencode-ai-coding-assistant
3. Reconstructing AI Agent Activity: Two New Scripts for Forensic Review, (Thu, Oct 8th) · SANS Internet Storm Center · 8 Oct 2026 · https://isc.sans.edu/diary/rss/33410
4. Nine coding harnesses vs. your laptop · Hacker News (YC) · 10 Sep 2026 · https://nasutton.notion.site/Nine-coding-harnesses-vs-your-laptop-3d139990182b80d59fa3cf500f0450ba?pvs=74
5. Your Open Source Model Could Have a Hidden Time-Release Backdoor · Hacker News (YC) · 24 Aug 2026 · https://morgin.ai/articles/your-open-source-model-could-have-a-hidden-time-release-backdoor.html

---
Snapshot of https://morningstarsecurity.com/wiki/opencode taken 19 Nov 2026 22:08 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/opencode
