CoolFace
Apppublic

avi2132/cyber-security-shield

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Cybersecurity Shield Suite

Cybersecurity Shield Demo

Overview

A mock AI sandbox simulation for high-stakes security operations. Three difficulty tiers.

Demo & Usage

To quickly evaluate the environment with an agent, see example_agent.py or hit the interactive API UI at the root path of the space!

bash
python example_agent.py

Action & Observation Spaces

  • Observation: Pydantic Dict with {text: str, data: dict, available_tools: list}
  • Action: Pydantic Dict with {tool_name: str, tool_args: dict}

Tools

  • analyze_header: Returns HTTP packet metadata.
  • block_ip: Null-routes traffic for an IP.
  • rate_limit: Drops 50% traffic for an IP.
  • submit: End task manually.

Smoke Test Checklist

  1. 1.Run openenv validate -> Must pass.
  2. 2.Run docker build -t openenv-cyber . -> Must succeed.
  3. 3.Run python -m pytest test_harness.py -> 100% pass rate.
  4. 4.Run python inference.py -> Verify reproducible baseline scores.