Spaces:
Runtime error
Runtime error
Commit History
-
fix(npc): restore smtp traffic script
Aaron Browna498b39 -
fix(npc): normalize compiled topology hosts (#103)
Lars TalianUnverified signaturebafb155 -
Remove hardcoded fallbacks, add snapshot-driven service lifecycle
Aaron Brown- Remove _LEGACY_STOP_DAEMONS, _start_services_legacy, _declared_service_daemons - _stop_services and _capture_service_pids derive daemons from snapshot.services - _start_snapshot_services skips when no service specs (no legacy fallback) - _resolve_target reads topology roles/zones, raises if missing - _select_snapshot raises RuntimeError when no snapshot provided - _get_pending_alerts returns [] instead of synthetic fallback - Renderer auto-populates snapshot.services via generate_service_specs - start.sh supports ServiceSpec-driven startup alongside legacy path - Tests updated: explicit snapshot in all reset() calls, 114 env tests pass - 70 new service spec tests (models, generation, lifecycle, renderer)7fedc25 -
Add episode CLI, synthetic data pipeline, NPC generalization, service manifest
Aaron Brown- Add `openrange episode` command (golden-path replay + interactive REPL) - Add synthetic data generation pipeline with teacher agents and dataset helpers - Generalize NPC actions/traffic scripts to derive targets from SnapshotSpec - Add service_manifest.py for snapshot-declared service lifecycle - Add replay_agent, dataset module, NPC reward coupling tests - Graceful container resolution when Docker is available but no containers running - Skip tests that depend on deleted snapshot fixtures - Remove scripted_agent (replaced by replay_agent)f016eb7 -
Add NPC actions, synthetic data pipeline, CLI enhancements
Aaron BrownAgent-generated supporting changes from architecture review: - NPC action system (actions.py) for structured NPC behaviors - Synthetic data generation pipeline (training/synthetic.py) - CLI improvements and NPC traffic script updates - NPC agent loop enhancements for topology-driven operationfb68239 -
Remove hardcoded infra, enforce snapshot-driven architecture
Aaron Brown- environment.py: Remove hardcoded MySQL password (now from snapshot topology users), hardcoded container routing (now from topology host roles/zones), mock mode from production paths, hardcoded alert tool names (now queries real SIEM). Container name resolution raises on failure instead of silent fallback. - zone_router.py: Remove all hardcoded ZONE_ROUTES/HOST_ZONES/HOST_PORTS constants. ZoneRouter is now purely snapshot-driven via from_snapshot(). Fail-closed for unknown zones. Added from_manifest() classmethod. - mutator.py: Add post-build diversity enforcement (rejects snapshots repeating vuln classes from last 3 episodes or injection points from last 5). Remove hardcoded _INJECTION_POINTS dict (now dynamic). - npc_manager.py: Remove hardcoded _SCRIPT_CONTAINER_MAP and static env vars. Derive container mapping and scripts from snapshot topology. - runtime.py: Remove hardcoded MySQL password, add snapshot diversity tracking in acquire_snapshot(), add curriculum-…a24d0f2 -
Operator console (#28) and multimodal NPC channels (#30)
Aaron Brown +1: Claude Opus 4.6Add a FastAPI-based operator debugging console at /console with live episode state, snapshot metadata, and action history APIs. Add multimodal NPC communication channels (chat, voice, document) with SIEM log aggregation for Blue team consumption. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>c30abe9 -
Full OpenRange implementation: environment, builder, validator, agents, tests
Aaron Brown +1: Claude Opus 4.6- src/open_range/: complete package with server, builder, validator, client, agents, training, and protocols modules - manifests/: Pydantic schema + 3 enriched YAML manifests (tier 1-3) with realism profiles (company context, tech stack, credential policy, monitoring coverage, trust relationships, operational context) - vulns/catalog.yaml: 23 vulnerability classes across 4 realism layers (application, infrastructure, identity, process) - Builder LLM pipeline: structured JSON output, 18-rule system prompt using all manifest realism layers, template renderer, snapshot store - Validator: 10-check hybrid pipeline (8 mechanical + 2 LLM advisory) - Environment: container-as-constraint design (no artificial command allowlists), Red routes to attacker container, Blue routes to siem container - Rewards: Red (flag, efficiency, stealth, evidence, anti-hallucination) and Blue (detection, patch, availability, false-positive penalty) - Agents: protocol, scripted, LLM, and human agent i…8c486a8