Skip to content

security(figma): owner-only perms for .vxd-design context artifacts (P0-07)#117

Merged
tzone85 merged 1 commit into
mainfrom
fix/p0-07-design-dir-perms
Jul 16, 2026
Merged

security(figma): owner-only perms for .vxd-design context artifacts (P0-07)#117
tzone85 merged 1 commit into
mainfrom
fix/p0-07-design-dir-perms

Conversation

@tzone85

@tzone85 tzone85 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Figma design context (node IDs + token metadata mapping back to internal design files) was written 0o755/0o644 — readable by any local user on a shared dispatch host.
  • figma.BuildDesignContext: dir 0o700 (chmod repairs a pre-existing looser dir), DESIGN_CONTEXT.md + PNG renders 0o600.
  • engine.copyDesignDir (worktree copies): same 0o700/0o600.

Tests

  • TestFigmaBuildContext_FilePermsOwnerOnly — every file 0o600, dir 0o700, including repair of a pre-created loose dir.

Closes WEAKNESSES.md P0-07.

🤖 Generated with Claude Code

The Figma design context (node IDs + token metadata that map back to
internal design files) was written 0o755/0o644 — readable by any local
user on a shared dispatch host.

- figma.BuildDesignContext: dir 0o700 (chmod repairs a pre-existing
  looser dir), DESIGN_CONTEXT.md + PNG renders 0o600.
- engine.copyDesignDir (worktree copies): same 0o700/0o600.
- Test: TestFigmaBuildContext_FilePermsOwnerOnly (incl. loose-dir repair).
- Docs: CLAUDE.md Figma hygiene bullet.

Closes WEAKNESSES.md P0-07.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@tzone85
tzone85 merged commit 798122a into main Jul 16, 2026
@tzone85
tzone85 deleted the fix/p0-07-design-dir-perms branch July 16, 2026 02:15
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.

2 participants