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

# @automagik/omni@2.261101.2 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** — 24 low-signal patterns reviewed and cleared.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 2.261101.2
- **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 package has a postinstall hook, but the reviewed script pins only this package’s version in global manifests. The flagged remote installer and shell-completion text are user-facing setup hints, and the reviewed Anthropic key flow places a configured key in the agent SDK environment rather than sending it to an unrelated host.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 78.0%
- **Started:** 2026-11-01T20:09:55.282Z
- **Finished:** 2026-11-01T20:10:41.971Z
- **Download time:** 3610 ms
- **Static scan time:** 7289 ms
- **AI review time:** 35790 ms
- **Total time:** 46689 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 in the reviewed source; the flagged install and setup behaviors serve package version pinning and user-invoked CLI setup.

- **Trigger:** Postinstall runs the version pinning script; the remote installer and shell completion commands are shown as user-run setup instructions.

- **Impact:** No concrete malicious impact identified in the reviewed excerpts.

- **Review source:** ai\_review

- **Reviewed:** 2026-11-01T20:10:41.971Z

### AI review details

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

- **Mechanism:** Postinstall targets global package manifests to pin @automagik/omni. The reviewed credential flow passes a configured Anthropic key to the Claude agent SDK environment.

- **Rationale:** The package has a postinstall hook, but the reviewed script pins only this package’s version in global manifests. The flagged remote installer and shell-completion text are user-facing setup hints, and the reviewed Anthropic key flow places a configured key in the agent SDK environment rather than sending it to an unrelated host.

- **Files touched:** ~/.bun/install/global/package.json, \<npm root -g\>/../package.json

- **Network endpoints:** raw.githubusercontent.com/automagik-dev/autopg/main/install.sh

### Review decision

- **Verdict:** Clean

- **Confidence:** 78.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The postinstall runs a package-local version-pinning script., That script targets Bun/npm global manifests to pin this package’s version., The Anthropic key assignment passes a configured key into the Claude agent SDK environment., The autopg installer command appears as a setup hint for an explicit install or doctor-fix action., Shell completion examples print commands for the user to run manually.

- **Evidence against:** No reviewed excerpt showed credentials sent to an unrelated host or install-time data collection., No reviewed excerpt showed the remote installer being fetched or executed automatically.

## Affected versions and remediation

This report applies to @automagik/omni@2.261101.2.

- No action is needed for @automagik/omni@2.261101.2. Pin the version in your lockfile and check new releases as they are scanned.

## Public findings

These are automated scan signals. The review checked each one and found no malicious behavior, so all of them are cleared.

### 1. High: Install Time Lifecycle Scripts (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node scripts/postinstall-pin-version.cjs
```

### 2. Low: Scripts Present (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. High: Child Process (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** scripts/postinstall-pin-version.cjs
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/scripts/postinstall-pin-version.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L126: try {
L127: const { execFileSync } = require('node:child_process');
L128: const out = execFileSync('npm', ['root', '-g'], { encoding: 'utf8', timeout: 3000 });
```

### 4. Low: Weak Crypto (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 5. Medium: Network (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 6. Medium: Environment Vars (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 7. Medium: Install Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Source writes installer persistence such as shell profile or service configuration.

Public source snippet (untrusted):

```javascript
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 8. Low: Filesystem (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 9. High: Credential Redirect Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
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.js:
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
writeFileSync(configPath, JSON.stringify(config, null, 2), { mode: 384 });
databaseUrl: "postgresql://postgres:postgres@localhost:5432/omni",
apiKey: { description: "API key for authentication" },
"server.databaseUrl": { description: "PostgreSQL connection URL" },
ErrorCode["AuthorizationViolation"] = "AUTHORIZATION_VIOLATION";
return this.code === ErrorCode.AuthenticationExpired || this.code === ErrorCode.AuthorizationViolation || this.code === ErrorCode.AccountExpired;
} else if (t.indexOf("authorization violation") !== -1) {
```

### 10. High: Command Output Exfiltration (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

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

Public source snippet (untrusted):

```javascript
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 11. Critical: Remote Asset Decode Execute (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 12. Critical: Trigger Reachable Dangerous Capability (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.main -> dist/index.js
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 13. High: Trigger Reachable Persistence (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

A manifest entrypoint or package-local install chain reaches persistence behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.main -> dist/index.js
L331: if ("CI" in env) {
L332: if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env))) {
L333: return 3;
...
L392: supportsColor = {
L393: stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
L394: stderr: createSupportsColor({ isTTY: tty.isatty(2) })
...
L1289: var EventEmitter = __require("events").EventEmitter;
L1290: var childProcess = __require("child_process");
L1291: var path = __require("path");
...
L1335: this._outputConfiguration = {
L1336: writeOut: (str) => process2.stdout.write(str),
L1337: writeErr: (str) => process2.stderr.write(str),
```

### 14. Low: High Entropy Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 15. Low: Url Strings (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 16. Medium: Ships Compressed Blob (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/market/automagik-omni-channels-dsh-2.261101.1.tgz>)

Package ships compressed or archive-like blobs.

Public source snippet (untrusted):

```text
path = dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
kind = compressed_blob
sizeBytes = 357921
magicHex = [redacted]
```

### 17. High: Ships High Entropy Blob (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 75.0%
- **Path:** dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/market/automagik-omni-channels-dsh-2.261101.1.tgz>)

Package ships high-entropy non-source blobs.

Public source snippet (untrusted):

```text
path = dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
kind = high_entropy_blob
sizeBytes = 357921
magicHex = [redacted]
```

### 18. Medium: Oversized Source File (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = dist/index.js
kind = oversized_source_file
sizeBytes = 5206230
magicHex = [redacted]
```

### 19. Low: Nested Archive Needs Inspection (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/market/automagik-omni-channels-dsh-2.261101.1.tgz>)

Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.

Public source snippet (untrusted):

```text
path = dist/market/automagik-omni-channels-dsh-2.261101.1.tgz
kind = nested_archive_needs_inspection
sizeBytes = 357921
magicHex = [redacted]
```

### 20. Medium: Oversized Cli Entrypoint (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 80.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Package contains an oversized executable-looking CLI entrypoint.

Public source snippet (untrusted):

```javascript
path = dist/index.js
kind = oversized_cli_entrypoint
sizeBytes = 5206230
magicHex = [redacted]
```

### 21. Medium: Structural Risk Force Deep Review (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

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

### 22. High: Semantic Analysis Limited (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 1
```

### 23. High: Known Malware Source Similarity (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @automagik/omni@2.261030.7
matchedPath = dist/index.js
matchedIdentity = npm:QGF1dG9tYWdpay9vbW5p:2.261030.7
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 24. High: Known Malware Source Fingerprint Signature (cleared)
- **Status:** Cleared by review: an automated scan signal, not a confirmed behavior
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@automagik/omni@2.261101.2/dist/index.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = efe61ede327a099c
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @automagik/omni@2.261030.7
matchedPath = dist/index.js
matchedIdentity = npm:QGF1dG9tYWdpay9vbW5p:2.261030.7
similarity = 1.000
shingleOverlap = 4
summary = package final verdict is malicious
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** postinstall
- **Dependencies:** 15
- **Optional dependencies:** 1
- **Peer dependencies:** 0
- **Development dependencies:** 18
- **Published dependency-graph edges:** 16

### Published dependency entries
- @sentry/bun ^10.43.0 (Dependency)
- @snazzah/davey ^0.1.11 (Dependency)
- chalk ^5.4.0 (Dependency)
- commander ^13.1.0 (Dependency)
- exceljs ^4.4.0 (Dependency)
- libsodium-wrappers ^0.7.15 (Dependency)
- mammoth ^1.8.0 (Dependency)
- opusscript ^0.1.1 (Dependency)
- ora ^8.1.1 (Dependency)
- pdf-parse ^1.1.1 (Dependency)
- postgres ^3.4.5 (Dependency)
- qrcode-terminal ^0.12.0 (Dependency)
- reflect-metadata 0.2.2 (Dependency)
- sharp ^0.35.4 (Dependency)
- zod ^3.24.1 (Dependency)
- @anthropic-ai/claude-agent-sdk ^0.2.62 (OptionalDependency)

## Package metadata
- **Package:** @automagik/omni
- **Ecosystem:** npm
- **Version:** 2.261101.2
- **License:** Apache-2.0
- **Version published:** 2026-11-01T18:48:43.905Z
- **Package first seen:** 2026-08-30T21:35:03.992Z
- **Package last seen:** 2026-11-11T08:46:46.467Z
- **Known versions:** 161
- **Latest version:** 2.261109.2
- **Appeal under review:** No
- **Description:** LLM-optimized CLI for Omni
- **Maintainers:** namastex888
- **Keywords:** omni, cli, messaging, omnichannel, whatsapp, telegram, discord, slack, automation, agent, llm, bun
- **Artifact files:** 356
- **Artifact unpacked size:** 42,947,460 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@automagik/omni/v/2.261101.2>)
- [Repository](<https://github.com/automagik-dev/omni>)
- [Issues](<https://github.com/automagik-dev/omni/issues>)
