user_8bb4b4f5
How to author and edit interactive Mathigon course content in the textbooks repo — the custom Markdown dialect in content.md, the functions.ts interactive model (Step lifecycle, scoring, goals), the x-* custom components, the @mathigon/* library APIs, and the build/config pipeline. Use whenever the user wants to add, modify, fix, or translate Mathigon course content, build interactives, write functions.ts handlers, use x-geopad/x-slider/x-equation/x-coordinate-system components, edit styles.scss, run the dev server, configure config.yaml, or otherwise work inside D:\textbooks-master\content or translations/. Trigger on any mention of Mathigon, content.md, functions.ts, mgon-build, mgon-serve, x-step, x-geopad, gloss/bio links, goal/score, or Mathigon courses generally — even if the user doesn't say "skill".
PERMISSION FACTS
以下为该版本声明的能力边界,是判断风险的一手事实,未经任何评分加工。
权限声明
未声明权限
网络访问目标
未声明网络目标
该版本未声明任何权限与网络目标。这不代表它不会访问——静态声明与运行时行为可能不一致,运行时行为见第 3 段。
STATIC FINDINGS
scanner 1.1.0 · 完成于 2026-10-13 14:02
扫描为纯静态分析(不运行技能代码),因此只反映静态可检出风险。
INTEGRITY_NO_COMMITINTEGRITY版本未 pin 上游 commit
证据:sourceCommit 缺失
建议:同步来源时记录 sourceCommit
CONTENT_ARBITRARY_DOWNLOADERCONTENT · SKILL.md:93从非主流域下载内容,需人工确认
证据:- **Course page URL format is `/course/<course-id>/<section-slug>`** (note the `/course/` prefix). The `<section-slug>` comes from **either** an explicit `> section: foo` directive **or** (if absent)
建议:明确并列出下载目标域,避免任意下载
CONTENT_NETWORK_INTERNAL_SERVICENETWORK · SKILL.md:79访问本机/云 metadata 地址(169.254.169.254 高危)
证据:- **No test suite.** CI runs only `npm run lint` + `npm run assets`. Verify interactives by running `npm start` and clicking through at localhost:5000.
建议:如非必需移除对内部地址的访问
RUNTIME OBSERVATION
未提供动态扫描(仅静态扫描)
技谱当前仅提供静态扫描。动态行为观察需要隔离沙箱(无平台凭据、临时文件系统、默认断网、资源限额), 该能力尚未上线。因此本页任何结论都不包含运行时行为证据,也不存在"已动态验证"的标注。
RECOMMENDATION
环境假设:该建议基于"技能按声明权限运行、且上游内容未被篡改"的前提。结论来自 scanner 1.1.0 的静态规则集。
分发门槛:允许获取并展示警告;请先核对权限与扫描发现。
Low / Medium / High 是在已声明环境下的建议,不是安全保证;扫描通过 ≠ 绝对安全。 查看完整方法论见 扫描机制指南。
| Agent | 状态 | 证据类型 | 验证时间 | 说明 |
|---|---|---|---|---|
| 暂无兼容性数据 | ||||
暂无兼容性数据
状态说明:VERIFIED=真实环境验证 · COMPATIBLE=安装/静态要求通过 · DETECTED=静态结构检测 · DECLARED=作者声明 · UNKNOWN=无信息。绝无伪造验证结论。