Loading npm security reports…
Loading npm security reports…
oh-my-openagent@5.1.57: npm security report – allowed | LPM Firewall
npm / oh-my-openagent / 5.1.57 The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools
Allowed — no malicious behavior detected
32 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 1, 2026, 20:49 UTC · by lpm-firewall-ai The flagged credential match is part of MCP environment sanitization, which filters credential-like variables. The postinstall hook performs package-cache invalidation and local compatibility checks, with no observed install-time exfiltration or unconsented agent-control change.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
The cache invalidation and version checks run during postinstall.
Impact
The cache entries may be recreated on later use; no credential collection, unrelated network contact, or agent configuration write was identified.
Mechanism
The hook removes matching plugin cache directories under the OpenCode cache and checks the local OpenCode version and platform binary.
Evidence
<XDG_CACHE_HOME or ~/.cache>/opencode/<oh-my-opencode@* or oh-my-openagent@*> <XDG_CACHE_HOME or ~/.cache>/opencode/packages/<oh-my-opencode@* or oh-my-openagent@*>
public snapshot
Evidence for AI clean decision
The package exports its runtime from dist/index.js and declares prepare and postinstall lifecycle scripts. The postinstall hook removes only cache directories whose names match oh-my-opencode@* or oh-my-openagent@*. The hook then checks the local OpenCode version and platform binary; the inspected code shows no install-time network request. MCP environment cleanup filters credential-like variables, including Anthropic, AWS, Google, GitHub, and OpenAI credentials. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Telemetry · URL strings
Manifest Git dependency
Scanned 1,804 files · 22.8 MB of source
50 external domains referenced
127.0.0.1 a.example alpha.example api.github.com api.omo.dev astral.sh b.example books.example bun.sh chromewebstore.google.com clangd.llvm.org cli.github.com clients2.google.com clojure-lsp.io deno.land docs.example.com e.x edge.microsoft.com eu-assets.i.posthog.com eu.i.posthog.com example.com example.invalid example.kr example.org example.test fonts.googleapis.com gamma.example github.com gleam.run json-schema.org mcp.context7.com microsoftedge.microsoft.com models.dev nodejs.org notexample.com notvercel.com opencode.ai posthog.com raw.githubusercontent.com registry.npmjs.org rubygems.org rustup.rs s.example sentry.io signin.omo.dev us-assets.i.posthog.com us.i.posthog.com vercel.com www.beta.example x.example Oversized source lightweight scan
dist/index.js 7.31 MB file, sampled 256 KB
Filesystem Network Environment variables Crypto High entropy strings Telemetry URL strings posthog.com sentry.io us.i.posthog.com
Findings3 critical · 13 high · 9 medium · 7 low Source & flagged code22 flagged The lines the automated scan flagged. The review checked them and cleared this version.
Critical AI agent control hijackCleared
Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
package.json View on unpkg · L1 Code excerpt · 16 lines 1 Install-time code directly mutates a foreign AI-agent control surface:
63 "docs/reference/web-terminal-visual-qa.md",
64 ".opencode/command",
65 ".opencode/skills",
66 ".agents/command",
67 ".agents/skills",
68 "packages/lsp-tools-mcp/package.json",
⋯
98 "packages/prompts-core/prompts/ultrawork/codex.md",
99 "packages/omo-codex/plugin/.codex-plugin",
100 "!packages/omo-codex/plugin/node_modules",
⋯
153 "test:fast": "bun run script/test-fast.ts",
154 "test:senpi": "bun run build:senpi-plugin && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun test --timeout 20000 packages/omo-senpi && bun test ./.agents/sk...
155 "test:windows-codex": "bun run test:codex",
Write operation from dist/tui.js:
2183 // packages/utils/src/xdg-data-dir.ts
2184
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle scriptCleared
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node postinstall.mjs
High Child processCleared
Package source references child process execution.
bin/oh-my-opencode.js View on unpkg · L4 Code excerpt · 2 lines 5 import { spawnSync } from "node:child_process" ;
6 import { existsSync, readFileSync } from "node:fs" ;
Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
bin/oh-my-opencode.js View on unpkg · L16 Code excerpt · 2 lines 17 const require = createRequire (import .meta.url);
18
Critical Encrypted payload temp executionCleared
Source decrypts an embedded payload, writes it to disk, and executes it through a child process.
dist/cli-node/index.js View on unpkg Scanner record · 1 line context = t code = error.code;\n return code !== undefined && TOLERATED_FSYNC_CODES.has(code);\n}\nfunction tolerantFsyncSync(fileDescriptor, fsyncImpl) {\n try {\n fsyncImpl(fileDescriptor);\n } catch (error) {\n if (!isToleratedFsyncError(error))\n throw error;\n }\n}\nfunction writeFileAtomically(filePath, content, options = {}) {\n const platform = options.platform ?? process.platform;\n const fsyncImpl = options.fsyncSync ?? fsyncSync;\n const tempPath = `${filePath}.${process.pid}.${randomUUID()}.tmp`;\n try {\n writeFileSync(tempPath, content, "utf-8");\n const tempFileDescriptor = openSync(tempPath, "r+");\n try {\n tolerantFsyncSync(tempFileDescriptor, fsyncImpl);\n } finally {\n closeSync(tempFileDescriptor);\n }\n try {\n renam
Code excerpt · 3 lines 1258 }
1259 const execArgv = process2.execArgv ?? [];
1260 if (execArgv. ( ) || execArgv. ( ) || execArgv. ( ) || execArgv. ( )) {
dist/skills/ulw-research/scripts/layout-probe.test.ts View file High EvalCleared
Package source references dynamic code evaluation.
dist/skills/ulw-research/scripts/layout-probe.test.ts View on unpkg · L15 Code excerpt · 3 lines 15 function pathRule () {
16 return new Function (`${PATH_FUNCTION_SOURCE}; return ulwSelectorPath;` )()
17 }
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/tui.js View on unpkg · L356 Code excerpt · 12 lines 356 const input = source.replace (/\s/g, "" );
357 if (input.length % 4 !== 0 || !BASE64_PATTERN.test (input))
358 return NOT_RESOLVED;
⋯
699 var init_js_yaml = __esm (() => {
700 /*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT */
701 NOT_RESOLVED = Symbol ("NOT_RESOLVED" );
⋯
2188 const osProvider = options.osProvider ?? os;
2189
dist/skills/browser/runtime/omowright/index.js View file High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/skills/browser/runtime/omowright/index.js View on unpkg · L1 Medium Install persistenceCleared
Source writes installer persistence such as shell profile or service configuration.
dist/skills/browser/runtime/omowright/index.js View on unpkg · L1 Shared code excerpt · 2 findings · 7 lines 1 import {createRequire}from "node:module" ;var __create=Object.create;var __getProtoOf=Object.getPrototypeOf;var __defProp=Object.defineProperty;var __getOwnPropNames=Object.getOwnProp...
2 `).join(` \r
⋯
65 ${code}
66 }`;let fn;try{const factory=new F(...constantNames,factoryCode);fn=factory(...constantValues)}catch(err){throw new ZodCompileUnsupportedError(` (generated code failed to...
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.js View on unpkg Scanner record · 8 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.jswriteFileSync
function writeFileAtomically(filePath, content, options = {}) {
writeFileSync(tempPath, content, "utf-8");
import { access, readFile, unlink, writeFile } from "fs/promises";
await writeFile(path, toWritableData(data));
import { chmod, mkdir, rename, rm, writeFile as writeFile2 } from "fs/promises";
await writeFile2(tempPath, extractStandaloneSgBinary(archive, platform));
env.CLAUDE_PLUGIN_ROOT = pluginRoot;
High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/index.js View on unpkg packages/omo-codex/plugin/components/lsp/dist/cli.js View file Critical Download executeCleared
Source downloads or fetches remote code and executes it.
packages/omo-codex/plugin/components/lsp/dist/cli.js View on unpkg · L3 Code excerpt · 12 lines 3 // src/cli.ts
4 import { spawn as spawn4 } from "node:child_process" ;
5 import { argv, execPath as execPath2, stderr } from "node:process" ;
6
⋯
17 import { isAbsolute as isAbsolute6 } from "node:path" ;
18 import { connect } from "node:net" ;
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
bin/oh-my-opencode.test.ts View on unpkg · L3 Code excerpt · 9 lines Cross-file remote execution chain: bin/oh-my-opencode.test.ts spawns dist/cli/index.js; helper contains network access plus dynamic code execution.
3 import { afterEach, describe, expect, test } from "bun:test" ;
4 import { spawnSync } from "node:child_process" ;
5 import { chmod, cp, mkdir, mkdtemp, readFile, realpath, rm, symlink, writeFile } from "node:fs/promises" ;
⋯
173 ): NodeJS.ProcessEnv {
174 const { OMO_INVOCATION_NAME: _invocationName, OMO_WRAPPER_PACKAGE_ROOT: _wrapperPackageRoot, ...baseEnv } = process.env;
175 return {
⋯
packages/omo-codex/scripts/install-local-entrypoint.test.mjs View file High Runtime package installCleared
Package source invokes a package manager install command at runtime.
packages/omo-codex/scripts/install-local-entrypoint.test.mjs View on unpkg · L64 Code excerpt · 6 lines 64 // when
65 const output = execFileSync (
66 process.execPath,
⋯
71 // then
72 assert.equal (output, "npx --yes oh-my-openagent@latest install --platform=codex --no-tui --codex-autonomous" );
73 });
Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
dist/skills/ast-grep/install.sh View on unpkg Scanner record · 4 lines path = dist/skills/ast-grep/install.sh
kind = build_helper
sizeBytes = 7663
magicHex = [redacted]
dist/skills/ast-grep/tests/smoke.ps1 View file High Payload in excluded dirCleared
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
dist/skills/ast-grep/tests/smoke.ps1 View on unpkg Scanner record · 4 lines path = dist/skills/ast-grep/tests/smoke.ps1
kind = payload_in_excluded_dir
sizeBytes = 5701
magicHex = [redacted]
Code↓ Cleared
Package metadata 10 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Git dependency Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
includes
"-e"
includes
"--eval"
includes
"-p"
includes
"--print"
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli-node/index.js View on unpkg · L99930 Code excerpt · 9 lines 99930 command: updateCommand,
99931 changelogUrl: "https://github.com/code-yeongyu/oh-my-openagent/releases"
99932 }
⋯
99935 // ${MARKER}: generated by the omo-senpi installer. Delete this file to remove the local launcher.
99936 import { spawn } from "node:child_process"
99937 import { homedir } from "node:os"
⋯
99940 const brand = ${JSON.stringify (brand)}
99941 const cli = process.env.OMO_SENPI_CLI_PATH ?? ${JSON.stringify (options.senpiCliPath)}
99942 const plugin = process.env.OMO_PLUGIN_ROOT ?? ${JSON.stringify (options.pluginPath)}
High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/cli-node/index.js View on unpkg · L66 Code excerpt · 12 lines 66 CommanderError = class CommanderError extends Error {
67 constructor (exitCode, code, message) {
68 super (message);
⋯
766 import { EventEmitter } from "node:events" ;
767 import childProcess from "node:child_process" ;
768 import path from "node:path" ;
⋯
849 this ._outputConfiguration = {
850 writeOut: (str) => process2.stdout.write (str),
851 writeErr: (str) => process2.stderr.write (str),
⋯
2130
2131 // package.json
2132 var package_default;
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/cli-node/index.js View on unpkg · L766 Code excerpt · 9 lines 766 import { EventEmitter } from "node:events" ;
767 import childProcess from "node:child_process" ;
768 import path from "node:path" ;
⋯
7074 try {
7075 writeFileSync (tempPath, content, "utf-8" );
7076 const tempFileDescriptor = openSync (tempPath, "r+" );
⋯
68316 return url;
68317 }, getUrl = ({ baseUrl, path, query, querySerializer, url: _url }) => {
68318 const pathUrl = _url.startsWith ("/" ) ? _url : `/${_url}` ;
const env = options.env ?? process.env;
2190 const preferredDir = env.XDG_DATA_HOME ?? path.join (osProvider.homedir (), ".local" , "share" );
2191 return resolveWritableDirectory (preferredDir, `${appName}-data` , osProvider);
5641 function getTauriConfigDir (identifier) {
5642 const platform = process.platform;
this
schema
67 if (window.__omowrightConsole)return ;
1467 }`,arguments:[{value:qn}],executionContextId:Jn.isolatedContextId,returnByValue:false},Jn.sessionId).catch((xn)=>(isContextDestroyedError(xn)&&jn.invalidateContext(Vn),{result:{}})...
1468 Viewport fallback also failed: ${formatScreenshotError (xn)}`)}}let Zn=Buffer.from(Yn,` base64`);if(xn.path)if(xn.path.startsWith(` /tmp`)){let jn=th
Scanner record · 1 line
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 35
Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/index.js View on unpkg Scanner record · 4 lines path = dist/index.js
kind = oversized_source_file
sizeBytes = 7665730
magicHex = [redacted]
19
import { setTimeout as delay } from "node:timers/promises" ;
50 import { basename as basename2, extname } from "node:path" ;
51 import { resolve as resolve6 } from "node:path" ;
52 import { pathToFileURL as pathToFileURL3 } from "node:url" ;
386 function resolveDaemonVersion (requireFn = requireFromHere) {
387 for (const candidate of ["./package.json" , "../package.json" ]) {
202 await cp (fileURLToPath (new URL ("./platform.js" , import .meta.url)), join (binDir, "platform.js" ));
203 await writeFile (join (root, "package.json" ), JSON.stringify ({ name: options.packageName ?? "lazycodex" , type: "module" }));