Loading npm security reports…
Loading npm security reports…
oh-my-openagent@5.1.72: npm security report – allowed | LPM Firewall
npm / oh-my-openagent / 5.1.72 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
31 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 15, 2026, 22:03 UTC · by lpm-firewall-ai The flagged install hook performs package setup and compatibility checks without observed data transmission or agent-setting changes. Runtime telemetry is disclosed with an opt-out, and the inspected MCP environment cleaner filters common credentials.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Package installation runs postinstall; CLI telemetry and MCP connections occur at runtime.
Impact
No malicious impact was identified in the reviewed paths.
Mechanism
The inspected install hook performs platform and version checks and clears this package’s cache. The CLI discloses PostHog telemetry; the MCP environment cleaner filters common secrets.
Evidence
package.json postinstall.mjs dist/cli-node/index.js dist/index.js
public snapshot
Evidence for AI clean decision
The postinstall hook is declared as `node postinstall.mjs`; its inspected logic checks the platform binary and OpenCode version and invalidates this package’s own cache. The CLI discloses anonymous usage telemetry, names PostHog as the recipient, and documents how to disable telemetry. The MCP environment cleaner excludes common API keys, cloud credentials, tokens, passwords, and other secret variables from inherited environment values. Evidence against
No inspected source showed credentials being sent to an unrelated host or code being downloaded and executed automatically. The reported install hook does not show network contact or AI-agent configuration writes. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 1,810 files · 24.1 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 releases.aside.com 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 Oversized source lightweight scan
dist/index.js 7.45 MB file, sampled 256 KB
Filesystem Network Environment variables Crypto High entropy strings Telemetry URL strings posthog.com sentry.io us.i.posthog.com
Findings4 critical · 13 high · 7 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:
71 "docs/reference/web-terminal-visual-qa.md",
72 ".opencode/command",
73 ".opencode/skills",
74 ".agents/command",
75 ".agents/skills",
76 "packages/lsp-tools-mcp/package.json",
⋯
106 "packages/prompts-core/prompts/ultrawork/codex.md",
107 "packages/omo-codex/plugin/.codex-plugin",
108 "!packages/omo-codex/plugin/node_modules",
⋯
161 "test:fast": "bun run script/test-fast.ts",
162 "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...
163 "test:windows-codex": "bun run test:codex",
Write operation from dist/tui.js:
2183 // packages/utils/src/xdg-data-dir.ts
L2184
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 Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/cli-node/index.js View on unpkg · L66 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 Shared code excerpt · 2 findings · 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" ;
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 }
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 High Obfuscated payload loaderCleared
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/skills/browser/runtime/omowright/index.js View on unpkg · L1 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/skills/browser/runtime/omowright/index.js View on unpkg · L1 Shared code excerpt · 3 findings · 7 lines 1 var __esm=(fn,res,err)=>()=>{if (fn)try {res=fn (fn=0 )}catch (e){err=[e]}if (err) err[ ]; res}; path ; (){ {dlopen,ptr}= ...
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 · 12 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"
⋯
187 ...baseEnv
188 } = process.env
189 return {
⋯
217 await writeFile (
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 · L68 Code excerpt · 6 lines 68 // when
69 const output = execFileSync (process.execPath, [scriptPath, "--dry-run" , "install" , "--no-tui" ], {
70 encoding: "utf8" ,
⋯
73 // then
74 assert.equal (output, "npx --yes oh-my-openagent@latest install --platform=codex --no-tui --codex-autonomous" )
75 })
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]
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 Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 19
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 = 7812237
magicHex = [redacted]
↓
Cleared
Package metadata 9 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
768
import path from "node:path" ;
849 this ._outputConfiguration = {
850 writeOut: (str) => process2.stdout.write (str),
851 writeErr: (str) => process2.stderr.write (str),
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.includes ("-e" ) || execArgv.includes ("--eval" ) || execArgv.includes ("-p" ) || execArgv.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 · L100133 Code excerpt · 9 lines 100133 command: updateCommand,
100134 changelogUrl: "https://github.com/code-yeongyu/oh-my-openagent/releases"
100135 }
⋯
100138 // ${MARKER}: generated by the omo-senpi installer. Delete this file to remove the local launcher.
100139 import { spawn } from "node:child_process"
100140 import { homedir } from "node:os"
⋯
100143 const brand = ${JSON.stringify (brand)}
100144 const cli = process.env.OMO_SENPI_CLI_PATH ?? ${JSON.stringify (options.senpiCliPath)}
100145 const plugin = process.env.OMO_PLUGIN_ROOT ?? ${JSON.stringify (options.pluginPath)}
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" ;
⋯
7096 try {
7097 writeFileSync (tempPath, content, "utf-8" );
7098 const tempFileDescriptor = openSync (tempPath, "r+" );
⋯
68329 return url;
68330 }, getUrl = ({ baseUrl, path, query, querySerializer, url: _url }) => {
68331 const pathUrl = _url.startsWith ("/" ) ? _url : `/${_url}` ;
throw
0
return
import
from
"node:path"
async
function
openNtdll
const
await
66 }`;let fn;try{const factory=new F(...constantNames,factoryCode);fn=factory(...constantValues)}catch(err){throw new ZodCompileUnsupportedError(` this schema (generated code failed to...
67 `)){if(!line)continue;const depth=line.search(/\S/);while(parents.length&&defined(parents.at(-1),"open parent").depth>=depth)parents.pop();const match=REF_LINE.exec(line);if(match)...
95 else callback.resolve (state.bindingValue (result.value, true ));
96 })()`},sessionId)}async function installScripts(page,state,sessionId,session){for(const script of state.scripts){if(session.
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" ]) {
218 join (root, "package.json" ),
219 JSON.stringify ({ name: options.packageName ?? "lazycodex" , type: "module" }),
230 'printf \'%s\\n\' "$OMO_INVOCATION_NAME" > "$CAPTURE_DIR/env"' ,