Portfolio / Lab / AI / LLM · Systems / Cloud
BoxShield Arena
A safe, utility-aware red-team evaluator for BoxLang AI agents: it attacks a bundled synthetic target, proposes allowlisted guardrails and measures safety and utility before and after.
Problem
A guardrail that blocks attacks can also break legitimate use, and red-teaming a real system is risky.
What the repository shows
- Runs a bounded adversarial corpus against a bundled synthetic support agent; remote targets are rejected and every action is simulated.
- Proposes declarative, allowlisted guardrail patches; HMAC-signed capsules bind the run state.
- Recorded fixture scores: full-corpus safety 26 → 89 with utility 100 → 80; the quick corpus reaches safety 100 with utility unchanged. One scripted sample, not a certification.
BoxLang · bx-ai · TestBox · CommandBox · Java 21 · Docker
Evidence for this project1 source
- Repository documentedRepository documentation
BoxShield Arena red-teams a bundled synthetic BoxLang agent, proposes allowlisted guardrails and records safety and utility scores in replay mode.
BoxShield Arena is a safe, utility-aware red-team evaluator for BoxLang AI agents.
- The recorded scores are one scripted replay sample; live Gemini mode is disabled and unverified.
README.md (opens in a new tab) @ 864b25b · reviewed 2026-10-26 · In the ledger
How it works
- Evaluate the target against the corpus.
- Propose a defence from an allowlist.
- Approve it.
- Replay the corpus and compare safety and utility.
Engineering evidence
- Tests
- TestBox: 60 passed, 0 failed (as recorded in the README)
- CI
- GitHub Actions
- Deployment
- Container image for Vercel; replay mode only
- Licence
- Apache-2.0
Counted from the repository at commit 864b25b; the tests were not run for this site.
Limitations
- Recorded Replay is the only enabled HTTP mode; live Gemini execution is disabled and unverified.
- The replay is one deterministic sample, not statistical evidence.