Skip to content

Releases

ROUA 0.5.0: schema preview, empty-scope guard, columns added later stay hidden

Choose a tag to compare

@PromiseGithub PromiseGithub released this 26 Nov 07:57

ROUA now handles real schemas: it catches mismatches before the scripts run and while they run, and keeps columns added later hidden.

Preview before you generate

  • Each database has a read-only discovery script (discover.sql or discover.js, included with every set of scripts). It lists schemas, tables and columns, never rows.
  • Paste its output on kaizam.com under Your schema, pick tables from a list, and see a live preview of what the account will read. You can also run roua plan --check or use the MCP tool preview_scope.
  • The preview flags missing schemas, misspelled table names, hidden-column entries that match nothing, and scopes that would read nothing.

Setup checks the real database

  • Setup refuses a scope that would read nothing, on every database. On PostgreSQL, nothing is changed.
  • Listed tables, schemas and hidden columns that don't exist are reported, not silently ignored.

New columns stay hidden

  • Grants are now per column by default (column_grants: always) on PostgreSQL, MySQL, MariaDB and SQL Server. A column added later, such as a new token column, stays hidden until setup runs again.
  • Set column_grants: when_needed if you prefer whole-table grants. Note that with per-column grants, SELECT * fails on a table that gained a column after setup, until you rerun setup.

Also

  • roua discover saves your schema (names and types only).
  • New MCP tool discover_postgres_schema lets agents learn a database's structure without reading rows.
  • SPEC §18 describes how scopes are resolved and how schema changes are handled.
  • Live CI checks on MySQL, MariaDB, SQL Server, Oracle and MongoDB.

Feedback and ideas: https://github.com/PromiseGithub/roua/discussions

ROUA 0.4.0: L0 on more databases, resource checks, rotate, SARIF/JUnit

Choose a tag to compare

@PromiseGithub PromiseGithub released this 25 Nov 06:08

Deeper checks, more databases with structure-only access, and better CI output.

New

  • Structure-only access (L0) on SQL Server, MongoDB, Snowflake and BigQuery. The account sees tables, columns and types but no rows, which makes it a safe first step for AI agents. Live-tested on SQL Server and MongoDB.
  • Resource governance checks G1–G4 in the PostgreSQL audit: query time limit, idle transactions, lock waits, temporary files.
  • roua rotate <account>: issues a new password, keeps the same grants, and records the rotation date.
  • SARIF and JUnit output: roua audit --sarif-out roua.sarif --junit-out roua.xml. The GitHub Action has matching sarif-file and junit-file inputs.
  • Opt-in value sampling (X2): roua audit --sample-values 20 looks for private keys, tokens, API keys and password hashes hiding in badly named columns. It reports columns only, never values.
  • Revoke schedules for MongoDB and Redis, for cron, systemd, Kubernetes, GitHub Actions and Windows.
  • SBOMs (CycloneDX) are attached to this release.

Specification (0.1 draft)

  • New requirements for rotating and dropping accounts.
  • Informative profiles for every engine.
  • New sections: resource governance, query logging, credential classes and data egress.
  • The criteria for 1.0.

RFCs 0001–0005 are open for comment: discovery manifest, signed approvals, egress gateway, mandatory logging, and normative engine profiles.

kaizam.com

- uses: PromiseGithub/roua@v0.4.0
  env:
    ADMIN_DATABASE_URL: ${{ secrets.ADMIN_DATABASE_URL }}
  with:
    roles: readonly
    sarif-file: roua.sarif

Feedback and ideas: https://github.com/PromiseGithub/roua/discussions

ROUA 0.3.0: GitHub Action, MCP server, Docker, kaizam.com pages

Choose a tag to compare

@PromiseGithub PromiseGithub released this 24 Nov 05:58
85a9878

ROUA is now available wherever developers work: on the web, in CI, to AI agents, and as a container.

GitHub Action

- uses: PromiseGithub/roua@v0.3.0
  env:
    ADMIN_DATABASE_URL: ${{ secrets.ADMIN_DATABASE_URL }}
  with:
    roles: readonly      # or: all: true

The step fails the build when a PostgreSQL role can write, can read secrets, or never expires. It also writes a summary table and annotations.

MCP server for AI agents

{ "mcpServers": { "roua": { "command": "npx", "args": ["-y", "@roua-dev/cli", "mcp"] } } }

Tools:

  • list_engines
  • audit_script
  • generate_account_scripts: credentials are written to owner-only files and never enter the conversation.
  • audit_postgres_role: runs a live audit and only reads.

The server adds no new dependencies.

Docker
docker run --rm -e ADMIN_DATABASE_URL ghcr.io/promisegithub/roua audit --all

kaizam.com

  • A page for each database, such as kaizam.com/mysql/.
  • Guides for AI agents and for app-review accounts.
  • A sitemap and structured data, so search engines can index the pages.

ROUA 0.2.0: nine databases

Pre-release

Choose a tag to compare

@PromiseGithub PromiseGithub released this 24 Nov 04:26

ROUA now covers nine databases. The specification is still draft 0.1.

New in @roua-dev/core

  • planEngine() writes setup, audit, revoke and drop scripts for MySQL, MariaDB, SQL Server and Azure SQL, Oracle, MongoDB and Redis/Valkey. Each is tested in CI against real servers on every change. Snowflake and BigQuery are in preview.
  • auditScript() audits an existing account on any engine.
  • Password verifiers instead of plaintext where the engine accepts them: MySQL caching_sha2_password, MariaDB native hash, SQL Server hashed logins, Redis SHA-256.

kaizam.com

  • One offline page for every engine, an "audit an existing account" tool, guidance for AI agents, and an FAQ.

Known limits per engine are listed in docs/threat-model.md. Please try to break the audits and report what you find (see SECURITY.md).

ROUA 0.1.1

ROUA 0.1.1 Pre-release
Pre-release

Choose a tag to compare

@PromiseGithub PromiseGithub released this 24 Nov 03:01

No changes to the specification or to tool behaviour.

  • Packages are now published from GitHub Actions with npm Trusted Publishing (OIDC): no npm token is stored in the repository, and every release carries provenance.
  • The web generator is hosted at https://kaizam.com.

Install: npx @roua-dev/cli audit --role readonly

ROUA 0.1.0 (draft spec)

Pre-release

Choose a tag to compare

@PromiseGithub PromiseGithub released this 24 Nov 02:28

First public draft of ROUA (Read-Only User Account), spec 0.1.

Packages

  • @roua-dev/cli: npx @roua-dev/cli audit --role readonly checks whether an existing PostgreSQL role is actually read-only. Also verify, init, plan, apply, revoke, list, expire.
  • @roua-dev/core: planner, auditor and verifier. Zero runtime dependencies, runs in Node and browsers.
  • @roua-dev/app: ROUA-App request guards for Express, Fastify and the Fetch API.

Also

  • Offline web generator: https://kaizam.com
  • Plain-SQL audit: audit.sql
  • Tested against PostgreSQL 13 to 17.

This is a draft: please try to break roua verify and report findings privately (see SECURITY.md).