Skip to content

feat: implement security and safety improvements#46

Merged
sha1n merged 3 commits into
masterfrom
fix/security-and-safety
Jan 29, 2026
Merged

feat: implement security and safety improvements#46
sha1n merged 3 commits into
masterfrom
fix/security-and-safety

Conversation

@sha1n
Copy link
Copy Markdown
Owner

@sha1n sha1n commented Jan 28, 2026

  • Restrict PATH_ETHIC_CONFIG directory permissions to 700.
  • Require user confirmation for all preset removals.
  • Sanitize preset names to prevent path traversal.

- Restrict PATH_ETHIC_CONFIG directory permissions to 700.
- Require user confirmation for all preset removals.
- Sanitize preset names to prevent path traversal.
@sha1n sha1n self-assigned this Jan 28, 2026
sha1n added 2 commits January 29, 2026 23:49
- Added check for PETH_FORCE in __pe_remove_preset to allow scripting/testing without interactive prompt.
- Updated tests/preset_commands.test.sh to use PETH_FORCE=1.
@sha1n sha1n marked this pull request as ready for review January 29, 2026 21:54
@sha1n sha1n merged commit b411a3f into master Jan 29, 2026
2 checks passed
@sha1n sha1n deleted the fix/security-and-safety branch January 29, 2026 21:54
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