Repository navigation
RepoDNA v1.0.1 — Security & Reliability Update
RepoDNA v1.0.1 — Security & Reliability Update
Recommended security and reliability release closing all 15 security findings (SEC-01–SEC-15) and 4 correctness findings (COR-01–COR-04) identified during independent post-v1.0.0 verification.
Upgrade Guidance for v1.0.0 Users
All v1.0.0 users should upgrade to v1.0.1:
pip install --upgrade https://github.com/Cihanak1/RepoDNA/releases/download/v1.0.1/repodna_engine-1.0.1-py3-none-any.whl
repodna --version
repodna start --open-browser- Local API Authentication:
repodna startnow generates a per-launch cryptographicREPODNA_API_TOKENby default. The bundled same-origin WebUI bootstraps via a distinctHttpOnly; SameSite=Strictbrowser session cookie (never exposingREPODNA_API_TOKENin cookies or URLs). Automation clients calling/api/*directly should passAuthorization: Bearer <token>orX-RepoDNA-Token: <token>. - CLI Command Note: Use
repodna start --port 8000(replacing the erroneousrepodna servenote inv1.0.0). - Immutability: The
v1.0.0tag (65f02ba) and its release artifacts remain untouched for audit traceability.
Security & Reliability Highlights
- Workspace & MCP Authorization (
SEC-01,COR-01): Fail-closedauthorized_rootsenforcement across all 5 MCP workspace tools (allowed_roots) and all REST workspace routes (including cached freshness checks), plus canonical resolved root propagation toSymbolIndexer. - Contract & Historical Evidence Containment (
SEC-02,SEC-03): Symlink, containment, size, and binary guards on architecture contracts (safe_read_evidence_file); centralized sensitive-path blocking (.env*, private keys, credential files/dirs) on Git historical blobs. - Unified Secret Redaction & Bounded Expansion (
SEC-04,SEC-11,SEC-12): Centralizedredact_secrets_unified(full multiline PEM blocks, modern PAT/API keys, Bearer headers, DB URI credentials, quoted/unquoted assignments) across Brain, History, Legacy Context, Agent Context, REST, and MCP; boundedsafe_read_evidence_fileinProgressiveContextExpander. - Local API Auth, Host/Origin & VS Code Identity (
SEC-05,SEC-13,SEC-14): Per-launch session token, exact-origin validation, strictHostvalidation, HMAC-SHA256instance_proofhandshake verification andredirect: 'error'in VS Code extension,localResourceRoots: []in Webview, andrealpathSyncpath containment. - Bounded YAML, OpenAPI Containment, Live SQLite Recovery & Plugin ReDoS (
SEC-07–SEC-10): Alias-disabled bounded YAML loader across all untrusted repo YAML inputs, symlink/containment guards on OpenAPI discovery, non-blocking exclusive revalidate-quarantine-rebuild recovery inLiveStatePersistence, and structural linear-time regex validation. - Correctness, Cache Lifecycle & UI Stability (
COR-02–COR-04): Closed MCP/REST/Workspace snapshot freshness blind spots, integratedquality_reportsinto SQLite cache migration/clear/quota/eviction/stats, and fixed frontend/api/healthmount hydration race. - Supply Chain, SBOM & Distribution (
SEC-06,SEC-15): Transitive CycloneDX 1.5 SBOM (68components,42dependency nodes, includingwatchfilesand exactpackage-lock.jsonversions with RFC%40PURLs),0CVEs viapip-auditandnpm audit --omit=dev, SHA-pinned GitHub Actions, rootaction.ymlwithbranding:and self-contained install, and a 128×128 PNG VS Code extension icon.
Verification Summary
- Main Commit:
e44521187219146a9b82aba585eb710e8d820193(300commits, PR #15 standard merge) - CI Status: PR #15 (
46496911744) 8/8 PASS, Main CI 8/8 PASS - Independent Security Review: PASS (0 remaining Critical/High findings)
- Installed Wheel & SDist Full E2E + 20-Run Playwright: PASS (
20/20,0errors) - Genuine 60-Minute Live Soak: PASS (
3600.53s,50analyses,0failures,rss_max=48.2 MB,1,204SSE events) - Large Repo Stress: PASS (
504real,1,050synthetic,5,050synthetic files) - Held-Out AI Abstention:
91.67%File Recall@5,86.67%(13/15) negative-task abstention - External Registries (PyPI, VS Code Marketplace, Open VSX, GHCR, GitHub Marketplace):
NOT PUBLISHED(requires maintainer authorization)
Release Artifacts & SHA-256 Checksums
repodna_engine-1.0.1-py3-none-any.whl—94fdd6826624ca7174ea6633df4a8adb05ca63160015e67228d24e82f00c990crepodna_engine-1.0.1.tar.gz—e1da283a9ce3e3a701401f561c8724be950b3ac1ee4ba1bf2bdd2828a4858a6frepodna-1.0.1.vsix—8ecefa80438f4332262b2b79bde68cae5d2a4926323dad72d5291113902c6f4crepodna-1.0.1.cdx.json—8b7d8f788b0452c26d56cb1d45e3ff8b674ffa21b9f35b682f4025061158deedSHA256SUMS.txt