LLM security
OpenShell + garak Agent Safety Lab
OpenShell + garak Agent Safety Lab red teams a tool-using agent on NVIDIA Nemotron 3.5 Lightning with garak, then compares raw, NeMo Guardrails guarded and NVIDIA OpenShell sandboxed runs, on your own GPU.
Updated
What runs
vLLM serves NVIDIA Nemotron 3.5 Lightning 30B-A3B NVFP4 on the same GPU. No hosted model endpoint is used.
The lab runs the same agent in three lanes. RAW calls the model directly. GUARDED adds NeMo Guardrails jailbreak detection and self-check rails. GUARDED+SANDBOX also runs inside an NVIDIA OpenShell sandbox with a deny-by-default network policy.
garak sends adversarial prompts to each lane. You can edit the guardrails config or the OpenShell policy, then press Replay to compare.
Per the README: garak, NeMo Guardrails, OpenShell and vLLM are Apache-2.0. Nemotron 3.5 Lightning is under the OpenMDW-1.1 licence. snowflake-arctic-embed-m-long is Apache-2.0. Nemotron 3.5 Content Safety (option) is under OpenMDW-1.1 and the Gemma Terms of Use.
| Component | Pinned version |
|---|---|
| vLLM | v0.27.1 (model); v0.20.2 (content safety option) |
| NVIDIA Nemotron 3.5 Lightning 30B-A3B NVFP4 | revision bee75962 |
| garak | 0.17.1 |
| NeMo Guardrails | 0.24.1 |
| NVIDIA OpenShell | v0.0.116 |
| Python | 3.12.16 |
Smoke test
Last fresh-deploy smoke test on NVIDIA Brev: .
A fresh-deploy smoke test checks what a new user gets:
- The Launchable deploys on a new instance.
- Its services start and answer.
- The instance is deleted.
Licences and credits
- garak Apache-2.0
- NeMo Guardrails Apache-2.0
- NVIDIA OpenShell Apache-2.0
- vLLM Apache-2.0
- NVIDIA Nemotron 3.5 Lightning OpenMDW-1.1
- snowflake-arctic-embed-m-long Apache-2.0
- Nemotron 3.5 Content Safety (option) OpenMDW-1.1 and the Gemma Terms of Use
Public source folder: https://github.com/ashishsalve/gpu-launchables/tree/main/openshell-garak-agent-safety-lab (external site)
The README there covers quick facts, deploying in three steps, settings, data persistence, stop, start and delete, troubleshooting and an FAQ.
Upstream projects:
Persistence and stop vs delete
- New to Launchables? Deploy a Launchable on NVIDIA Brev walks through the deploy steps, and red team an AI agent with garak and NeMo Guardrails walks through this one.
- The README states the expected time to ready. Open the
open-safety-labSecure Link, which serves port 8080, and wait for the five readiness lights. - Scan only systems you own or are authorised to test. To scan your own endpoint, set the target parameters at launch and tick the consent box.
- A budget proxy puts a hard cap on the number of scan requests.
- For a guardrails lab without the agent sandbox, see NeMo Guardrails and garak.
- After Start, if the lab link shows an error, run
sudo systemctl restart asl.servicein the Brev terminal and wait for the readiness lights. - Stop, start and delete an NVIDIA Brev instance explains Stop and Delete. All agent Launchables are compared in NVIDIA Brev agent Launchables.
> Note: Disk storage is billed while the instance is stopped. Delete removes the instance and all data, and cannot be undone.
Troubleshooting
- The page does not load yet: the first start pulls container images and model weights. Check in the NVIDIA Brev console that the instance has finished setting up, then retry.
- After a stop and start: confirm the instance shows as running in the NVIDIA Brev console before you open the app again.
- Costs while idle: storage is billed while an instance is stopped. Delete the instance when you are finished.
- Still stuck: email hello@9owls.com with the Launchable name and what you see.