C - #1
Open
dinohatibovic wants to merge 5 commits into
Open
Conversation
Dokumentuje upstream remote setup, sync workflow i PR proces za contribuciju na SmailG/secure-openclaw-sandbox. https://claude.ai/code/session_01FLcr5d9rA8fGY8fqZt3kbC
Red-team tests that probe 10 evasion technique categories against the policy/normalization layer without requiring a live LLM (shadow mock). Covered vectors: - Unicode homoglyph and zero-width space smuggling - Whitespace / control-character manipulation (double space, tab, null byte) - Absolute and relative path executable obfuscation (/bin/rm, ./rm) - Command chaining via ; && || and pipe-to-shell (curl/wget | bash) - CWD blocked-prefix enforcement (/etc, /usr, /var/run) - Oversized command (> max_command_length) Three @expectedfailure tests document known gaps: - `echo … | base64 -d | sh` (generic pipe-to-shell not in deny_patterns) - CWD traversal `/tmp/../etc` bypasses raw startswith() check - `cat /etc/shadow` passes via allow_pattern without path restriction https://claude.ai/code/session_01FLcr5d9rA8fGY8fqZt3kbC
Add comprehensive exec guard bypass resistance test suite
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.
K