Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Fix #44: Restrict file access in RPC handlers#45

Merged
bra1nDump merged 4 commits intoslopus:mainfrom
CodingCanuck:vuln-restrict-file-access
Nov 28, 2025
Merged

Fix #44: Restrict file access in RPC handlers#45
bra1nDump merged 4 commits intoslopus:mainfrom
CodingCanuck:vuln-restrict-file-access

Conversation

@CodingCanuck
Copy link
Contributor

Gemini/Claude authored fix for #44 : restrict file RPC handlers to only allow access to files within the current working directory. (so e.g. reading workspace/../../.ssh is now rejected)

Tests pass for this code, but I haven't actually tried running happy-cli yet: I'm trying to do a security audit before using it myself.

@CodingCanuck CodingCanuck changed the title Fix #44: Vuln restrict file access Fix #44: Restrict file access in RPC handlers Oct 14, 2025
@bra1nDump bra1nDump merged commit c3c541a into slopus:main Nov 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants