Skip to content
YaraAstroPublic

Repository files navigation

OWERVA — Open Web Evaluation, Reliability, Verification & Auditing

OWERVA

OWERVA is an evidence-backed, scope-bounded web auditing platform for deterministic verification across accessibility, responsive layout, security, discoverability, cross-browser compatibility, interactive journeys, visual baselines, network fault resilience, and privacy telemetry.

Key Capabilities & Principles

  • Fail-Closed Scope & Budgets (@owerva/scope): Audits enforce explicit allowedOrigins, DNS/IP validation, and strict request, byte, and duration budgets so traffic never leaks to unapproved hosts.
  • Evidence-Backed Results (@owerva/evidence, @owerva/schema): Confirmed findings require recorded artifacts (screenshots, metrics, network logs, traces) with sensitive fields redacted. Outcomes explicitly distinguish passed, failed, manual-review, not-tested, and scanner-error.
  • Cross-Browser Matrix & web-features Advisories (@owerva/browser, @owerva/auditor-compatibility): Runs across Chromium, Firefox, and WebKit with deterministic locale, timezone, scale, and clock settings, paired with pinned web-features compatibility advisories and headless-emulation disclaimers.
  • Interactive Journeys & Stateful Accessibility (@owerva/auditor-experience, @owerva/adapter-axe): Executes declarative YAML/JSON journeys and stateful axe-core checks without raw script evaluation.
  • Visual Baselines & Network Fault Simulation (@owerva/auditor-visual, @owerva/auditor-reliability): Performs masked pixelmatch comparisons against explicitly approved baselines (never auto-promoting latest captures) and fixture-only Playwright route fault simulation (delays, 500s, offline aborts, retry recovery).
  • Extended Rules & Privacy Telemetry (@owerva/auditor-responsive, @owerva/auditor-discoverability, @owerva/auditor-privacy): Checks overflow, clipping, text overflow, overlaps, hit-test obstruction, layout shift, canonical/robots/sitemap/headings/metadata/JSON-LD, and consent-state cookie/destination telemetry (reported as technical observations, not legal compliance determinations).

Workspace Structure

  • apps/cli (@owerva/cli) — CLI entrypoint (doctor, scan, compare, report)
  • packages/schema (@owerva/schema) — Zod contracts for configs, runs, baselines, findings, results, and evidence
  • packages/config — config loading and validation
  • packages/scope — origin/path policy, DNS/IP guards, and budget tracking
  • packages/browser — constrained Playwright sessions and cross-browser matrix planning
  • packages/crawler — bounded same-origin crawler
  • packages/evidence — atomic, redacted artifact storage and integrity verification
  • packages/core — audit planner, runner lifecycle, and exit codes
  • packages/findings, packages/policy, packages/reporters — fingerprinting, run comparison, threshold evaluation, and JSON/HTML reporting
  • packages/auditors/ — compatibility, discoverability, experience, privacy, reliability, responsive, security, visual
  • packages/adapters/ — axe, lighthouse
  • fixtures/ — synthetic local HTTP fixtures for deterministic verification
  • docs/ — toolchain notes (docs/toolchain.md), contracts, and ADRs (docs/adr/)
  • tests/ — Vitest unit and Playwright integration test suites

Getting Started

pnpm install --frozen-lockfile
pnpm build
pnpm typecheck
pnpm lint
pnpm test
pnpm format:check

Running a Local Fixture Scan

Start the deterministic fixture server in one terminal and run the CLI in another:

node fixtures/web/server.mjs
node apps/cli/dist/index.js scan http://127.0.0.1:4173/good --profile fixture --format json

Inspecting a Hosted Site

For a site you are authorized to inspect, run a bounded, unauthenticated HTTPS header check:

node apps/cli/dist/index.js scan-hosted https://your-site.vercel.app/ --authorized

This sends one HEAD request to the named origin and follows at most two same-origin redirects. It reports the HTTP status and selected security/response headers. It does not render pages, crawl links, run accessibility or visual checks, or perform active security testing. Private and loopback DNS answers are rejected. The full scan command remains fixture-only until browser egress containment is implemented and verified.

Other CLI subcommands:

  • owerva doctor — check runtime environment and browser availability
  • owerva compare — compare baseline and latest results.json runs
  • owerva report — render JSON or offline HTML reports from saved run results

See docs/toolchain.md for Node/pnpm versions and CHANGELOG.md for release history.

License

Licensed under the GNU General Public License v3.0 — see LICENSE.