ARES - authorized red-team engagement automation with dashboard, campaign scope, module orchestration, OPSEC controls, encrypted vault, and reporting.
Python active-directorycloud-securitydefensive-validationfastapigood-first-issuemitre-attackopsecreactred-teamreportingsecurity
refactor(docs): eliminate all remaining legacy 'standard' wording across architecture and guides
Mafifrizi5850e05bc1fb
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 8c70702..ba2a178 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -13,7 +13,7 @@ to get started - from dev environment setup to submitting a pull request.4. [Writing a New Module](#writing-a-new-module)5. [Testing Requirements](#testing-requirements)6. [Pull Request Process](#pull-request-process)-7. [Code Standards](#code-standards)+7. [Code Guidelines & Conventions](#code-guidelines--conventions)---@@ -255,7 +255,7 @@ pytest tests/unit/ --cov=ares --cov-fail-under=82 -v # with coverage----## Code Standards+## Code Guidelines & Conventions- **Python 3.10+** - use `match`, `|` union types, `TypeAlias` where appropriate- **Pydantic v2** for all settings and data modelsdiff --git a/README.md b/README.mdindex 2f1ee61..a3fc80f 100644--- a/README.md+++ b/README.md@@ -212,7 +212,7 @@ The ARES Platform features a high-performance, responsive operator dashboard eng### 6. π Automated Report Engine & Evidence Library-*Instant deliverable generation producing branded, audit-ready compliance reports across multiple standard formats.*+*Instant deliverable generation producing branded, audit-ready compliance reports across multiple enterprise formats (Executive PDF, Technical Markdown, Defect CSV).*<div align="center">@@ -398,7 +398,7 @@ ARES enforces strict RBAC permissions across all API endpoints and UI controls:| Role | Operational Scope | Administrative Authority || :--- | :--- | :--- || **`team_lead`** | Complete platform authority: campaign creation/deletion, user provisioning, security audits, high-noise module overrides. | Full |-| **`operator`** | Day-to-day operations: execute authorized modules, review findings, explore attack graph, generate reports. | Standard |+| **`operator`** | Day-to-day operations: execute authorized modules, review findings, explore attack graph, generate reports. | Operational Tier || **`recon`** | Read-heavy reconnaissance: execute safe discovery and network fingerprinting modules. Execution of disruptive modules is blocked. | Read-Heavy || **`reporter`** | Stakeholder review: read-only access to campaign analytics, findings, attack graphs, and generated deliverables. | Read-Only |diff --git a/ares/core/errors.py b/ares/core/errors.pyindex a82eae3..3e1391d 100644--- a/ares/core/errors.py+++ b/ares/core/errors.py@@ -1,5 +1,5 @@"""-ARES Standard Error Hierarchy+ARES Unified Error HierarchyAll ARES exceptions inherit from AresError.Design principles:diff --git a/docs/MODULE_GUIDE.md b/docs/MODULE_GUIDE.mdindex 0897045..8bee3df 100644--- a/docs/MODULE_GUIDE.md+++ b/docs/MODULE_GUIDE.md@@ -92,7 +92,7 @@ These are the two most important metadata fields for the capability-based planneThe `CapabilityGraph` uses these to automatically determine execution order when running a goal. If you set them correctly, your module will be discovered and used automatically by the planner.-**Standard capability names:**+**Core capability identifiers:**| Capability | Description ||------------|-------------|diff --git a/docs/README.md b/docs/README.mdindex 356d9b2..df9f95d 100644--- a/docs/README.md+++ b/docs/README.md@@ -82,12 +82,12 @@ ARES decouples policy enforcement, orchestration, data storage, and presentation----## 3. Enterprise Design Standards (Anti-Slop Guidelines)+## 3. Enterprise Design Principles (Anti-Slop Guidelines)The ARES user interface adheres to strict enterprise product design principles, benchmarked against platforms like Datadog, Linear, and SentinelOne:1. **Zero AI-Slop / Frivolous Sci-Fi Tropes**:- - The login surface is a clean, focused, authoritative card (`width: 380px`) with clear input labels, standard focus rings, and high-contrast solid buttons.+ - The login surface is a clean, focused, authoritative card (`width: 380px`) with clear input labels, crisp focus rings, and high-contrast solid buttons.- Blinking status lights, fake cipher text streams, and decorative padlock icons are strictly prohibited.- Frivolous badges such as `AIRGAPPED ENCLAVE` have been eliminated from navigation sidebars.diff --git a/docs/architecture.md b/docs/architecture.mdindex 69d9cfc..0ce4be3 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -80,7 +80,7 @@ ARES is **not** a C2 framework. It does not include implants, beacons, or persis|------|---------|| `engine.py` | `AresEngine` β async orchestrator, runs `ExecutionPlan` || `context.py` | `ExecutionContext` β unified module input object |-| `errors.py` | Standard error hierarchy (`ModuleError`, `NetworkError`, etc.) |+| `errors.py` | Unified error hierarchy (`ModuleError`, `NetworkError`, etc.) || `di.py` | `AresContainer` β dependency injection / service locator || `campaign.py` | `Campaign`, `Finding`, `ScopeEntry`, `NoiseProfile` || `config.py` | `AresSettings` (Pydantic), `@lru_cache` singleton |diff --git a/docs/dashboard-guide.md b/docs/dashboard-guide.mdindex 2d6f8dc..47d933b 100644--- a/docs/dashboard-guide.md+++ b/docs/dashboard-guide.md@@ -98,7 +98,7 @@ tabs.## Login-The login console (`frontend/src/features/auth/LoginPage.tsx`) is a clean, centered enterprise authentication card (`width: 380px`). It provides standard username/password inputs, explicit focus states, and a solid high-contrast submit button without theatrical sci-fi or decorative cyber elements.+The login console (`frontend/src/features/auth/LoginPage.tsx`) is a clean, centered enterprise authentication card (`width: 380px`). It provides direct username/password inputs, explicit focus states, and a solid high-contrast submit button without theatrical sci-fi or decorative cyber elements.Use the admin account created at startup or an account created by a team lead.diff --git a/docs/examples/example_http_enum.py b/docs/examples/example_http_enum.pyindex 8604a42..e959dc7 100644--- a/docs/examples/example_http_enum.py+++ b/docs/examples/example_http_enum.py@@ -165,7 +165,7 @@ class HttpEnumModule(BaseModule):Format this module's result for the campaign report.Called by ReportGenerator. Extend the default dict with narrative."""- base = super().report(result) # get standard structure from BaseModule+ base = super().report(result) # get base normalized structure from BaseModulebase["narrative"] = ("HTTP service enumeration identified web servers and their configurations. ""Review for outdated server versions, exposed admin panels, and directory listings."diff --git a/docs/frontend.md b/docs/frontend.mdindex 041b40e..6398714 100644--- a/docs/frontend.md+++ b/docs/frontend.md@@ -97,12 +97,12 @@ Then open `http://127.0.0.1:5173/dashboard/`.- The topbar keeps the user identity plus current-device and all-device logoutactions.-## Enterprise UI & Design Standards+## Enterprise UI & Design Principles-The ARES frontend adheres to strict enterprise-grade product design standards:+The ARES frontend adheres to strict enterprise-grade product design principles:- **Anti-Slop Restraint**: Frivolous sci-fi tropes, fake cipher streams, blinking LED animations, and gratuitous padlock icons are forbidden.-- **Authoritative Authentication**: `LoginPage.tsx` presents a focused, centered card (`width: 380px`) with clear input labels, standard focus rings, and a high-contrast solid action button.+- **Authoritative Authentication**: `LoginPage.tsx` presents a focused, centered card (`width: 380px`) with clear input labels, crisp focus rings, and a high-contrast solid action button.- **High-Density Cockpit**: `DashboardPages.tsx` presents KPI cards with pure numeric values, status deltas, and clean labels without floating decorative icons. Navigation sidebars are kept clean without noisy enclave badges.- **Text-First Action Buttons**: Operational buttons (`Restore Vault`, `Dry Run Plan`, `Create Campaign`) use clear, text-first labels rather than confusing icon soup.- **Semantic Design Tokens**: Styles are governed by HSL tokens in `src/styles.css` (`--ares-bg`, `--ares-surface`, `--ares-surface-elevated`, `--ares-border`, `--ares-accent`). Monospace fonts are reserved for technical evidence (IPs, hashes, tickets, CVSS vectors).diff --git a/docs/module-development.md b/docs/module-development.mdindex 5442931..98cd73b 100644--- a/docs/module-development.md+++ b/docs/module-development.md@@ -324,7 +324,7 @@ async def execute(self, ctx: ExecutionContext[MssqlEnumParams]) -> ModuleResult:```pythondef report(self, result: ModuleResult) -> dict:- base = super().report(result) # get standard structure+ base = super().report(result) # get base normalized structurebase["narrative"] = "Your narrative here..."base["recommendations"] = ["Enable AES-only Kerberos encryption",@@ -370,7 +370,7 @@ ctx.record_metric(m, v) # record to telemetry----## Standard Error Handling+## Core Exception & Error HandlingAlways raise ARES errors (not generic exceptions):@@ -507,7 +507,7 @@ ares module install ./mymodule/- Must declare `PARAMS_MODEL` for robust type validation and clean UI parameter rendering.- Must respect `ctx.dry_run` β zero unauthorized side-effects or network traffic when True.- Must call `await self.before_request(target)` before network interactions.-- Must raise standard ARES exceptions rather than raw socket or OS exceptions.+- Must raise native ARES exceptions rather than raw socket or OS exceptions.- Must include unit tests using `ModuleTestHarness`.- Must NOT access the filesystem outside the campaign workspace.- Must NOT store credentials in plaintext (use `ctx.vault` or `ctx.record_credential`).diff --git a/docs/security-model.md b/docs/security-model.mdindex fec9d04..330d11c 100644--- a/docs/security-model.md+++ b/docs/security-model.md@@ -244,7 +244,7 @@ ARES uses four account roles. Role values are lowercase in API requests:| Role | Intended use | Access model ||------|--------------|--------------|| `team_lead` | Engagement lead or local administrator. | Full API access, user registration, security audit, campaign deletion, restricted authorization, and normal operator work. |-| `operator` | Day-to-day operator. | Campaign workflows, module execution, reports, graph, artifacts, and standard validation flows. Cannot register users. |+| `operator` | Day-to-day operator. | Campaign workflows, module execution, reports, graph, artifacts, and core validation flows. Cannot register users. || `recon` | Low-risk review/recon identity. | Read-heavy access. The module permission matrix marks enumeration, fingerprint, and network modules as recon-safe, but the main dashboard execution endpoints are still operator-gated in this release. || `reporter` | Reviewer or stakeholder. | Read-only campaign/report/graph-style access. No module execution and no user administration. |diff --git a/docs/sso-setup.md b/docs/sso-setup.mdindex b5242c9..c2e83ef 100644--- a/docs/sso-setup.md+++ b/docs/sso-setup.md@@ -6,11 +6,11 @@ This document provides a comprehensive guide for configuring and utilizing **Ent## PART 1 β End-User Authentication Guide-### When to Use Standard "Sign in" vs. "Or continue with SSO"+### When to Use Direct Local "Sign in" vs. "Or continue with SSO"| Login Method | When to Use | Credentials || :--- | :--- | :--- |-| **Standard "Sign in"** | For local operator accounts and development/lab environments (e.g., the bootstrap superuser `admin` or dedicated local accounts created via `POST /auth/register`). | Local username and password stored in the ARES database (hashed via bcrypt). |+| **Direct Local "Sign in"** | For local operator accounts and development/lab environments (e.g., the bootstrap superuser `admin` or dedicated local accounts created via `POST /auth/register`). | Local username and password stored in the ARES database (hashed via bcrypt). || **"Or continue with SSO"** | When your organization manages identities centrally via an Identity Provider (IdP) such as Okta, Microsoft Entra ID (Azure AD), Google Workspace, Ping Identity, or Keycloak. | Your corporate/organization credentials entered on your IdP's official sign-in page. |> [!NOTE]diff --git a/tests/unit/test_enterprise_sdk_security.py b/tests/unit/test_enterprise_sdk_security.pyindex ee83789..f7c696b 100644--- a/tests/unit/test_enterprise_sdk_security.py+++ b/tests/unit/test_enterprise_sdk_security.py@@ -171,7 +171,7 @@ def test_lockout_circuit_breaker_trips_immediately():lockout_cb = LockoutCircuitBreaker()assert lockout_cb.state == CircuitBreakerState.CLOSED- # Inspect standard AccountLocked error+ # Inspect AccountLocked errorlockout_cb.inspect_error(AccountLocked("Account locked out"), username="admin_corp")assert lockout_cb.state == CircuitBreakerState.OPENassert "admin_corp" in lockout_cb.locked_accounts