registry  /  dirac-lang  /  0.1.90

dirac-lang@0.1.90

LLM-Augmented Declarative Execution

Static Scan Results

scanned 10d ago · by rust-scanner

Static analysis flagged 9 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
ChildProcessDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStrings
ManifestNo manifest risk signals triggered.
scanned 23 file(s), 233 KB of source

Source & flagged code

4 flagged · loading source
dist/chunk-PKLOBITC.jsView file
1577// src/tags/system.ts L1578: import { exec, spawn } from "child_process"; L1579: import { promisify } from "util";
High
Child Process

Package source references child process execution.

dist/chunk-PKLOBITC.jsView on unpkg · L1577
1579import { promisify } from "util"; L1580: var execAsync = promisify(exec); L1581: async function executeSystem(session, element) {
High
Shell

Package source references shell execution.

dist/chunk-PKLOBITC.jsView on unpkg · L1579
299async function registerExtendChain(session, subroutine, currentName) { L300: const { executeSubroutine: executeSubroutine2 } = await import("./subroutine-7JJKHTV4.js"); L301: const extendsAttr = subroutine.attributes.extends;
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/chunk-PKLOBITC.jsView on unpkg · L299
dist/shell-KREANC2A.jsView file
20Cross-file remote execution chain: dist/shell-KREANC2A.js spawns dist/chunk-PKLOBITC.js; helper contains network access plus dynamic code execution. L20: import yaml from "js-yaml"; L21: var HISTORY_FILE = path.join(os.homedir(), ".dirac_history"); L22: var MAX_HISTORY = 1e3; ... L41: input: process.stdin, L42: output: process.stdout, L43: prompt: "> ", ... L86: ]; L87: const envVarNames = Object.keys(process.env).filter( L88: (name) => commonEnvVars.includes(name) || name.startsWith("DIRAC_") || name.startsWith("TELEGRAM_") ... L587: try { L588: formattedValue = JSON.stringify(JSON.parse(v.value), null, 2); L589: } catch {
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/shell-KREANC2A.jsView on unpkg · L20

Findings

3 High3 Medium3 Low
HighChild Processdist/chunk-PKLOBITC.js
HighShelldist/chunk-PKLOBITC.js
HighCross File Remote Execution Contextdist/shell-KREANC2A.js
MediumDynamic Requiredist/chunk-PKLOBITC.js
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowHigh Entropy Strings