mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-05 16:53:29 +08:00
fix: harden unicode safety checks
This commit is contained in:
@@ -81,15 +81,15 @@ model: opus
|
||||
問題:API 金鑰暴露在原始碼中
|
||||
修復:移至環境變數
|
||||
|
||||
const apiKey = "sk-abc123"; // ❌ 錯誤
|
||||
const apiKey = "sk-abc123"; // FAIL: 錯誤
|
||||
const apiKey = process.env.API_KEY; // ✓ 正確
|
||||
```
|
||||
|
||||
## 批准標準
|
||||
|
||||
- ✅ 批准:無關鍵或高優先問題
|
||||
- ⚠️ 警告:僅有中優先問題(可謹慎合併)
|
||||
- ❌ 阻擋:發現關鍵或高優先問題
|
||||
- PASS: 批准:無關鍵或高優先問題
|
||||
- WARNING: 警告:僅有中優先問題(可謹慎合併)
|
||||
- FAIL: 阻擋:發現關鍵或高優先問題
|
||||
|
||||
## 專案特定指南(範例)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user