You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are all the security, architecture, LLM safety, and ops issues in ZAOcoworkingBot after the v2.10-v2.12 emergency bug-fix cycle? (reconstructed)
related-docs
459, 547, 601, 650, 661, 662, 665, 668
tier
DISPATCH
668 - ZAOcoworkingBot Full Audit (May 2026)
6 parallel sub-agents audited the bot across architecture, LLM/persona safety, state/persistence, security, deploy/ops, and feature/UX. Trigger: today (2026-05-18) we shipped v2.10 -> v2.11 -> v2.12 in one day chasing a single bug (LLM hallucinating Claude Code permission dialogs at the user). Wanted to know what else is fragile before rolling out to ThyRev + Samantha.
Headline
The bot WORKS. v2.12 is running clean on Iman's VPS with 24 slash commands + auto-updating persona. 18 findings across 6 dimensions, including 3 Critical (security) + 3 P0 (other dimensions). Most are 1-PR-each fixes. Top blocker for wider rollout: bot runs as root + no pre-commit secret scan + no LLM op-schema validation - a leaked token (which we proved is easy to do today) gives an attacker control of the VPS, not just the bot.
Severity Roll-up
Severity
Count
Dimensions
Critical
3
security (3)
P0
3
architecture (1), state (1), UX (1)
P1
8
architecture (2), persona (1), state (2), ops (2), UX (1)
P2
3
persona (2), ops (1)
P3
1
architecture (1)
Top 6 Things To Fix First
Rank
Finding
Doc
File:Line
One-line fix
1
Bot runs as root
668d
systemd unit
Create zaocoworking user, transfer dirs, update unit
2
No pre-commit secret scan
668d
.husky/ missing
Copy ZAOOS pattern; fail on 64-char hex + PRIVATE_KEY=
3
LLM op-schema not validated
668d + 668b
extraction.ts:30-40
Whitelist op enum before save; default branch rejects unknown
4
seedOrUpdate race
668c
memory.ts:108 (v2.12)
Add fs.open('wx') lock or atomic rename via temp file