Commit eabdee7
Restore the unconditional block on system command execution
ClaudeR 0.12.6. A local experiment left validate_code_security gating the
system/system2/shell block behind getOption("clauder.allow_system"), and
that gate reached a public release. Setting an R option is ordinary code
that the validator does not inspect, so an agent could switch the option
on through execute_r and then run shell commands: the restriction became
advisory rather than enforced. The block is unconditional again and there
is no option that lifts it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 2a2f510 commit eabdee7
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
1721 | | - | |
| 1720 | + | |
| 1721 | + | |
1722 | 1722 | | |
1723 | 1723 | | |
1724 | | - | |
| 1724 | + | |
1725 | 1725 | | |
1726 | 1726 | | |
1727 | 1727 | | |
| |||
0 commit comments