扫描报告
15 /100
mofang-records
魔方网表记录管理 - MagicSquare no-code platform record management for CRUD operations
A legitimate MagicSquare (魔方网表) REST API wrapper skill with minor documentation inconsistencies but no malicious behavior detected.
可以安装
Fix the missing cli.mjs file and update SKILL.md to reflect that handlers use fetch-based HTTP calls rather than exec-based CLI invocations. Otherwise safe to use.
安全发现 5 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 低危 | Missing cli.mjs entrypoint 文档欺骗 | package.json:7 |
| 低危 | SKILL.md declares exec-based CLI but handlers use fetch 文档欺骗 | SKILL.md:1 |
| 低危 | Undeclared filesystem WRITE access 权限提升 | handlers/utils/cache.ts:33 |
| 低危 | Unpinned dependency node-fetch 供应链 | package.json:16 |
| 提示 | Environment variable access for home directory 敏感访问 | handlers/utils/cache.ts:29 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | NONE | WRITE | ✗ 越权 | handlers/utils/cache.ts:33 writes to ~/.mofang-skills/ |
| 网络访问 | NONE | READ | ✗ 越权 | handlers/utils/http-client.ts:107 uses fetch to BASE_URL |
| 命令执行 | WRITE | NONE | ✗ 越权 | SKILL.md declares exec required but cli.mjs does not exist |
| 技能调用 | NONE | NONE | — | No skill-to-skill invocation detected |
| 环境变量 | NONE | READ | ✓ 一致 | handlers/utils/cache.ts:29 reads HOME/UserProfile |
| 剪贴板 | NONE | NONE | — | No clipboard access |
| 浏览器 | NONE | NONE | — | No browser access |
| 数据库 | NONE | NONE | — | No direct database access |
12 项发现
中危 外部 URL 外部 URL
https://registry.npmmirror.com/@types/node/-/node-20.19.37.tgz package-lock.json:20 中危 外部 URL 外部 URL
https://registry.npmmirror.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz package-lock.json:30 中危 外部 URL 外部 URL
https://registry.npmmirror.com/fetch-blob/-/fetch-blob-3.2.0.tgz package-lock.json:39 中危 外部 URL 外部 URL
https://paypal.me/jimmywarting package-lock.json:48 中危 外部 URL 外部 URL
https://registry.npmmirror.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz package-lock.json:62 中危 外部 URL 外部 URL
https://registry.npmmirror.com/node-domexception/-/node-domexception-1.0.0.tgz package-lock.json:74 中危 外部 URL 外部 URL
https://registry.npmmirror.com/node-fetch/-/node-fetch-3.3.2.tgz package-lock.json:94 中危 外部 URL 外部 URL
https://opencollective.com/node-fetch package-lock.json:107 中危 外部 URL 外部 URL
https://registry.npmmirror.com/typescript/-/typescript-5.9.3.tgz package-lock.json:112 中危 外部 URL 外部 URL
https://registry.npmmirror.com/undici-types/-/undici-types-6.21.0.tgz package-lock.json:126 中危 外部 URL 外部 URL
https://registry.npmmirror.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz package-lock.json:133 中危 外部 URL 外部 URL
https://example.mf999.com skill.json:11 目录结构
39 文件 · 116.3 KB · 3602 行 TypeScript 22f · 1869L
JavaScript 11f · 1100L
JSON 5f · 434L
Markdown 1f · 199L
├─
▾
dist
│ ├─
▾
utils
│ │ ├─
base64.d.ts
TypeScript
│ │ ├─
base64.js
JavaScript
│ │ ├─
bq-builder.d.ts
TypeScript
│ │ ├─
bq-builder.js
JavaScript
│ │ ├─
cache.d.ts
TypeScript
│ │ ├─
cache.js
JavaScript
│ │ ├─
field-defs.d.ts
TypeScript
│ │ ├─
field-defs.js
JavaScript
│ │ ├─
http-client.d.ts
TypeScript
│ │ ├─
http-client.js
JavaScript
│ │ ├─
resolve.d.ts
TypeScript
│ │ └─
resolve.js
JavaScript
│ ├─
fields.d.ts
TypeScript
│ ├─
fields.js
JavaScript
│ ├─
forms.d.ts
TypeScript
│ ├─
forms.js
JavaScript
│ ├─
health.d.ts
TypeScript
│ ├─
health.js
JavaScript
│ ├─
records.d.ts
TypeScript
│ ├─
records.js
JavaScript
│ ├─
spaces.d.ts
TypeScript
│ └─
spaces.js
JavaScript
├─
▾
handlers
│ ├─
▾
utils
│ │ ├─
base64.ts
TypeScript
│ │ ├─
bq-builder.ts
TypeScript
│ │ ├─
cache.ts
TypeScript
│ │ ├─
field-defs.ts
TypeScript
│ │ ├─
http-client.ts
TypeScript
│ │ └─
resolve.ts
TypeScript
│ ├─
fields.ts
TypeScript
│ ├─
forms.ts
TypeScript
│ ├─
health.ts
TypeScript
│ ├─
records.ts
TypeScript
│ └─
spaces.ts
TypeScript
├─
package-lock.json
JSON
├─
package.json
JSON
├─
skill.json
JSON
├─
SKILL.md
Markdown
├─
tools.json
JSON
└─
tsconfig.json
JSON
依赖分析 3 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
node-fetch | ^3.3.2 | npm | 否 | Version not pinned, minor/patch updates allowed |
@types/node | ^20.11.0 | npm | 否 | Dev dependency, only needed for type checking |
typescript | ^5.3.0 | npm | 否 | Dev dependency, build-time only |
安全亮点
✓ No eval(), exec(), spawn(), or other code execution primitives found
✓ No base64-encoded strings being decoded and executed
✓ No credential exfiltration - passwords are only used for JWT token acquisition
✓ No access to ~/.ssh, ~/.aws, .env, or other sensitive credential paths
✓ No reverse shell, C2 communication, or data exfiltration patterns
✓ No obfuscation techniques detected (no obfuscated code, no suspicious string manipulation)
✓ No supply chain IOCs (typosquatting, malicious packages) - only standard npm dependencies
✓ Token caching is in-memory only, not written to disk (tokens stay in cachedToken variable)
✓ Cache files are scoped to BASE_URL hash, not global, reducing collision risk
✓ Comprehensive input validation on API parameters