Spaces:
Runtime error
Runtime error
Commit History
-
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 -
Cleanup: fix bugs, remove dead code, add missing packages
Aaron Brown- Add openenv fallback stubs in client.py (matches models.py pattern) - Fix auth command parsing with maxsplit=3 (passwords with spaces) - Fix reward exception silencing: log at ERROR with traceback - Add snapshot validation: default flags/topology/task if None - Fix shell injection in file deploy with shlex.quote() - Remove async anti-pattern in rollout.py - Remove duplicate src/open_range/server/Dockerfile - Remove unused requests dependency - Remove redundant uv install check from Dockerfile - Add missing packages: open_range.agents, open_range.validator3ea4118 -
fix: align package with openenv contract
Lars Talianfda4cbc -
Implement all remaining features: 17 issues resolved
Aaron BrownFeatures implemented across 5 parallel agents: Docker + CI (#14, #29): - docker-compose.yml with 9 services (server, attacker, firewall, web, mail, db, files, ldap, siem) - 4 Docker networks matching manifest zones (external, dmz, internal, management) - Dockerfiles for each service with healthchecks - GitHub Actions CI workflow (test, lint, docker-build) CLI tools (#19, #20, #22, #23): - Manifest lint CLI: python -m open_range.lint - Artifact verification: template hash checking - Trajectory analytics: JSONL reporting and comparison - Curriculum runner: scenario x difficulty x seed matrix Core features (#17, #18, #25, #26, #34): - Task engine: TaskType enum, milestones, multi_step tasks - Exposure policy: per-host exposure levels in manifests - Auth scenarios: session tracking, auth/logout commands - Pivot mechanics: access_grants and pivot_history tracking - Curriculum wiring: CurriculumTracker integrated into episode loop Registry + solvers (#24, #21, #27): - Family registry: ma…7529adc -
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