fix: stricter commands for docker #3

Merged
SethFalco merged 2 commits from fixes into main 2026-03-06 23:55:46 +00:00
SethFalco commented 2026-03-06 23:53:06 +00:00 (Migrated from gitlab.com)

We effectively allowed Claude to bypass permissions to run the following
command before:

docker run -it -v /:/app bash "rm -rf /app ls"

Because I allowed any commands that contained docker and ls, which the
above adheres to.

Let's hardcodes each "docker {entity} ls" command one-by-one instead to
resolve this.

We effectively allowed Claude to bypass permissions to run the following command before: docker run -it -v /:/app bash "rm -rf /app ls" Because I allowed any commands that contained docker and ls, which the above adheres to. Let's hardcodes each "docker {entity} ls" command one-by-one instead to resolve this.
SethFalco commented 2026-03-06 23:54:29 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 499840eb - fix: stricter commands for docker

Compare with previous version

added 1 commit <ul><li>499840eb - fix: stricter commands for docker</li></ul> [Compare with previous version](/SethFalco/claude-config/-/merge_requests/3/diffs?diff_id=1694970908&start_sha=10f0b3fc9bbe3605fa4975ab7be597746634820f)
SethFalco commented 2026-03-06 23:55:46 +00:00 (Migrated from gitlab.com)

mentioned in commit 9bf35850d5

mentioned in commit 9bf35850d545577f3299952bb20b4864659434d7
SethFalco (Migrated from gitlab.com) merged commit 9bf35850d5 into main 2026-03-06 23:55:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ai/claude-config!3
No description provided.