AltimateAI / AltimateAI/altimate-code
workspace: memory content mirrored to cloud is unfiltered — no secret/PII redaction
- Ngôn ngữ chính
- TypeScript
- Star
- 811
- Fork
- 134
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 50
Mô tả
Found during v0.9.7 release review (Chaos Gremlin/Privacy Auditor persona).
`memory-extract.ts`'s tool description explicitly invites the agent to capture 'warehouse configs found via /discover, query patterns from sql_optimize, naming conventions observed' into memory blocks. Nothing in the write path (`memory-write.ts`, `memory-extract.ts`) or the mirror path (`memory-sync.ts`'s `push()` forwards `block.content` verbatim to `MemoryApi.add/update`) does secret-scanning, PII filtering, or redaction before content leaves the machine (when workspace mirroring is enabled).
Compounds the disclosure gap fixed in v0.9.7 (see bind-time consent line added in workspace.tsx/link.ts): once a user knows memory syncs and accepts that, there's still no guardrail preventing a warehouse connection string or customer-identifying value from being captured into a block and mirrored.
Deferred because this needs a content-scanning/redaction design (not a quick patch), and the feature remains gated behind the off-by-default `ALTIMATE_WORKSPACE` pilot flag.
Hướng dẫn đóng góp
Hướng nghiên cứu
Trace the memory write and mirror paths in memory-write.ts, memory-extract.ts, and memory-sync.ts, especially push() forwarding block.content to MemoryApi.add/update. Review the consent-related changes in workspace.tsx and link.ts for context. Done requires an agreed content-scanning and redaction design that prevents secrets and PII from leaving the machine when mirroring is enabled.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- cloud, data-engineering, security
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100