registry  /  @farmost/social-agent  /  2.5.0

@farmost/social-agent@2.5.0

社交关系AI管家 - Claude Code Skill。自动追踪社交关系,帮你拟消息、记待办、维护人脉。

Static Scan Results

scanned 10d ago · by rust-scanner

Static analysis flagged 9 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
ChildProcessFilesystem
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 3.38 KB of source, external domains: www.python.org

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
bin/postinstall.jsView file
5*/ L6: const { execSync } = require('child_process'); L7: const fs = require('fs'); ... L9: L10: const ROOT = path.join(__dirname, '..'); L11: const python = process.platform === 'win32' ? 'python' : 'python3'; L12: ... L28: } catch { L29: console.warn('⚠ 未检测到 Python 3,请先安装: https://www.python.org/downloads/'); L30: }
High
Sandbox Evasion Gated Capability

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

bin/postinstall.jsView on unpkg · L5
src/intent.pyView file
path = src/intent.py kind = build_helper sizeBytes = 14934 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

src/intent.pyView on unpkg

Findings

2 High3 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitybin/postinstall.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumShips Build Helpersrc/intent.py
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings