registry  /  aifp-mcp  /  1.2.0

aifp-mcp@1.2.0

AiFP 记忆感知系统 — 没有记录,只做记忆感知 MCP Server

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis flagged 15 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicense
scanned 20 file(s), 126 KB of source, external domains: hf-mirror.com, huggingface.co, registry.npmjs.org, your-server.com

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
dist/setup.jsView file
4import { fileURLToPath } from 'url'; L5: import { execSync } from 'child_process'; L6: const __filename = fileURLToPath(import.meta.url);
High
Child Process

Package source references child process execution.

dist/setup.jsView on unpkg · L4
99}); L100: const codexCommand = isSourceMode ? `npx tsx "${SRC_ENTRY}"` : `node "${DIST_ENTRY}"`; L101: if (detect('codex')) { L102: try { L103: execSync(`codex mcp add ai-cognition -- ${codexCommand}`, { stdio: 'ignore', timeout: 5000 }); L104: results.push({ name: 'Codex CLI', configured: true, message: '已通过 codex mcp add 配置' });
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/setup.jsView on unpkg · L99
dist/import.jsView file
137else { L138: items = parseJsonItems(JSON.parse(text)); L139: }
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/import.jsView on unpkg · L137

Findings

4 High4 Medium7 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/setup.js
HighShell
HighRuntime Package Installdist/setup.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowWeak Cryptodist/import.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License