registry  /  stella-coder  /  5.3.1

stella-coder@5.3.1

Stella Coder 5.0 — AI coding agent with Telegram bot, huge context, TDD, Git ecosystem, presentations, computer control, smart home, Office automation, and antivirus

AI Security Review

scanned 2h ago · by lpm-firewall-ai

An explicitly started Telegram bot provides remote access to the CLI agent. Its fixed Bot API credential routes commands and resulting output through a Telegram bot outside the user's control.

Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
User runs `/tg` in the CLI or explicitly launches `stella-cli/tg-server.mjs`.
Impact
A party controlling an authorized Telegram account can cause the agent to perform its enabled local actions; command/output data is sent through Telegram.
Mechanism
Authenticated Telegram input launches the CLI in permission-bypassing print mode.
Rationale
Source inspection confirms a high-risk, explicitly activated remote-control channel with permission bypass in its execution path. It does not establish autonomous install-time behavior, credential harvesting, or an unconsented broad agent-control-surface mutation.
Evidence
package.jsonstella-cli/telegram-bot.mjsstella-cli/index.mjsstella-cli/tg-server.mjsstella-cli/tools.mjs~/.stella/telegram-auth.json~/.stella/sessions.json~/.stella/tg-bot.pid~/.stella/tg-bot.log
Network endpoints1
api.telegram.org/bot${BOT_TOKEN}

Decision evidence

public snapshot
AI called this Suspicious at 91.0% confidence as Dangerous Capability with low false-positive risk.
Evidence for warning
  • `stella-cli/telegram-bot.mjs` embeds a fixed Telegram Bot API credential and posts to `api.telegram.org`.
  • Authenticated Telegram messages invoke `stella-cli/index.mjs -p` through `execSync`.
  • `stella-cli/index.mjs` makes `askPermission` automatically allow actions in `-p` mode.
  • The bot persists authentication/session data under `~/.stella` and can run continuously via `stella-cli/tg-server.mjs`.
Evidence against
  • `package.json` has no preinstall, install, or postinstall lifecycle hook.
  • Telegram polling starts only through explicit `/tg` CLI use or explicit `tg-server` execution.
  • The bot checks locally stored authorized Telegram IDs before forwarding messages.
  • No source-confirmed environment-variable harvesting or outbound file upload was found in the bot path.
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNativeBindingsNetworkShellWebSocket
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 43 file(s), 1.10 MB of source, external domains: 127.0.0.1, accounts.google.com, api-maps.yandex.ru, api.duckduckgo.com, api.github.com, api.telegram.org, cdn.jsdelivr.net, console.cloud.google.com, discord.gg, fonts.googleapis.com, geocode-maps.yandex.ru, github.com, gitlab.com, gmail.googleapis.com, html.duckduckgo.com, oauth2.googleapis.com, ollama.com, opencode.ai, static-maps.yandex.ru, www.google.com, www.googleapis.com, www.kinopoisk.ru, www.virustotal.com, www.w3.org, www.youtube.com

Source & flagged code

15 flagged · loading source
dist/security.mjsView file
4import os from "node:os" L5: import { execSync } from "node:child_process" L6: import { fileURLToPath } from "node:url"
High
Child Process

Package source references child process execution.

dist/security.mjsView on unpkg · L4
dist/antimalware/scanner.mjsView file
336"ollama.exe", "ollama_llama_server.exe", L337: "powershell.exe", "pwsh.exe", "cmd.exe", L338: "WindowsTerminal.exe", "wt.exe",
High
Shell

Package source references shell execution.

dist/antimalware/scanner.mjsView on unpkg · L336
dist/antimalware/database.mjsView file
matchType = normalized_sha256 matchedPackage = stella-coder@5.2.1 matchedPath = antimalware/database.mjs matchedIdentity = npm:c3RlbGxhLWNvZGVy:5.2.1 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

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

dist/antimalware/database.mjsView on unpkg
165{ id: "SIG-037", name: "Service install", severity: "high", category: "privesc", L166: pattern: /CreateService[\s\S]{0,100}(SERVICE_AUTO_START|SERVICE_WIN32_OWN_PROCESS)[\s\S]{0,100}(cmd|powershell|bash)/ }, L167: ... L188: { id: "SIG-044", name: "Scheduled task", severity: "high", category: "persistence", L189: pattern: /schtasks[\s\S]{0,100}(\/create|\/Create)[\s\S]{0,100}(cmd|powershell|bash|python|perl)/ }, L190: ... L207: { id: "SIG-050", name: "DNS tunneling", severity: "high", category: "backdoor", L208: pattern: /DnsQuery[\s\S]{0,100}(TXT|MX|CNAME)[\s\S]{0,100}(encode|decode|base64)[\s\S]{0,100}(socket|connect)/ }, L209: ... L240: { id: "SIG-060", name: "HTTP POST exfil", severity: "high", category: "exfil", L241: pattern: /(fetch|XMLHttpRequest|axios|http\.request|request\()[\s\S]{0,200}(POST|PUT)[\s\S]{0,200}(password|token|secret|credential|cookie)/ }, L242:
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/antimalware/database.mjsView on unpkg · L165
dist/index.mjsView file
6Cross-file remote execution chain: dist/index.mjs spawns dist/tools.mjs; helper contains network access plus dynamic code execution. L6: import os from "node:os" L7: import { execSync } from "node:child_process" L8: import { streamText, stepCountIs, generateText } from "ai" ... L22: const VERSION = "3.9.2" L23: const CONFIG_DIR = path.join(os.homedir(), ".stella") L24: const CONFIG_PATH = path.join(CONFIG_DIR, "config.json") ... L26: L27: const ZEN_BASE_URL = "https://opencode.ai/zen/v1" L28: ... L53: function loadConfig() { L54: try { return JSON.parse(fs.readFileSync(CONFIG_PATH, "utf8")) } catch { return {} } L55: }
High
Cross File Remote Execution Context

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

dist/index.mjsView on unpkg · L6
1371try { L1372: const { execSync } = await import("node:child_process") L1373: execSync(lintCmd, { encoding: "utf8", stdio: "inherit" }) ... L1379: case "/format": { L1380: const formatCmd = arg || "npx prettier --write ." L1381: console.log(dim(`\n Форматирую: ${formatCmd}\n`))
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/index.mjsView on unpkg · L1371
matchType = normalized_sha256 matchedPackage = stella-coder@5.2.1 matchedPath = dist/index.mjs matchedIdentity = npm:c3RlbGxhLWNvZGVy:5.2.1 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

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

dist/index.mjsView on unpkg
6import os from "node:os" L7: import { execSync } from "node:child_process" L8: import { streamText, stepCountIs, generateText } from "ai" ... L22: const VERSION = "3.9.2" L23: const CONFIG_DIR = path.join(os.homedir(), ".stella") L24: const CONFIG_PATH = path.join(CONFIG_DIR, "config.json") ... L26: L27: const ZEN_BASE_URL = "https://opencode.ai/zen/v1" L28: ... L53: function loadConfig() { L54: try { return JSON.parse(fs.readFileSync(CONFIG_PATH, "utf8")) } catch { return {} } L55: }
Medium
Install Persistence

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

dist/index.mjsView on unpkg · L6
stella-cli/telegram-bot.mjsView file
4import crypto from "node:crypto" L5: import { execSync } from "node:child_process" L6: ... L11: const BOT_TOKEN = "8923551485:AAFw4wG8ZwOtp5rzFsnguxhu4AH-2_ebSi0" L12: const API_URL = `https://api.telegram.org/bot${BOT_TOKEN}` L13: const PREMIUM_CODE = "10102013" ... L15: L16: const CONFIG_DIR = path.join(os.homedir(), ".stella") L17: const BOT_CONFIG_PATH = path.join(CONFIG_DIR, "telegram-bot.json") ... L29: headers: { "Content-Type": "application/json" }, L30: body: JSON.stringify(body), L31: signal: AbortSignal.timeout(30000),
Critical
Credential Exfiltration

Source appears to send environment or credential material to an external endpoint.

stella-cli/telegram-bot.mjsView on unpkg · L4
4Trigger-reachable chain: manifest.main -> stella-cli/index.mjs -> stella-cli/telegram-bot.mjs L4: import crypto from "node:crypto" L5: import { execSync } from "node:child_process" L6: ... L11: const BOT_TOKEN = "8923551485:AAFw4wG8ZwOtp5rzFsnguxhu4AH-2_ebSi0" L12: const API_URL = `https://api.telegram.org/bot${BOT_TOKEN}` L13: const PREMIUM_CODE = "10102013" ... L15: L16: const CONFIG_DIR = path.join(os.homedir(), ".stella") L17: const BOT_CONFIG_PATH = path.join(CONFIG_DIR, "telegram-bot.json") ... L29: headers: { "Content-Type": "application/json" }, L30: body: JSON.stringify(body), L31: signal: AbortSignal.timeout(30000),
Critical
Trigger Reachable Dangerous Capability

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

stella-cli/telegram-bot.mjsView on unpkg · L4
.opencode/skills/ui-ux-pro-max/scripts/design_system.pyView file
path = .opencode/skills/ui-ux-pro-max/scripts/design_system.py kind = payload_in_excluded_dir sizeBytes = 57424 magicHex = [redacted]
High
Payload In Excluded Dir

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

.opencode/skills/ui-ux-pro-max/scripts/design_system.pyView on unpkg
path = .opencode/skills/ui-ux-pro-max/scripts/design_system.py kind = build_helper sizeBytes = 57424 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

.opencode/skills/ui-ux-pro-max/scripts/design_system.pyView on unpkg
antimalware/database.mjsView file
matchType = normalized_sha256 matchedPackage = stella-coder@5.2.1 matchedPath = antimalware/database.mjs matchedIdentity = npm:c3RlbGxhLWNvZGVy:5.2.1 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

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

antimalware/database.mjsView on unpkg
dist/tools.mjsView file
matchType = normalized_sha256 matchedPackage = stella-coder@5.2.1 matchedPath = dist/tools.mjs matchedIdentity = npm:c3RlbGxhLWNvZGVy:5.2.1 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

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

dist/tools.mjsView on unpkg
stella-cli/build.mjsView file
matchType = normalized_sha256 matchedPackage = stella-coder@5.2.1 matchedPath = stella-cli/build.mjs matchedIdentity = npm:c3RlbGxhLWNvZGVy:5.2.1 similarity = 1.000 summary = normalized source hash matched finalized malicious source
High
Known Malware Source Similarity

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

stella-cli/build.mjsView on unpkg

Findings

2 Critical10 High5 Medium5 Low
CriticalCredential Exfiltrationstella-cli/telegram-bot.mjs
CriticalTrigger Reachable Dangerous Capabilitystella-cli/telegram-bot.mjs
HighChild Processdist/security.mjs
HighShelldist/antimalware/scanner.mjs
HighCross File Remote Execution Contextdist/index.mjs
HighRuntime Package Installdist/index.mjs
HighPayload In Excluded Dir.opencode/skills/ui-ux-pro-max/scripts/design_system.py
HighKnown Malware Source Similarityantimalware/database.mjs
HighKnown Malware Source Similaritydist/antimalware/database.mjs
HighKnown Malware Source Similaritydist/index.mjs
HighKnown Malware Source Similaritydist/tools.mjs
HighKnown Malware Source Similaritystella-cli/build.mjs
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/index.mjs
MediumShips Build Helper.opencode/skills/ui-ux-pro-max/scripts/design_system.py
MediumStructural Risk Force Deep Review
LowScripts Present
LowWeak Cryptodist/antimalware/database.mjs
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings