Security Audit Report

Version 1.0 · Last reviewed: 2026-11-28 · Download PDF · security.txt

This public report describes how Appreise (Appreise LLC, a Wyoming limited liability company, 1718 Capitol Ave, Cheyenne, WY 82001) protects customer financial records, credentials, and account boundaries across its hosted services. It also covers continuous security checks, resolved findings, and vulnerability disclosure.

Customer ledgers are plain-text Beancount files stored in private Git repositories owned by each user. Appreise connects to AI assistants over the Model Context Protocol, connects to financial institutions through Plaid Link, builds hermetically with Bazel, and runs on Kubernetes in non-root Distroless Linux containers.

Scope and review cadence

This report covers four Appreise components. First is the hosted ledger service at https://ledger.appreise.com, including the web dashboard, Model Context Protocol AI connector, Plaid Link bank connections, statement uploads, and printable reports. Second is the read-only lender (/loans/) and shared-ledger (/view/) portal at https://lender.appreise.com. Third is the cookie-free public visit counter at https://stats.appreise.com, alongside the hermetic build, continuous integration, container image, and encrypted backup pipeline.

This report is built from repository sources alongside the application and is reviewed at least once every 90 days. An automated continuous-integration test fails if the last_reviewed date above exceeds 90 days. Customer data, internal host names, network addresses, and unfixed vulnerability details are never published here: findings appear in detail only after remediation, while open scan items appear solely as counts by severity.

Controls by security area

Controls are organized across five areas aligned with Plaid's 12 security practices attestations (target completion date 2027-05-27). Referenced standards and platforms include GitHub Apps and OAuth, Google OpenID Connect, OAuth 2.1, OAuth PKCE (RFC 7636), SHA-256 (FIPS 180-4), AES-256-GCM (NIST SP 800-38D), Tailscale, X.509 (RFC 5280), TLS 1.3 (RFC 8446), GoatCounter, W3C WebAuthn, and TOTP (RFC 6238).

1. Governance and security policies

Plaid attestation item 1 (Information Security Policy)

In place today

  • Customer books stay in plain-text Beancount files inside private Git repositories owned by each user. Appreise holds only the operational state needed to fetch bank statements and commit updates.
  • Separate public privacy policies govern the hosted ledger service (/privacy on ledger.appreise.com) and the read-only lender portal (/privacy on lender.appreise.com and /loans/privacy).
  • Every code, dependency, container, or documentation change passes automated multi-round code review and hermetic Bazel continuous integration before merge.
  • This public security audit report (/security and /security.pdf) and /.well-known/security.txt are built from repository sources. An automated CI gate fails if the report is more than 90 days old.

Planned

  • Approve and publish the Information Security Policy draft (docs/policies/01-information-security-policy.md) defining security objectives, roles, review cadence, and exception handling ahead of the 2027-05-27 attestation date (Plaid item 1).
Technical evidence (repository paths and automated checks)
  • src/service/privacy_ledger.html and src/service/privacy.html (ledger and lender privacy policies)
  • docs/design/sections/01_principles.tex and docs/design/sections/13_hosted.tex (architectural principles and hosted-service design)
  • //docs/security:security_report and //docs/security:security_report_test (90-day review freshness and publication-safety checks)

2. Identity, access control, and tenant isolation

Plaid attestation items 2, 3, 4, 7, 8, and 9 (Access control, zero trust, centralized IAM, access reviews, de-provisioning, RBAC)

In place today

  • Users sign in through GitHub OAuth or linked Google OpenID Connect accounts without Appreise ever seeing or storing a user password.
  • AI assistant connections use OAuth 2.1 with PKCE S256 and explicit read-only or read-write user consent.
  • Role-based access control assigns every user an explicit role (operator, tester, exempt, or member) with immutable change history and per-plan rate, repository, bank-connection, and upload quotas.
  • Session and OAuth tokens are stored only as SHA-256 hashes, each user works inside a dedicated workspace directory, and 15-minute browser links are bound to the owning session.
  • AES-256-GCM Additional Authenticated Data binds every stored Plaid token and repository credential to its owning user identifier and target, preventing cross-account reuse.
  • External read-only sharing is strictly scoped: lender invitations (/loans/) expose only the single loan account named by the owner, and shared-ledger viewer invitations (/view/) stage only the single invited repository.
  • Automated coding and operational agents authenticate with short-lived X.509 mutual TLS (mTLS) certificates that expire automatically within 24 hours.
  • Self-service account deletion and operator-triggered deletion immediately revoke OAuth tokens and browser sessions, disconnect Plaid items at Plaid first, delete user files, and record only an anonymous deletion timestamp.
  • Kubernetes NetworkPolicy micro-segmentation rules enforce default-deny pod ingress and egress across hosted application workloads.

Planned

  • Approve and publish the Access Control, Zero-Trust Architecture, and Centralized IAM policy drafts (docs/policies/02-access-control-policy.md, docs/policies/03-zero-trust-access-architecture.md, and docs/policies/04-centralized-iam-policy.md; Plaid items 2, 3, and 4).
  • Approve and publish the Periodic Access Review, Offboarding, and RBAC Role-to-Access Map drafts (docs/policies/07-periodic-access-review-procedure.md, docs/policies/08-offboarding-and-deprovisioning-procedure.md, and docs/policies/09-rbac-role-to-access-map.md; Plaid items 7, 8, and 9).
Technical evidence (repository paths and automated checks)
  • src/oauth/lib.rs and //src/oauth:oauth_test (OAuth 2.1, PKCE S256, refresh-token rotation, token revocation)
  • src/service/roles.rs, src/service/limits.rs, roles_tests.rs, and limits_tests.rs (RBAC roles, audit history, and per-user quotas)
  • src/service/banks.rs, src/service/repo_creds.rs, and banks_tests.rs (AES-256-GCM encryption with per-user AAD binding and owner-only atomic writes)
  • src/service/viewers.rs, viewers_tests.rs, viewers_web_tests.rs, and loans_web_tests.rs (single-repository viewer staging and single-loan lender isolation)
  • src/service/admin.rs, admin_tests.rs, and account_lifecycle_tests.rs (owner-only 0600 admin socket delete command, immediate session revocation, Plaid disconnection, and workspace deletion)

3. Privacy, encryption at rest, and data retention

Plaid attestation item 5 (Data deletion and retention policy)

In place today

  • Appreise never sees bank usernames or passwords, which users enter directly in Plaid Link. Appreise requests only masked account numbers, balances, and statement transactions.
  • Public GitHub repositories are refused on every list, add, adopt, create, pull, and push operation so financial records cannot be written to a public repository by mistake.
  • Nightly encrypted backups copy only small service state files with 7 daily, 4 weekly, and 6 monthly retention. Git checkouts of user books and the AES-256-GCM master decryption key are excluded.
  • Public page analytics on stats.appreise.com use self-hosted GoatCounter without cookies, local storage, or retained IP addresses. Automated tests keep analytics off signed-in, bank, upload, printable, and lender pages.

Planned

  • Approve and publish the consolidated Data Deletion and Retention Policy draft (docs/policies/05-data-deletion-and-retention-policy.md) covering operational logs alongside application and backup retention windows (Plaid item 5).
Technical evidence (repository paths and automated checks)
  • src/service/github_access.rs and mcp_fixture_tests (enforcement refusing public GitHub repositories)
  • src/service/visit_stats.rs and visit_stats_tests.rs (defense-in-depth exclusion of analytics from authenticated and Set-Cookie responses)
  • src/service/export.rs and export_tests.rs (self-service user data export redacting secret material and token hashes)
  • docs/manual/06-security-and-privacy.md and docs/design/sections/13_hosted.tex (encryption, backup boundaries, and retention schedule)

4. Vulnerability and end-of-life management

Plaid attestation items 6 and 10 (EOL monitoring and automated vulnerability scanning)

In place today

  • Builds are pinned and reproducible through Bazel with strict lock-file verification. The production ledgerd container runs as unprivileged user 65532:65532 on a minimal Distroless Linux base with no shell.
  • Pull requests touching dependencies or build configuration run cargo-audit against the RustSec Advisory Database and crates.io index, failing on vulnerable, unsound, unmaintained, or yanked crates.
  • Every merge to main and a daily scheduled job run the full scanner across all locked Rust crates and scan workload container images with Trivy for HIGH and CRITICAL vulnerabilities.
  • The same scheduled scanner checks pinned Bazel, Rust, Go, Debian, and Alpine versions against endoflife.date and automatically maintains a tracked remediation issue until findings reach zero.
  • Read-only node metrics export pending operating-system security update counts, reboot-required state, and kernel age to cluster monitoring and status alerts.

Planned

  • Approve and publish the End-of-Life Software and Vulnerability Management Policy draft (docs/policies/06-eol-software-policy.md; Plaid items 6 and 10).
Technical evidence (repository paths and automated checks)
  • .forgejo/workflows/security.yml and .forgejo/workflows/test.yml (pull-request, merge, and daily scheduled CI gates)
  • deploy/security/ and //deploy:security_scan_test, //deploy:rust_audit_test, //deploy:image_layout_test (scanner and container layout test suites)
  • docs/design/sections/13_hosted.tex, subsection Vulnerability and end-of-life scanning (scope, cadence, and remediation workflow)

5. Multi-factor authentication

Plaid attestation items 11 and 12 (Consumer-application MFA and internal-system MFA)

In place today

  • Administrative access to production cluster infrastructure goes over authenticated Tailscale private networking.
  • Automated coding and operational agent sessions require short-lived X.509 mutual TLS (mTLS) client certificates enrolled with explicit operator approval.
  • Users sign in through GitHub OAuth or Google OpenID Connect without Appreise ever seeing or storing a user password.
  • Hosted ledger users authenticate a second factor with W3C WebAuthn passkeys, encrypted RFC 6238 TOTP, or hashed one-time recovery codes. MFA is required for writes, banks, OAuth grants, and after a 7-day read grace, with step-up checks before account deletion, factor or login-link changes, and sharing.

Planned

  • Complete operator verification and sign-off on the Internal Systems MFA Inventory and Checklist draft (docs/policies/12-internal-systems-mfa-inventory.md; Plaid item 12).
Technical evidence (repository paths and automated checks)
  • docs/design/sections/13_hosted.tex, subsections Where it runs and Identity (private-network administration and passwordless OAuth sign-in)
  • src/oauth/lib.rs, src/service/web.rs, src/service/mfa.rs, src/service/mfa_webauthn.rs, src/service/mfa_totp.rs, src/service/mfa_web.rs, and mfa_tests.rs (OAuth 2.1, browser sign-in, WebAuthn passkeys, TOTP, recovery codes, and step-up gates)

Continuous automated checks

Every code change and scheduled pipeline runs automated checks using cargo-audit, the RustSec Advisory Database, the crates.io yanked-crate index, Trivy container scanning, and endoflife.date lifecycle checks across Rust, Go, Debian, and Alpine Linux. Repository build metadata extracted at build time: Bazel 9.3.0, 307 locked Rust crates, container base gcr.io/distroless/base-nossl-debian13, scheduled full scan 04:23 UTC daily (23 4 * * *).

Latest scan snapshot: 2026-11-28

CheckStatusCadenceLast runLast clean run
Hermetic build, unit, integration, and isolation tests
Bazel test suite (//...)
PASSINGEvery pull request, merge to main, and nightly schedule2026-11-282026-11-28
Pull-request Rust dependency diff and lock-file integrity check
cargo-audit + RustSec + crates.io index
PASSINGEvery dependency or deploy pull request (--lockfile_mode=error)2026-11-282026-11-28
Full workspace Rust dependency audit
cargo-audit + RustSec + crates.io index
REMEDIATING (3)Every merge to main and daily schedule2026-11-28pending remediation
Container image OS and package vulnerability scan
Trivy (ledgerd and companion service images)
PASSINGEvery merge to main and daily schedule2026-11-282026-11-28
Toolchain, runtime, and base-OS end-of-life check
endoflife.date lifecycle scanner (Bazel, Rust, Go, Debian, Alpine)
PASSINGEvery merge to main and daily schedule2026-11-282026-11-28

Findings log

Open findings (count and severity only)

Open automated scan items are published strictly by count and severity until remediated (never package versions or advisory identifiers):

CheckSeverityOpen count
Full workspace Rust dependency auditUnmaintained / informational notice3

Resolved findings

F-2026-01: Pull-request dependency scan could pass when a vulnerable crate was planted only in the lock file

Found: 2026-11-27 · Severity: High · Fixed: 2026-11-27

What was found: A verification test planted a vulnerable Rust crate version directly into MODULE.bazel.lock without changing MODULE.bazel. Because Bazel ran without strict lock-file mode, Bazel rewrote MODULE.bazel.lock back to match MODULE.bazel before the scanner read it, allowing the pull-request check to pass.

How it was fixed: All CI scan commands now pass --lockfile_mode=error so Bazel refuses to rewrite MODULE.bazel.lock. In addition, the pull-request scanner reads git HEAD's lock file directly, fails if the working tree diverges, and includes regression tests plus a live planted-vulnerability verification run.

Independent external review

Status: Planned (tracked before general multi-user launch)

All multi-user isolation boundaries currently rely on internal design reviews and automated integration suites covering cross-user AAD tampering, session and CSRF checks, and single-repository viewer staging. Before opening sign-up beyond invited testers, Appreise plans an independent external security review and penetration test across browser sign-in, MCP OAuth grants, per-user workspaces, one-time links, and shared-ledger pages. Every finding will be remediated with a regression test, and the completion date, scope, and remediated findings summary will be published here.

How to report a security problem

If you believe you have found a security or privacy vulnerability in Appreise, please email office@appreise.com with steps to reproduce the issue and avoid accessing or modifying any other user's data. Machine-readable contact metadata following RFC 9116 (security.txt) is published at /.well-known/security.txt.