registry  /  koishi-plugin-mai-bridge  /  0.1.15

koishi-plugin-mai-bridge@0.1.15

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

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 11 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
CopyleftLicense
scanned 51 file(s), 289 KB of source, external domains: github.com

Source & flagged code

4 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
out/bridge/convert.jsView file
matchType = previous_version_dangerous_delta matchedPackage = koishi-plugin-mai-bridge@0.1.11 matchedIdentity = npm:[redacted]:0.1.11 similarity = 0.843 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

out/bridge/convert.jsView on unpkg

Findings

2 High3 Medium6 Low
HighInstall Time Lifecycle Scriptspackage.json
HighPrevious Version Dangerous Deltaout/bridge/convert.js
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