Isolation sandboxing

From RedHatProductSecurity/prodsec-skills · View interactive version

Isolation sandboxing is an AI agent skill from the GitHub repository RedHatProductSecurity/prodsec-skills. Enforce isolation and sandboxing of inference engine execution. Use when deploying, configuring, or reviewing inference engines like vLLM that load and serve AI models, especially third-party models.

How to use this skill

Skill file

Inference Engine Isolation and Sandboxing

Security Recommendation

The inference engine loads and executes model code, potentially including third-party or untrusted code. It SHOULD be executed in an isolated, sandboxed environment to limit the impact of malicious models or vulnerabilities in the inference software.

Risks Mitigated

| Risk | Mitigation Through Isolation |

|---|---|

| Malicious model execution | Sandbox limits what malicious code can access and do |

| Inference software vulnerability | Isolation may prevent exploitation or limit blast radius |

| Data exfiltration | Network isolation prevents unauthorized outbound connections |

| Lateral movement | Process and namespace isolation prevents access to other workloads |

Isolation Approaches

| Approach | Isolation Level | Examples |

|---|---|---|

| Container | Process + filesystem + network | Podman, Docker with restricted capabilities |

| MicroVM | Hardware-level | Firecracker, Kata Containers |

| Dedicated VM | Full hypervisor isolation | KVM, dedicated cloud instances |

| Namespace + seccomp | Syscall + resource | Linux namespaces with seccomp profiles |

| SELinux / AppArmor | Mandatory access control | Confine the inference process |

Implementation Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.