registry  /  koishi-plugin-mai-bridge  /  0.1.8

koishi-plugin-mai-bridge@0.1.8

将 maibot 作为 docker 托管的消息回复后端运行,使用 mai.ko 桥接消息收发。

Static Scan Results

scanned 2h 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
ChildProcessCryptoEnvironmentVarsFilesystemShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
CopyleftLicense
scanned 51 file(s), 255 KB of source, external domains: github.com

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
src/bridge/agreements.tsView file
23const privacyHash = md5(privacy) L24: const currentEnv = options.env || process.env L25: const eulaConfirmed = isAgreementConfirmed(root, 'eula.confirmed', 'EULA_AGREE', eulaHash, currentEnv)
Low
Weak Crypto

Package source references weak cryptographic algorithms.

src/bridge/agreements.tsView on unpkg · L23

Findings

1 High3 Medium6 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowWeak Cryptosrc/bridge/agreements.ts
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowCopyleft License