registry / ocean-brain / 0.12.1
ocean-brain@0.12.1
<!-- npm package README for the public ocean-brain CLI.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe lifecycle hook is a package-aligned local Prisma generation step. Network and file capabilities are explicit runtime features of the self-hosted app or MCP client, not covert exfiltration or persistence.
Static reason
One or more suspicious static signals were detected.
Trigger
npm postinstall, explicit ocean-brain serve, or explicit ocean-brain mcp
Impact
Creates application data and can send notes to explicitly configured servers.
Mechanism
local Prisma generation and user-configured application/MCP requests
AI rationale
The lifecycle hook is a package-aligned local Prisma generation step. Network and file capabilities are explicit runtime features of the self-hosted app or MCP client, not covert exfiltration or persistence.
Evidence
package.jsonscripts/postinstall-prisma.mjsdist/index.jsdist/mcp.jsserver/dist/features/search/embedding-client.jsserver/dist/modules/prisma-runtime.jsserver/prisma/schema.prisma~/.ocean-brain/data~/.ocean-brain/assets/images
Decision evidence
public snapshotAI called this Clean at 94.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
- package.json defines postinstall.
- scripts/postinstall-prisma.mjs runs local Prisma generate.
Evidence against
- Postinstall resolves bundled schema and Prisma CLI only; no network code.
- dist/index.js creates only ~/.ocean-brain data/image paths after explicit serve.
- dist/mcp.js contacts only the user-supplied Ocean Brain server.
- Embedding requests use administrator-configured API URL at runtime.
- No agent-config writes, shell payloads, eval, or secret harvesting found.
Behavioral surface
ChildProcessCryptoDynamicRequireEnvironmentVarsEvalFilesystemNetworkShell
HighEntropyStringsMinifiedObfuscatedProtestwareTelemetryUrlStrings
Source & flagged code
3 flaggedpackage.jsonView file
•scripts.postinstall = node ./scripts/postinstall-prisma.mjs
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgserver/client/dist/assets/NotePropertiesPanel-uO-JKy19.jsView file
1import{j as J,q as zt,g as Ht,r as lt}from"./floating-ui.react-dom-BWTnA00G.js";import{a as Gt,n as qt,h as Yt}from"./useNoteMutate-VJYw0Vt_.js";import{c as At,u as Vt,q as Nt,W as...
L2: \0`,H+=o(E,2),H+=R.magic,H+=o(w,2),H+=o(z,2),H+=o($.crc32,4),H+=o($.compressedSize,4),H+=o($.uncompressedSize,4),H+=o(U.length,2),H+=o(N.length,2),{fileRecord:_.LOCAL_FILE_HEADER+H...
Low
Eval
Package source references a known benign dynamic code generation pattern.
server/client/dist/assets/NotePropertiesPanel-uO-JKy19.jsView on unpkg · L1dist/index.jsView file
Findings
1 High5 Medium7 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumDynamic Requiredist/index.js
MediumNetwork
MediumEnvironment Vars
MediumProtestware
MediumStructural Risk Force Deep Review
LowScripts Present
LowEvalserver/client/dist/assets/NotePropertiesPanel-uO-JKy19.js
LowFilesystem
LowObfuscated
LowHigh Entropy Strings
LowTelemetry
LowUrl Strings
Affected versions and remediation
This report applies to ocean-brain@0.12.1.
See all versions of ocean-brain for other recorded verdicts.
- Review the evidence and your use of ocean-brain@0.12.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.