Skip to content

Remove internal security-audit files from public repo, fix README - #37

Open
sarveshsea wants to merge 1 commit into
mainfrom
chore/public-hygiene
Open

Remove internal security-audit files from public repo, fix README#37
sarveshsea wants to merge 1 commit into
mainfrom
chore/public-hygiene

Conversation

@sarveshsea

Copy link
Copy Markdown
Collaborator

Why

This repo is public. It was carrying a full internal vulnerability audit — SECURITY_REVIEW.md (2 CRITICAL / 3 HIGH findings with vulnerable code excerpts), SECURITY_FIXES.md (exploit + bypass detail), SECURITY_TEST_CASES.md (PoC attacks), plus SUMMARY/INDEX — with ~20 absolute /Users/… personal paths. PRODUCT_SPEC.md exposed internal strategy. All deleted; the public-facing SECURITY.md policy stays.

README / packaging fixes

  • brew install sarveshsea/memi/memoire was broken for every reader (the tap has no Formula, only the memi-studio cask) → replaced with the cask command and an honest note
  • Removed the maintainer npm-publish recovery runbook from user docs
  • Absolutized relative links (docs/, CHANGELOG, llms.txt, examples) so they resolve on npmjs.com; fixed the 404 memoire.cv/codex-plugin link
  • Tagline + llms.txt aligned to the approved positioning ("The AI workbench for product designers")
  • Dropped @rollup/rollup-darwin-arm64 / -linux-x64-gnu from optionalDependencies — never imported by dist/, pure install weight (verified against the published 1.1.1 tarball)

Follow-ups (not in this PR)

  1. Git history still contains the deleted files. Truly removing them needs a history rewrite (git filter-repo) + force push — owner's call.
  2. Republish npm so the packaged README/package.json pick these up.
  3. Figma bridge: diagnosed separately — check_bridge_health only inspects its own in-process WS server (src/mcp/tools.ts:1074 → src/figma/ws-server.ts:408), so an externally-started bridge on 9223 is reported as down, and its return shape drops the documented status/port/error fields; memi connect --background spawns a child that dies silently. Details in the session audit.

🤖 Generated with Claude Code

Delete SECURITY_REVIEW/FIXES/SUMMARY/TEST_CASES/INDEX.md (internal
vulnerability audit with exploit details and 20 personal absolute
paths) and PRODUCT_SPEC.md (internal strategy). SECURITY.md policy
stays.

README: fix the broken Homebrew command (the tap ships only the
memi-studio cask, no CLI formula), drop the maintainer publish-recovery
runbook, absolutize relative links so they resolve on npmjs.com, fix
the 404 codex-plugin link, and align the tagline with the approved
positioning. Same positioning fix in llms.txt.

package.json: drop @rollup/rollup-darwin-arm64 and -linux-x64-gnu from
optionalDependencies; they are vite dev shims never imported by dist
and only add install weight for consumers.

Note: the deleted files remain in git history; a history scrub is a
separate decision.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant