registry  /  webtun  /  1.4.2

webtun@1.4.2

Self-hosted web terminal with Cloudflare Tunnel, file explorer, and PWA support

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 12 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShellWebSocket
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 5 file(s), 79.6 KB of source, external domains: cdn.jsdelivr.net, developers.cloudflare.com, github.com, raw.githubusercontent.com

Source & flagged code

5 flagged · loading source
package.jsonView file
scripts.postinstall = node postinstall.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node postinstall.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/webtun.jsView file
72function startTunnel(port) { L73: const { execSync, spawn } = require('child_process'); L74: const os = require('os');
High
Child Process

Package source references child process execution.

bin/webtun.jsView on unpkg · L72
server.jsView file
111const PIN = process.env.PIN || ''; L112: const SHELL = process.env.SHELL || (os.platform() === 'win32' ? 'powershell.exe' : (fs.existsSync('/bin/bash') ? '/bin/bash' : 'sh')); L113: const HOST = process.env.HOST || '0.0.0.0';
High
Shell

Package source references shell execution.

server.jsView on unpkg · L111
107const server = http.createServer(app); L108: const wss = new WebSocket.Server({ server, path: '/ws' }); L109: L110: const PORT = process.env.PORT || 3000; L111: const PIN = process.env.PIN || ''; L112: const SHELL = process.env.SHELL || (os.platform() === 'win32' ? 'powershell.exe' : (fs.existsSync('/bin/bash') ? '/bin/bash' : 'sh')); L113: const HOST = process.env.HOST || '0.0.0.0';
High
Same File Env Network Execution

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

server.jsView on unpkg · L107

Findings

4 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processbin/webtun.js
HighShellserver.js
HighSame File Env Network Executionserver.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings