Skip to content

C - #1

Open
dinohatibovic wants to merge 5 commits into
SmailG:mainfrom
dinohatibovic:main
Open

C#1
dinohatibovic wants to merge 5 commits into
SmailG:mainfrom
dinohatibovic:main

Conversation

@dinohatibovic

Copy link
Copy Markdown

K

dinohatibovic and others added 5 commits March 4, 2026 19:07
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
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