ychy7001
390ba9905a
fix(securityaudit): 审计任务入队后立即唤醒本进程 worker
...
异步审计 worker 每 500ms 轮询一次数据库认领任务,本进程刚入队的任务
平均要等约 250ms 才被处理。入队成功和租约回收后改为立即通知本进程的
worker 尝试认领;worker 启动时先认领一次遗留任务。500ms 轮询保留不变,
继续兜底到期重试和其他副本入队的任务。
2026-10-26 17:31:33 +08:00
wucm667
56b5f0df68
fix(security-audit): reject unavailable prompt config
2026-07-26 14:33:59 +08:00
mt21625457 and Cursor
df9d9e2e40
fix(security-audit): harden role scan, startup, probe, and localhost dial
...
Scan client-injected assistant/tool/model turns, fail closed when config cannot
be trusted after startup or stale invalidation, reuse probe tokens only for the
same base URL, and restrict localhost dials to loopback addresses.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 09:00:14 +08:00
mt21625457 and Cursor
0f7f8a317e
fix(security-audit): close prompt-audit bypass and privacy gaps
...
Stop WebSocket follow-up turns from reusing a request-wide audit cache, scan
client-controlled instruction fields, fail closed on stale weaker configs, and
tighten preview/SSRF controls including persisted request stage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 08:46:57 +08:00
mt21625457
d11bdb13f5
feat(security-audit): add OpenAI-compatible prompt auditing
2026-07-17 00:39:39 +08:00