fix(security): permissions hardening + deny list + hook timeouts#2
Closed
fix(security): permissions hardening + deny list + hook timeouts#2
Conversation
- L-06: Add timeout: 30000 to gsd-check-update.js and gsd-context-monitor.js - Restore git push deny rules Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Provides secure reference template with: - C-02: Specific Bash command patterns instead of unrestricted 'Bash' - C-03: Correct single-level permissions structure - C-04: Complete deny list (curl, wget, .env, .ssh, git push, npm publish) - L-05: Deny list aligned with ANTHROPIC-STANDARDS.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Each permission group now has clear explanations: - File System, Git, Package Managers, Runtimes, CLI, MCP - Every deny rule explains the risk it prevents - Header with copy instructions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…were user-customized, not original package 6 findings removed (C-02, C-03, C-04, L-05, L-06, L-13) — all were based on settings.local.json/settings.json customized by user after download. Original package only distributes settings.md. Updated totals: 21 findings (1 CRITICAL), 6 PRs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Files Changed
.claude/settings.json(2 timeout additions).claude/settings.local.example.json(new 139-line hardened template)