registry  /  homebridge-mammotion-ng  /  0.3.9

homebridge-mammotion-ng@0.3.9

Hybrid Homebridge plugin for Mammotion mowers (Luba, Yuka): Matter RVC + HomeKit trigger sensors + Abort switch, via PyMammotion

Static Scan Results

scanned 2h 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
ChildProcessEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 15 file(s), 67.8 KB of source, external domains: api.github.com

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node ./scripts/bootstrap-python.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts/bootstrap-python.jsView file
22Manifest entrypoint (scripts.postinstall) carries capability families absent from dist/build output: environment+network, execution+network L22: const { join } = require('node:path'); L23: const { spawnSync } = require('node:child_process'); L24: const https = require('node:https'); L25: const os = require('node:os'); ... L31: L32: const root = join(__dirname, '..'); L33: const venvDir = join(root, '.python-bridge-venv'); L34: const standaloneDir = join(root, '.python-standalone'); L35: const isWin = process.platform === 'win32'; L36: const venvPython = isWin ? join(venvDir, 'Scripts', 'python.exe') : join(venvDir, 'bin', 'python'); ... L44: const r = spawnSync(python, ['-c', script], { encoding: 'utf8' }); L45: if (r.status !== 0 || !r.stdout) {
High
Entrypoint Build Divergence

Manifest entrypoint contains risky behavior absent from dist/build output.

scripts/bootstrap-python.jsView on unpkg · L22
22const { join } = require('node:path'); L23: const { spawnSync } = require('node:child_process'); L24: const https = require('node:https'); L25: const os = require('node:os'); ... L31: L32: const root = join(__dirname, '..'); L33: const venvDir = join(root, '.python-bridge-venv'); L34: const standaloneDir = join(root, '.python-standalone'); L35: const isWin = process.platform === 'win32'; L36: const venvPython = isWin ? join(venvDir, 'Scripts', 'python.exe') : join(venvDir, 'bin', 'python'); ... L44: const r = spawnSync(python, ['-c', script], { encoding: 'utf8' }); L45: if (r.status !== 0 || !r.stdout) {
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

scripts/bootstrap-python.jsView on unpkg · L22
dist/python/bridge.pyView file
path = dist/python/bridge.py kind = build_helper sizeBytes = 27165 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

dist/python/bridge.pyView on unpkg

Findings

3 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighEntrypoint Build Divergencescripts/bootstrap-python.js
HighSandbox Evasion Gated Capabilityscripts/bootstrap-python.js
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperdist/python/bridge.py
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings