🏛 架构平台 Arch.Platform

反馈 eb0fe933

← 看板
v=56dd8045
严重度
状态 已修复
决策 保持不变

🐛 Bug 摘要

[bug-3] 沙箱穿透: process.exit(1) 能杀掉前端进程

🔍 根因分析

generateConnections 没用 _safeCompile 沙箱(旧代码用裸 new Function + with (Math)),process.exit(1) 没在白名单阶段被拒

🔧 修复方案

✓ 已修 (commit 6b9250f): generateConnections 复用 _safeCompile,与 evalFunction/evalFunction2D 统一。E2E 测试 '非法连线规则 → 错误显示' 现过。

📋 元数据

报告人
mathviz-bug-archive
创建时间
2026-06-22 02:00
决策时间
2026-06-22 02:02
关联版本
56dd8045-06cf-46d2-84a7-8440d8793a9f

📝 推进反馈状态

状态推进请用:

arch feedback update eb0fe933-caa6-4971-9209-1644c62df5f4 --status fixing  # 开始修
arch feedback update eb0fe933-caa6-4971-9209-1644c62df5f4 --status fixed   # 已修
arch feedback update eb0fe933-caa6-4971-9209-1644c62df5f4 --status wontfix --decision keep_as_is  # 不修