AppArmor
A mandatory access control security module for Linux that restricts program capabilities through configuration profiles. It is similar to SELinux but uses simpler policies.
Timeline (last 90 days)
Typical runtime protection technologies include seccomp, AppArmor, SELinux and eBPF-based dynamic tracing.
SELinux uses type enforcement and role-based access control, with relatively complex policies but fine granularity; AppArmor is configured based on paths and is easier to get started with.
The actual exploitability of PHP RCE depends heavily on the runtime environment; disable_functions, open_basedir, SELinux/AppArmor, container isolation, and PHP-FPM permission configurations can all limit code execution to a limited scope.
On Linux, /sandbox and the sandbox startup warning now explicitly point out Ubuntu's AppArmor restrictions on user namespaces and give the way to remove them.
Common engineering measures for runtime isolation include: configuring the file system and network accessible to the process under the principle of least privilege; restricting system calls with mechanisms such as seccomp and AppArmor; isolating the execution environment with containers or sandboxes; and rejecting unauthorized calls at the framework level through tool whitelists/blacklists.
Linux security modules such as seccomp and AppArmor can further tighten permissions at the system call level.
Common sandbox implementations include Docker containers, WebAssembly (Wasm) runtimes, and OS-level seccomp and AppArmor policies.
All Facts (8)
Solutions for achieving runtime isolation of AI tools on Linux systems include the Unix permission model, chroot jail, Linux namespaces, cgroups, SELinux, and AppArmor.
60%UnverifiedTypical runtime protection technologies include seccomp, AppArmor, SELinux and eBPF-based dynamic tracing.
50%UnverifiedSELinux uses type enforcement and role-based access control, with relatively complex policies but fine granularity; AppArmor is configured based on paths and is easier to get started with.
50%UnverifiedThe actual exploitability of PHP RCE depends heavily on the runtime environment; disable_functions, open_basedir, SELinux/AppArmor, container isolation, and PHP-FPM permission configurations can all limit code execution to a limited scope.
50%UnverifiedOn Linux, /sandbox and the sandbox startup warning now explicitly point out Ubuntu's AppArmor restrictions on user namespaces and give the way to remove them.
50%UnverifiedCommon engineering measures for runtime isolation include: configuring the file system and network accessible to the process under the principle of least privilege; restricting system calls with mechanisms such as seccomp and AppArmor; isolating the execution environment with containers or sandboxes; and rejecting unauthorized calls at the framework level through tool whitelists/blacklists.
50%UnverifiedLinux security modules such as seccomp and AppArmor can further tighten permissions at the system call level.
50%UnverifiedCommon sandbox implementations include Docker containers, WebAssembly (Wasm) runtimes, and OS-level seccomp and AppArmor policies.
50%