---
canonical: "https://firewall.lpm.dev/npm/elephant-tusk-runner/v/1.0.5"
markdown: "https://firewall.lpm.dev/npm/elephant-tusk-runner/v/1.0.5.md"
package: "elephant-tusk-runner"
report_status: "published"
title: "elephant-tusk-runner@1.0.5 npm security report"
verdict: "suspicious"
version: "1.0.5"
---

# elephant-tusk-runner@1.0.5 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
**Flagged — allowed with a warning** — Allowed by default policy, but 16 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 1.0.5
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Starting the dashboard server exposes unauthenticated terminal and filesystem-control APIs; network-reachable access could yield arbitrary local command execution. CLI invocation also transmits its local license token to the vendor endpoint.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Suspicious
- **Confidence:** 94.0%
- **Started:** 2026-08-11T05:58:28.424Z
- **Finished:** 2026-08-11T06:00:02.871Z
- **Download time:** 253 ms
- **Static scan time:** 777 ms
- **AI review time:** 93417 ms
- **Total time:** 94447 ms

## Security analysis

### Published attack-surface review

- **Summary:** Starting the dashboard server exposes unauthenticated terminal and filesystem-control APIs; network-reachable access could yield arbitrary local command execution. CLI invocation also transmits its local license token to the vendor endpoint.

- **Trigger:** User runs the server/dashboard or invokes the CLI.

- **Impact:** Remote code execution and local file compromise if the server is exposed; vendor receives the configured license token.

- **Evidence paths:** package.json, bin/tusk.js, bin/utils.js, server.js

- **Review source:** ai\_review

- **Reviewed:** 2026-08-11T06:00:02.871Z

### AI review details

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

- **Mechanism:** Unauthenticated PTY shell bridge, arbitrary file APIs, and license-token POST.

- **Rationale:** Source establishes a critical exposed-server capability and token transmission, but not concrete malicious install-time behavior. Warn rather than block.

- **Files touched:** bin/tusk.js, bin/utils.js, server.js, ~/.tusk-license, ~/.bashrc

- **Network endpoints:** https://coodesrc.com/tusk/status.php

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 94.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Critical Vulnerability

- **False-positive risk:** Low

- **Evidence for:** server.js exposes unauthenticated WebSocket and HTTP PTY shell input routes., server.js enables permissive CORS and arbitrary filesystem read/write/delete routes., bin/tusk.js reads ~/.tusk-license and posts it to coodesrc.com on each CLI invocation., bin/utils.js persists arbitrary env-set values to ~/.bashrc only on explicit command.

- **Evidence against:** package.json has no install lifecycle hooks., No source shows hidden payload download/eval or automatic persistence at installation., Destructive and shell features are routed through explicit CLI/server actions., server.js imports package-local modules absent from the archive, so its start path appears incomplete.

## 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:** bin/tusk.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/tusk.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L9: 
L10: import { spawn, execSync, exec } from 'node:child_process';
L11: import path from 'node:path';
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** bin/tusk.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/tusk.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L53: 
L54: const execAsync = promisify(exec);
L55: const __filename = fileURLToPath(import.meta.url);
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** server.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/server.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: // process.env.NODE_PTY_FORCE_WINPTY = '1';
L2: import express from 'express';
L3: // import { exec } from 'child_process';
L4: import { spawn, exec, execSync } from 'child_process';
...
L10: import AdmZip from 'adm-zip';
L11: import net from 'net';
L12: import { MongoClient } from 'mongodb';
```

### 8. Critical: Persistence Backdoor
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** bin/utils.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/utils.js>)

Source writes persistence or remote-access backdoor material.

Public source snippet (untrusted):

```javascript
L3: import os from 'node:os';
L4: import { exec, execSync, spawn } from 'node:child_process';
L5: import { promisify } from 'node:util';
...
L24: 
L25: const targetProjectDirectoryAbsolute = path.resolve(process.cwd(), projectFolderPath);
L26: const primaryEntrypointScriptAbsolute = path.resolve(targetProjectDirectoryAbsolute, entryScriptFilename);
...
L89: * Helper utility to securely capture a hidden terminal password string input.
L90: * Suppresses standard stdout echo streams and displays replacement asterisks instead.
L91: */
...
L98: 
L99: process.stdout.write(queryPrompt);
L100: let rawSecretBuffer = "";
```

### 9. High: Spawned Bundled Service Listener
- **Category:** Source
- **Confidence:** 78.0%
- **Path:** bin/tusk.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/tusk.js>)

Source launches a detached bundled service that exposes a broad-bound HTTP listener.

Public source snippet (untrusted):

```javascript
Detached bundled service listener: bin/tusk.js spawns server.js; helper exposes a broad-bound HTTP listener.
L9: 
L10: import { spawn, execSync, exec } from 'node:child_process';
L11: import path from 'node:path';
...
L55: const __filename = fileURLToPath(import.meta.url);
L56: const __dirname = path.dirname(__filename);
L57: const rootDirectory = path.resolve(__dirname, '..');
...
L71: let localLicenseTokenValue = '';
L72: const remoteLicenseServerEndpoint = 'https://coodesrc.com/tusk/status.php';
L73: const localLicenseFilePath = path.join(process.env.HOME || process.env.USERPROFILE || '.', '.tusk-license');
L74: 
...
L97: headers: { 'Content-Type': 'application/json' },
L98: body: JSON.stringify({
```

### 10. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** bin/utils.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/utils.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 -> bin/tusk.js -> bin/utils.js
L3: import os from 'node:os';
L4: import { exec, execSync, spawn } from 'node:child_process';
L5: import { promisify } from 'node:util';
...
L24: 
L25: const targetProjectDirectoryAbsolute = path.resolve(process.cwd(), projectFolderPath);
L26: const primaryEntrypointScriptAbsolute = path.resolve(targetProjectDirectoryAbsolute, entryScriptFilename);
...
L89: * Helper utility to securely capture a hidden terminal password string input.
L90: * Suppresses standard stdout echo streams and displays replacement asterisks instead.
L91: */
...
L98: 
L99: process.stdout.write(queryPrompt);
L100: let rawSecretBuffer = "";
```

### 11. High: Trigger Reachable Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** bin/utils.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/utils.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable persistence chain: manifest.main -> bin/tusk.js -> bin/utils.js
L3: import os from 'node:os';
L4: import { exec, execSync, spawn } from 'node:child_process';
L5: import { promisify } from 'node:util';
...
L24: 
L25: const targetProjectDirectoryAbsolute = path.resolve(process.cwd(), projectFolderPath);
L26: const primaryEntrypointScriptAbsolute = path.resolve(targetProjectDirectoryAbsolute, entryScriptFilename);
...
L89: * Helper utility to securely capture a hidden terminal password string input.
L90: * Suppresses standard stdout echo streams and displays replacement asterisks instead.
L91: */
...
L98: 
L99: process.stdout.write(queryPrompt);
L100: let rawSecretBuffer = "";
```

### 12. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** bin/tusk.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/tusk.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L803: 
L804: // Run degit via npx to support monorepos, subfolders, and normal repos seamlessly
L805: const scaffoldProcess = spawn(
L806: 'npx',
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 15. 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.

### 16. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** bin/threat.js
- **Public source:** [View source](<https://unpkg.com/elephant-tusk-runner@1.0.5/bin/threat.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = elephant-tusk-runner@1.0.1
matchedIdentity = npm:ZWxlcGhhbnQtdHVzay1ydW5uZXI:1.0.1
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
```

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

- **Dependencies:** 19
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 19

### Published dependency entries
- @seald-io/nedb ^4.1.2 (Dependency)
- @xterm/addon-fit ^0.11.0 (Dependency)
- @xterm/xterm ^6.0.0 (Dependency)
- adm-zip ^0.6.0 (Dependency)
- cors ^2.8.6 (Dependency)
- dotenv ^17.4.2 (Dependency)
- express ^5.2.1 (Dependency)
- ink ^5.0.0 (Dependency)
- ink-spinner ^5.0.0 (Dependency)
- mongodb ^7.5.0 (Dependency)
- mongoose ^9.8.1 (Dependency)
- multer ^2.2.0 (Dependency)
- mysql2 ^3.23.1 (Dependency)
- node-fetch ^3.3.2 (Dependency)
- node-pty ^1.1.0 (Dependency)
- open ^11.0.0 (Dependency)
- react ^18.2.0 (Dependency)
- terminal-image ^5.0.1 (Dependency)
- ws ^8.21.1 (Dependency)

## Package metadata
- **Package:** elephant-tusk-runner
- **Ecosystem:** npm
- **Version:** 1.0.5
- **License:** ISC
- **Version published:** 2026-08-10T12:56:32.216Z
- **Package first seen:** 2026-08-07T00:35:08.254Z
- **Package last seen:** 2026-08-11T11:48:11.853Z
- **Known versions:** 7
- **Latest version:** 1.0.7
- **Appeal under review:** No
- **Description:** CLI Terminal Dashboard using Tusk runner. With user interface built into it - 'elephant tusk \<port\>' for UI.
- **Maintainers:** tech\_bros
- **Keywords:** ink, cli, tui, react, terminal
- **Artifact files:** 9
- **Artifact unpacked size:** 288,964 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/elephant-tusk-runner/v/1.0.5>)
