---
canonical: "https://firewall.lpm.dev/npm/opik/v/2.2.95"
markdown: "https://firewall.lpm.dev/npm/opik/v/2.2.95.md"
package: "opik"
report_status: "published"
title: "opik@2.2.95 npm security report"
verdict: "clean"
version: "2.2.95"
---

# opik@2.2.95 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Allowed — no malicious behavior detected** — No malicious behavior detected. 14 low-signal pattern(s) reviewed.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 2.2.95
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The manifest has no install lifecycle hook, and the inspected SDK entrypoints expose ordinary Opik APIs using Comet’s service. The CLI’s observed outbound request is package-aligned telemetry triggered by CLI invocation; source inspection did not support the scanner’s credential or command-output exfiltration claims.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-10-14T06:10:48.817Z
- **Finished:** 2026-10-14T06:15:07.534Z
- **Download time:** 780 ms
- **Static scan time:** 2455 ms
- **AI review time:** 255482 ms
- **Total time:** 258717 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** No attack was identified. The CLI performs package-aligned telemetry when invoked and can disable analytics through an environment setting.

- **Trigger:** A user invokes the \`opik\` CLI.

- **Impact:** The inspected behavior supports product telemetry and normal CLI operation; no credential theft or unrelated data disclosure was established.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-14T06:15:07.534Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The CLI sends limited command, flag, SDK, platform, and CI metadata to Comet’s statistics endpoint, then checks for uv and hands off to the Opik tool.

- **Rationale:** The manifest has no install lifecycle hook, and the inspected SDK entrypoints expose ordinary Opik APIs using Comet’s service. The CLI’s observed outbound request is package-aligned telemetry triggered by CLI invocation; source inspection did not support the scanner’s credential or command-output exfiltration claims.

- **Files touched:** package.json, dist/cli.js, dist/index.cjs, dist/index.d.ts

- **Network endpoints:** https://stats.comet.com/notify/event/, https://www.comet.com/opik/api

### Review decision

- **Verdict:** Clean

- **Confidence:** 90.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** package.json exposes the SDK and CLI; its scripts are build, lint, type-check, formatting, and test commands, with no install lifecycle hook., dist/index.cjs defaults the SDK API to Comet’s Opik service and reads its API key from configuration., dist/index.d.ts exports SDK tracing, evaluation, and client APIs consistent with the package description., The CLI sends invocation metadata to Comet’s statistics endpoint; analytics can be disabled with OPIK\_ANALYTICS\_ENABLE., The CLI’s network activity is triggered by invoking the command, which checks for uv and hands off to \`uv tool run opik\`. No credential or command-output transfer was found.

## Affected versions and remediation

This report applies to opik@2.2.95.

- Review the evidence and your use of opik@2.2.95 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.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 3. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 5. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 6. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 7. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
Source sends the broad process environment to a literal external destination.
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 8. High: Host Fingerprint Exfiltration
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

Source collects local host identity data and sends it to an external endpoint.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 9. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 10. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 11. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/opik@2.2.95/dist/cli.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/cli.js
L1: #!/usr/bin/env node
L2: import {spawnSync}from'child_process';import {chalkStderr}from'chalk';import {createHash,randomBytes}from'crypto';import L,{accessSync,constants}from'fs';import f from'os';import i...
L3: ${chalkStderr.red("\u2717")} ${chalkStderr.bold("The Opik MCP configuration requires uv, which is not installed on this machine.")}
```

### 12. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 13. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 14. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 26
- **Optional dependencies:** 0
- **Peer dependencies:** 1
- **Development dependencies:** 21
- **Published dependency-graph edges:** 27

### Published dependency entries
- @ai-sdk/anthropic ^3.0.1 (Dependency)
- @ai-sdk/google ^3.0.5 (Dependency)
- @ai-sdk/google-vertex ^4.0.1 (Dependency)
- @ai-sdk/openai ^3.0.7 (Dependency)
- ai ^6.0.13 (Dependency)
- ansi-escapes ^7.0.0 (Dependency)
- boxen ^8.0.1 (Dependency)
- chalk ^5.4.1 (Dependency)
- date-fns ^3.5.0 (Dependency)
- dotenv ^16.5.0 (Dependency)
- fast-deep-equal ^3.1.3 (Dependency)
- fast-json-stable-stringify ^2.1.0 (Dependency)
- form-data-encoder ^4.0.2 (Dependency)
- formdata-node ^6.0.3 (Dependency)
- ini ^5.0.0 (Dependency)
- jest-diff ^29.7.0 (Dependency)
- mustache ^4.2.0 (Dependency)
- node-fetch ^3.3.2 (Dependency)
- nunjucks ^3.2.4 (Dependency)
- ora ^8.2.0 (Dependency)
- qs ^6.13.1 (Dependency)
- readable-stream ^4.7.0 (Dependency)
- tslog ^4.9.3 (Dependency)
- url-join ^5.0.0 (Dependency)
- uuid ^11.0.3 (Dependency)
- xxhash-wasm ^1.1.0 (Dependency)
- zod ^3.25.55 || ^4.0.0 (PeerDependency)

## Package metadata
- **Package:** opik
- **Ecosystem:** npm
- **Version:** 2.2.95
- **License:** Apache-2.0
- **Version published:** 2026-10-08T12:25:17.281Z
- **Package first seen:** 2026-07-01T05:53:35.312Z
- **Package last seen:** 2026-11-02T14:58:01.345Z
- **Known versions:** 96
- **Latest version:** 2.2.137
- **Appeal under review:** No
- **Description:** Opik TypeScript and JavaScript SDK
- **Author:** Comet
- **Maintainers:** cometml
- **Keywords:** opik, sdk, javascript, javascript-sdk, typescript, typescript-sdk, comet
- **Runtime engines:** node: \>=18
- **Artifact files:** 10
- **Artifact unpacked size:** 3,243,303 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/opik/v/2.2.95>)
- [Repository](<https://github.com/comet-ml/opik>)
- [Homepage](<https://www.comet.com/docs/opik/>)
- [Issues](<https://github.com/comet-ml/opik/issues>)
