docs: upstream catalogue, security audit, 6-phase roadmap#25
Merged
Conversation
added 2 commits
March 21, 2026 23:15
- PLAN.md: remove completed Zod/test sections, focus on upstream re-sync - DO_NEXT.md: upstream re-sync is now priority 1, remaining tests priority 2 - STATUS.md: 1473 tests, 25 Frankencode-specific unit tests - WHAT_WE_DID.md: compressed to PR summary
Categorized all commits since last rebase into: - 15 backportable fixes (8 high priority) - 8 backportable features - 10 backportable refactors - 5 TUI fixes - 12 Effect-ification (conflict with our approach, defer to rebase) - 20+ app/desktop (skip) - 50+ chore/generate (skip) - 8 Zen platform (skip) Each entry includes SHA, PR#, author, description, and priority. Recommended 4-phase backport order documented.
cf76db3 to
a84f4d8
Compare
added 3 commits
March 21, 2026 23:36
Security audit of upstream OpenCode issues applicable to Frankencode: CVEs: - CVE-2026-22812: Unauthenticated HTTP server RCE (CVSS 8.8) — partially mitigated - CVE-2026-22813: XSS to RCE via markdown renderer (CVSS 9.4) — needs audit Open security issues (S1-S5) added to BUGS.md: - S1: Filesystem.contains() symlink bypass (CRITICAL) - S2: exec() command injection in github.ts (HIGH) - S3: Untrusted .opencode/ autoloading (HIGH) - S4: Server unauthenticated on non-loopback (MED) - S5: Read tool exposes .env files (MED) Created docs/SECURITY_AUDIT.md with full analysis, upstream PRs, and recommended fix priority. Cross-linked from UPSTREAM_STATUS.md, BUGS.md, and docs/README.md.
Added to UPSTREAM_STATUS.md: - 9 PRs from vouched/recognized contributors (Dax, Sebastian, Kit, Tim, Ariane) - 4 security PRs (CVE fix, TUI server guard, path bypass, XSS) - 17 core bug fix PRs worth evaluating (retry, provider compat, memory, safety) - 7 TUI feature PRs (sidebar, /edit, syntax highlighting, themes) - 6 core feature PRs (quiet mode, offline, custom prompts, plugin robustness) - ~80 permanently skipped (desktop, web app, Bun→Node, docs, niche) Each categorized with author, priority, and Frankencode relevance. Top 20 backport candidates identified and ordered by priority.
PLAN.md rewritten as 6-phase roadmap: - Phase 1: Security fixes (S1-S5) — CRITICAL priority - Phase 2: High-priority upstream bug fixes (8 cherry-picks) - Phase 3: Quality fixes + OpenTUI upgrade - Phase 4: Community bug fixes + features - Phase 5: Remaining tests - Phase 6: Effect behavioral analysis GAP_ANALYSIS.md shows current → target state for each phase. DO_NEXT.md points to Phase 1 immediate actions. STATUS.md shows phase progress tracker. AGENTS.md updated with phase methodology: - Read tracking docs before/after each phase - Update BUGS.md, STATUS.md, WHAT_WE_DID.md, GAP_ANALYSIS.md after work - Follow PLAN.md phases with exit criteria
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
6-Phase Roadmap
Security Issues (S1-S5)
Filesystem.contains()symlink bypassexec()command injection.opencode/autoloadingUpstream Integration Strategy
Test plan