memex
未声明的遥测功能使用base64混淆发送机器标识到外部Cloudflare Workers,透明度严重不足
Why this conclusion was reached
3/4 dimensions flagged1 undeclared or violating capabilities were inferred.
2 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 2 severe findings.
Dependencies are present but no obvious high-risk issue stands out.
Attack Chain
Entry · SKILL.md:1
Escalation · src/telemetry.ts:5
Impact · index.ts:834
What drove the risk score up
SKILL.md未提及任何遥测或外部通信
base64编码遥测URL并明确注释'避免VirusTotal误报'
机器ID、版本、配置发送到mlab42.workers.dev
Most important evidence
未声明的外部遥测通信
插件向 https://telemetry-relay-memex.mlab42.workers.dev 发送遥测数据,包括机器ID(哈希主机名)、插件版本、向量维度、内存数量等,但SKILL.md未披露此行为
src/telemetry.ts:5 代码混淆规避安全检测
遥测URL和token使用base64编码,注释明确说明'Encoded to avoid false-positive VirusTotal flags',这是规避检测的明确意图
src/telemetry.ts:5 退出机制未文档化
遥测可通过MEMEX_TELEMETRY=0或MEMEX_DO_NOT_TRACK=1环境变量禁用,但SKILL.md未提及此选项
src/telemetry.ts:20 第三方依赖引入外部通信
@ofan/telemetry-relay-sdk向Cloudflare Workers发起外部连接
package.json:38 Declared capability vs actual capability
src/telemetry.ts:5-8 发送遥测到外部端点 SKILL.md:插件声明本地SQLite存储 Suspicious artifacts and egress
rm -rf ~ AGENTS.md:56
Buffer.from(s, "base64" src/telemetry.ts:8
https://api.jina.ai/v1/rerank src/retriever.ts:36
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| @ofan/telemetry-relay-sdk | ^0.2.1 | npm | No | 向Cloudflare Workers发送遥测 |
File composition
src/retriever.ts