registry  /  @iobroker/legacy-testing  /  2.1.1

@iobroker/legacy-testing@2.1.1

Module to test ioBroker adapters with legacy tests. For new tests please use @iobroker/testing

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 10 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
ChildProcessDynamicRequireEnvironmentVarsFilesystem
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 4 file(s), 51.1 KB of source, external domains: 127.0.0.1

Source & flagged code

3 flagged · loading source
build/setup.jsView file
24const node_path_1 = require("node:path"); L25: const node_child_process_1 = require("node:child_process"); L26: const node_net_1 = require("node:net");
High
Child Process

Package source references child process execution.

build/setup.jsView on unpkg · L24
399console.log(`installJsController: no js-controller => install "${jsControllerVersion}" build from npm`); L400: (0, node_child_process_1.execSync)(`npm install iobroker.js-controller@${jsControllerVersion} --prefix ./ --omit=dev`, { L401: cwd: `${rootDir}tmp/`,
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

build/setup.jsView on unpkg · L399
build/tests/testPackageFiles.jsView file
2Object.defineProperty(exports, "__esModule", { value: true }); L3: const chai_1 = require("chai"); L4: const node_fs_1 = require("node:fs");
Medium
Dynamic Require

Package source references dynamic require/import behavior.

build/tests/testPackageFiles.jsView on unpkg · L2

Findings

2 High3 Medium5 Low
HighChild Processbuild/setup.js
HighRuntime Package Installbuild/setup.js
MediumDynamic Requirebuild/tests/testPackageFiles.js
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings