Skip to content

Releases

ARIA-X v0.2.1 — Security hardening, SSE resume & HTTP log sanitization

Choose a tag to compare

@01NGVI-QINGYI 01NGVI-QINGYI released this 23 Nov 13:25
80a7500

ARIA-X v0.2.1 — security hardening, SSE cursor resume & complete-frame parsing, HTTP log sanitization, and config save/export separation (PR #5, commit 80a7500).

Breaking Changes & Migration

  • SSE authentication (?token= query-string auth removed): When server.auth_token / ARIA_X_AUTH_TOKEN is configured, requests passing only ?token=<token> on GET /api/projects/{id}/events are now rejected with 401 Unauthorized so long-lived credentials are no longer sent in SSE request URLs. External SSE consumers must migrate to Authorization: Bearer <token> or X-ARIA-X-Token: <token> request headers; the built-in Web Console uses streaming fetch with Authorization: Bearer and Last-Event-ID.
  • AriaXConfig.save() is now a non-reloadable redacted export (save_private() added): AriaXConfig.save() delegates to AriaXConfig.export_public() and writes a shareable _redacted_export: true JSON snapshot to a new .json file (open("x"), refusing to overwrite existing files). AriaXConfig.from_dict() and AriaXConfig.load() reject redacted exports with ConfigError, and AriaXConfig.validate() rejects literal "***" placeholders as runtime credentials. Callers needing reloadable local persistence must explicitly call AriaXConfig.save_private("<path>.json") (.json suffix required; atomic write with owner-only 0o600 permissions).

Security

  • Explicit /api/config public allowlist & full credential masking: AriaXConfig.public_dict() builds an explicit allowlist of non-sensitive fields, masks non-empty llm.api_key and server.auth_token uniformly as "***", strips userinfo, query parameters, and fragments from llm.base_url, scope.targets, scope.deny, and scope_summary, and excludes llm.extra_headers, llm.extra_body, llm.scenario, sandbox.env, sandbox.extra_args, scope.notes, safety.note, and unknown attributes without mutating live config.
  • HTTP access, error, and exception log sanitization: Normalized logged request paths in AriaXRequestHandler using explicit route templates (e.g. /api/projects/{project_id}/events, /static/{asset}) and SHA-256 digests for unknown/unparseable paths (/<unknown:...>, /api/<unknown:...>, <unparseable:...>). Restricted query-string logging to validated replay, limit, format, and status values while redacting token, project_id, task_id, and unknown keys ([REDACTED]). Replaced logger.exception(...) and raw error formatting with safe structured logs (method, normalized route, status, error_type) without raw exception bodies, tracebacks, or request payloads.
  • local sandbox isolation boundary notice: Documented in docs/SECURITY.md that sandbox.backend = "local" executes commands with current OS user privileges without OS-level filesystem isolation, and added a non-fatal notice to aria-x doctor (human output and JSON warning field).

Fixed

  • SSE Last-Event-ID cursor resume & complete-frame-only client parsing: Added atomic EventBus.subscribe_with_snapshot() and wired Last-Event-ID from AriaXRequestHandler through Api.stream_events() so in-buffer cursors matching the current project stream replay subsequent visible buffered events in order (even beyond replay=150) and hand off cleanly within the bounded EventBus replay buffer and subscriber queue capacity; missing, expired, or foreign-project cursors fall back to bounded replay. Updated src/aria_x/web/app.js to discard incomplete trailing EOF fragments, removed unused state.es, and counted short-lived (< 2s) 200 EOFs and post-200 read errors toward bounded exponential backoff (capped at 30s) until a stream stays stable for >= 2s, while preserving 401 stop, project-switch/clear abort, and display-only i18n switching.

Maintenance

  • Version 0.2.1 & dynamic User-Agent: Bumped version metadata across package, CLI, Docker tags, CITATION.cff, and documentation; derived aria_x.tools.net.USER_AGENT from __version__.
  • Pinned Docker base image digest: Pinned docker/Dockerfile FROM to python:3.12-slim@sha256:5e2bdb1b0d542d5039cffb8181c65930093949194a65c365dfb1b0fe13a4fa5b (python:3.12.16-slim multi-arch OCI index; verified against Docker Hub Registry v2 metadata; local docker build / container runtime not executed).

Verification

  • main CI (80a7500): Run #45183508009 — Python 3.11 & 3.12 passed (269 unit/integration tests + offline E2E demo)
  • Checksums: shasum -a 256 -c SHA256SUMS.txt (124 / 124 OK)

ARIA-X v0.2.0 — Security hardening, report reliability & trilingual UI

Choose a tag to compare

@01NGVI-QINGYI 01NGVI-QINGYI released this 22 Nov 13:39

ARIA-X v0.2.0 — security hardening, report reliability, packaging fixes, and trilingual console/report support (PR #4, commit 995c267).

Added

  • Trilingual Web Console (en, zh-CN, ja): Added src/aria_x/web/i18n.js, localized console labels, and a language selector in Settings (persisted in localStorage["aria-x.lang"], defaulting to en). Language switching is display-only and does not translate existing report bodies.
  • Trilingual static report templates: Added src/aria_x/report/i18n.py and optional language support on render_markdown, render_html, and write_report for en, zh-CN, and ja fixed copy while preserving dynamic findings/evidence verbatim.
  • GET /api/report/{run_id}?format=md|html: Added optional format query parameter (400 on invalid values) so HTML preview and Markdown download remain bound to the exact same run.

Changed

  • Default report language: aria_x.report.render resolves fixed-copy language via language arg > meta["report_language"] > meta["lang"] > "en". Existing CLI, Demo, and Orchestrator entry points continue generating English fixed-copy reports by default in v0.2.0.
  • Compose auth token required: docker/docker-compose.yml now requires an explicit non-empty ARIA_X_AUTH_TOKEN (:? fail-fast) with no hardcoded fallback token.
  • Version bumped to 0.2.0.

Fixed

  • Packaging & launcher: Set 100755 executable bit on root ./aria-x, included aria-x and README.ja.md in MANIFEST.in, and packaged aria_x/demo_target.py inside the wheel.
  • Security boundaries: Enforced strict fail-closed URL path-prefix validation (including percent-decoding iteration ceiling on initial requests and redirects), separated authorize_url / authorize_host, wired safety.allow_public_targets with fail-closed unresolved hostname handling when false, wired safety.extra_blocked_patterns while keeping block_destructive=True enforced, isolated PTY child environments, blocked session_open under mock backend, aligned Docker PTY -w and _docker_client_env(), and restricted official Anthropic endpoint auth headers to non-empty api_key / x-api-key / Authorization: Bearer.
  • Report resolution & Web race guards: Made aria-x report query SQLite strictly read-only (mode=ro) with exact per-run attribution lookup, unified archive recognition across no-arg / <run_id> / --project-id (nested demo-<stamp>/<run_id>, legacy flat <project_id>-<run_id>, and legacy timestamped <project_id>-<stamp>), and conflict rejection; added monotonic sequence/timer guards in loadReport(), ensureGraph(), and selectProject(); replaced hardcoded "0.1.0"/"v0.1" report versions with __version__.

Verification

  • main CI (995c267): Run #45155334645 — Python 3.11 & 3.12 passed (253 unit tests + offline E2E demo)
  • Checksums: shasum -a 256 -c SHA256SUMS.txt (123 / 123 OK)

ARIA-X v0.1.1 — PTY interactive sessions

Choose a tag to compare

@01NGVI-QINGYI 01NGVI-QINGYI released this 10 Nov 07:44

ARIA-X v0.1.1 — interactive sessions.

The biggest gap versus the upstream designs was that ARIA-X could only run
one-shot commands. It can now hold a real terminal.

Added

  • session_open / session_send / session_read / session_close /
    session_list — persistent PTY sessions, so agents can drive msfconsole,
    ssh, database REPLs and reverse shells instead of being limited to
    terminal_exec.
  • Same guardrails as terminal_exec: CommandPolicy and the scope heuristic
    run on the spawn command and on every send, so a session cannot be used to
    smuggle an out-of-scope target past the checks.
  • Bounded by design: 4 concurrent sessions per run, 256 KB per-session buffer,
    8 KB per read, idle sweep after 30 minutes, and close_all() on every
    terminal run path — a cancelled or failed engagement never leaves a shell
    behind.
  • Docker backend spawns docker run -i -t, so the container gets a TTY too.
  • session_open / session_send are high risk and are therefore gated by
    safety.approval in ask / deny mode.

Changed

  • Tool catalog: 22 → 27 tools. Worker, bootstrap and coder roles can use sessions.
  • Tests: 202 → 217 (14 session tests + 1 engine cleanup integration test).
  • Version 0.1.1.

Verification

  • bash scripts/verify.sh passes (217 tests + offline demo).
  • Python 3.11 and 3.12 both green.

ARIA-X v0.1.0

Choose a tag to compare

@01NGVI-QINGYI 01NGVI-QINGYI released this 23 Oct 05:28

ARIA-X v0.1.0 — first public release.

Highlights:

  • One unified state-space engine combining blackboard search, a planner/worker
    graph architecture and specialist delegation.
  • 22 scoped tools with per-call authorization, a human approval gate,
    destructive-command policy and local/docker/mock sandboxes.
  • 202 tests passing on Python 3.11 and 3.12.
  • Offline end-to-end demo with a deterministic policy — no API key required.
  • Local web console with live SSE events, layered graph, findings and reports.
  • AGPL-3.0-or-later, standard-library-only runtime.

See README.md, docs/FUSION.md and docs/SECURITY.md for details.