Skip to main content
SkillTotal

Is Fission-AI/OpenSpec safe?

What Fission-AI/OpenSpec does

OpenSpec is a CLI that adds a spec-driven workflow to AI coding assistants, so requirements are agreed before coding. It is published by Fission AI in the Fission-AI/OpenSpec repository and installs as a standalone binary through an install script, from npm as @fission-ai/openspec, or with Homebrew. Running openspec init in a project sets up slash commands such as /opsx:propose and /opsx:apply for the tools you pick, and each change gets its own folder under openspec/changes with a proposal, specs, design and tasks in Markdown. The README says the CLI sends anonymous usage stats, limited to command names and version. Before installing, set OPENSPEC_TELEMETRY=0 or DO_NOT_TRACK=1 if you want that off.

Low risk - review the findings before installing
Notable — review in context (a capability is not a malicious indicator):
  • Agent or editor configuration runs a command or sends data automatically
  • Node.js shell/command execution
  • Node.js filesystem read

What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.

Fission-AI/OpenSpec is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. It can: filesystem read, filesystem write, install time execution, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).

@fission-ai/openspec 2.1.1

GitHub repository, read as an npm package · https://github.com/Fission-AI/OpenSpec
LOW
10
/ 100 risk score
Snapshot · scanned Nov 21, 2026 · @fission-ai/openspec@2.1.1 · engine 1.8.0 / ruleset 107

Get notified when this component changes

Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Fission-AI/OpenSpec's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
filesystem readfilesystem writeinstall time executionnetwork egressshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Execution authority
Tool Access Control / Direct Tool Access
Filesystem reach
Tool Execution Context
Network egress
Interaction & Communication / Direct Communication
Supply-chain provenance risk
General Protections / Supply Chain

Findings (6)

CapabilityNode.js shell/command executionnot scored · severity highST-SHELL-NODE

The component can run operating-system commands or spawn processes.

import { execFileSync } from 'child_process';
import { execFileSync, spawnSync } from 'node:child_process';
return spawnSync(process.execPath, [bin, ...args], {
import spawn from 'cross-spawn';
import type { ChildProcess, spawn as nodeSpawn } from 'node:child_process';
import { execFileSync } from 'child_process';
import { spawn } from 'node:child_process';
const child = spawn(command, args, {
import type { spawn as nodeSpawn } from 'node:child_process';
cachedSpawn = require('cross-spawn') as typeof nodeSpawn;
import { execFile } from 'node:child_process';
import { execFile } from 'node:child_process';
cachedSpawn = require('cross-spawn') as typeof import('child_process').spawn;
} from 'node:child_process';
import { execFileSync } from 'node:child_process';
import { execFileSync } from 'node:child_process';

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.

MEDIUMAgent or editor configuration runs a command or sends data automaticallyST-AGENT-AUTORUN

The component ships agent or IDE configuration that acts without a separate step: a Claude Code / Gemini CLI / Cursor hook, a Claude Code status line or credential helper command, a VS Code task that runs when the folder opens, a dev container command that runs on the host (`initializeCommand`), or a dev container hook that downloads code and runs it inside the container. Opening the project in that tool runs it with the developer's privileges. An `http` hook (here or in a plugin or skill), or a hook command that hands its own input to a network client (`curl --data-binary @- https://...`), posts each event it is bound to, the user's prompt and tool input and output included, to a server that is not this machine.

"initializeCommand": "echo 'Initializing dev container...'"

Fix: Read the command and anything it runs, or the URL a hook posts to, before opening this project in an agent or editor. A published package has no reason to ship project auto-run config.

CapabilityNode.js filesystem readnot scored · severity mediumST-FS-NODE-READ

The component reads files from disk.

const bytes = fs.readFileSync(path.join(schemasDir, relativePath));
const { version } = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8'));
if (fs.readFileSync(outfile).includes(root)) {
([relativePath, content]) => fs.readFileSync(path.join(dir, relativePath), 'utf8') === content
const content = fs.readFileSync(file, 'utf8');
const existing = fs.readFileSync(OUTPUT, 'utf8');
const contentForTitle = await fs.readFile(proposalPath, 'utf-8');
const content = await fs.readFile(proposalPath, 'utf-8');
const deltaContent = await fs.readFile(deltaSpecPath, 'utf-8');
mainContent = await fs.readFile(mainSpecPath, 'utf-8');
const content = await fs.readFile(proposalPath, 'utf-8');
const content = await fs.readFile(proposalPath, 'utf-8');
const parsed: unknown = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
const rawConfig = fs.readFileSync(configPath, 'utf-8');
content = fs.readFileSync(schemaPath, 'utf-8');
const contents = fs.readFileSync(abs);
const originalContent = fs.readFileSync(configPath);
fs.readFileSync(prepared.path).equals(prepared.originalContent)
fs.readFileSync(path.join(trustedSourceDir, 'schema.yaml'), 'utf-8')
const schemaContent = fs.readFileSync(stagedSchemaPath, 'utf-8');
parseSchema(fs.readFileSync(stagedSchemaPath, 'utf-8'));
const tasksContent = await fs.promises.readFile(tracksPath, 'utf-8');
const contents = await fs.readFile(claimPath, 'utf8');
createHash('sha256').update(await fs.readFile(filePath)).digest('hex');
.update(await fs.readFile(filePath))

Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.

Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.

CapabilityNode.js filesystem write/deletenot scored · severity mediumST-FS-NODE-WRITE

The component writes or deletes files on disk.

fs.writeFileSync(file, content);
fs.rmSync(`${tmp}-stale`, { recursive: true, force: true });
fs.rmSync(tmp, { recursive: true, force: true });
process.on('exit', () => fs.rmSync(dir, { recursive: true, force: true }));
fs.rmSync(workRoot, { recursive: true, force: true });
fs.writeFileSync(OUTPUT, lines.join('\n'));
fs.writeFileSync(resolved, buildCodeWorkspaceJson(workingSet, rootName));
fs.writeFileSync(stagedSchemaPath, doc.toString());
fs.rmSync(backupDir, { recursive: true, force: true });
fs.rmSync(stagingDir, { recursive: true, force: true });
fs.writeFileSync(templatePath, createDefaultTemplate(artifact.id));
fs.writeFileSync(stagedConfigPath, preparedConfig.content);
fs.rmSync(preparedConfig.path, { force: true });
fs.rmSync(schemaDir, { recursive: true, force: true });
fs.rmSync(backup, { recursive: true, force: true });
fs.rmSync(schemaStagingDir, { recursive: true, force: true });
fs.rmSync(configStagingDir, { recursive: true, force: true });
await fs.writeFile(readmePath, `# ${name}\n\n${options.description}\n`, 'utf-8');
await fs.rmdir(target);
await fs.rm(claimed, { force: true });
await fs.rmdir(root);
await fs.rm(dest, { recursive: true, force: true }).catch(() => undefined);
await fs.rm(dest, { recursive: true, force: true }).catch(() => undefined);

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

Capabilitynpm prepare-time hooknot scored · severity mediumST-INSTALL-NPM-PREPARE

package.json has a 'prepare' script (runs on git/local installs and before publishing).

"prepare": "node build.js",

Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.

Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.

CapabilityNode.js network egressnot scored · severity mediumST-NET-NODE

The component makes outbound network requests.

import http from 'http';
import https from 'https';
const response = await fetch(url, options);
const response = await fetch(upstream.toString(), init);
import { createServer } from 'node:http';

Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.

Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.

How attackers abuse these capabilities

Interactive labs on the attack class behind the rules above. They show the technique, not anything found in Fission-AI/OpenSpec.

Maintain Fission-AI/OpenSpec?

Check the next package before your agent installs it

The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →