AURICORE™
Local-first sovereign digital value preservation. AURICORE turns files, directories, software, documents, datasets, media and AI outputs into independently verifiable .auri Proof Assets — canonical manifests, Ed25519 signatures, append-only provenance, license evidence and recovery metadata — that verify fully offline. Private keys stay in a local encrypted keystore.
Security test report — AURICORE 1.0.0 (2026-10-25)
Command: coverage run -m pytest -q (plus a junitxml run for this report). Lint: clean (FastAPI B008 per-file ignore documented in pyproject).
Type check (mypy): clean, 21 source files. Secret scan findings:
0. Build: built successfully (auricore-1.0.0).
Live API smoke against a locally run server: health/live 200,
health/ready 200, subject create 201,
token issue 200, introspect 200, metrics 200,
verifier UI 200.
| Test area | Tests |
|---|---|
| unit | 26 |
| security | 12 |
| api | 9 |
| migration and metabuilder | 6 |
| integration | 5 |
| fuzz | 3 |
| backup restore | 2 |
| compatibility | 2 |
| property | 2 |
| end to end | 1 |
| performance smoke | 1 |
The 24 mandatory negative scenarios covered
- one-byte artifact modification
- manifest modification
- invalid signature
- unknown signature suite
- revoked signing key
- expired credential/token
- stale event head
- duplicate event head append
- cross-tenant access
- missing authorization scope
- wrong token audience
- wrong token issuer
- disallowed JWT algorithm (none)
- expired token
- unsafe archive path
- duplicate canonical package path
- symlink attack
- oversized/compression-bomb entry
- unknown critical extension
- database transaction interruption (rollback)
- queue redelivery/dead-letter design (worker attempts cap)
- backup corruption
- restore mismatch (legacy + restore verification)
- metabuilder path traversal (self-test)
Baseline audit — 2026-10-25
AURICORE enterprise hardening pass (baseline forensics before source changes). The audit found 18 findings: 2 critical, 5 high, 9 medium, 2 low.
Remediation — MVP 0.1.0 → 1.0.0
| ID | Severity | Finding & disposition |
|---|---|---|
AURI-SEC-001 | critical | Private signing keys stored in plaintext JSON FIXED — src/auricore/crypto_provider KeyStore; tests/unit/test_crypto.py::test_keystore_encrypted_at_rest, test_wrong_password_fails_closed |
AURI-SEC-002 | critical | Hosted API has no authentication or authorization FIXED — src/auricore/api.py, identity, authorization; tests/api/test_api.py, tests/security/test_tokens_authz.py |
AURI-SEC-003 | high | No rate limiting, body limits, security headers, or CORS policy in the API FIXED — api.py middleware; payload cap returns 413 before body read |
AURI-CRYPTO-001 | high | Signature record omits key version, payload profile, canonicalization profile, creation time, trust and revocation fields FIXED — crypto_provider.SignatureEnvelope; container verifier resolves key status distinctly (REVOKED) |
AURI-CRYPTO-002 | medium | No key rotation, revocation, or compromise lifecycle FIXED — crypto_provider, api keys routes; tests cover rotation and revoked signing refusal |
AURI-CRYPTO-003 | medium | No post-quantum agility boundary FIXED as adapter boundary — PQ suites report UNSUPPORTED explicitly (no FIPS claim); tests/unit/test_crypto.py::test_pq_unsupported_explicit |
AURI-REL-001 | high | Registry uses INSERT OR REPLACE and non-atomic audit writes; no event-head concurrency control FIXED — storage.Repository; tests/integration/test_storage.py (conflict, rollback, idempotency, tenant isolation) |
AURI-API-001 | high | API surface is 3 routes vs the blueprint contract (assets, events, licenses, keys, preservation, exports, recovery, audit, auth) FIXED — src/auricore/api.py |
AURI-SEC-004 | high | Package reader does not reject duplicate canonical paths, symlinks/special files, or unknown critical features FIXED — container._validate_infos/verify_package; tests/security/test_hostile_packages.py |
AURI-REL-002 | medium | Single files only: no directory refinement, no detached artifacts, no extraction quarantine FIXED — container._source_entries/refine/extract_package |
AURI-DATA-001 | medium | Data model lacks tenants, subjects, keys, licenses, preservation runs, receipts, idempotency, recovery, jobs, outbox FIXED — storage.ALL_TABLES, migrations/, scripts/migration/migrate_mvp.py; tests/migration |
AURI-OPS-001 | medium | No deployment assets beyond scripts/run_mvp.sh FIXED — deploy/, scripts/{recovery,build,release,security} |
AURI-OPS-002 | medium | No structured logging, metrics, health/readiness separation, or audit chain FIXED — observability, audit, api routes |
AURI-TEST-001 | medium | Test coverage: 2 tests (roundtrip/tamper, traversal) only FIXED — tests/ (see SECURITY_TEST_REPORT.json for executed counts) |
AURI-DOC-001 | low | Documentation is README + 2 short docs; no threat model detail, control matrix, runbooks, ADRs, or specs FIXED — docs/ tree and root documents |
AURI-SUPPLY-001 | medium | Dependencies unpinned ranges without lock, no SBOM, no CI, no secret/vuln scanning configuration FIXED — .github/workflows/ci.yml, scripts/security/generate_sbom.py, scripts/release/build_release.py |
AURI-COMM-001 | low | No edition/entitlement scaffolding; no payment boundary FIXED — policy, entitlement, licensing |
AURI-COMPAT-001 | medium | Hardening must not orphan MVP packages FIXED — container._verify_legacy; tests/migration/test_migration.py::test_legacy_mvp_package_still_verifies |
What the audit says AURICORE already did at baseline
Streamed SHA-256 file digests and deterministic canonical JSON; Ed25519 key generation and manifest signing; a ZIP-compatible .auri writer/reader with traversal, entry-count, size and compression-ratio checks; one-byte tamper detection; an append-only hash-linked event log; a SQLite registry; a Typer CLI; a FastAPI surface; and BUILD_MANIFEST generation with a --verify mode in the MetaBuilder (dry run: 18 files planned; generate + verify: verified=true, mismatches=[]).
Evidence files
Copied verbatim from GOLD/AURICORE/ on 2026-11-23 via the
JAVA1KIND Bridge (see provenance):
BASELINE_AUDIT.json ·
REMEDIATION_REPORT.json ·
SECURITY_TEST_REPORT.json.
Operator quickstart, in one line: install the package, initialise a vault, create an encrypted
key, refine assets into Proof Assets, verify them anywhere — offline.