Skip to content

Phase 3: Ed25519 Hardware-Sealed Audit Ledger, Sandbox Doctor, Shared Core Redactor & Unified CLI - #64

Merged
divyanshujethi merged 1 commit into
mainfrom
feat/phase3-ledger-doctor-redactor
Nov 18, 2026
Merged

divyanshujethi merged 1 commit into
mainfrom
feat/phase3-ledger-doctor-redactor

Conversation

@divyanshujethi

Copy link
Copy Markdown
Collaborator

Summary

  • Added OS hardware keystore adapter (src/keystore.ts) sealing Ed25519 keys in macOS Keychain, Linux Secret Service (secret-tool), Windows DPAPI, or 0600 keyfile.
  • Upgraded TamperEvidentLedger (src/ledger.ts) with asymmetric Ed25519 signatures, public-key-only verification (�erifyWithPublicKey), and RFC 3161-style remote counter-signatures.
  • Added �gentshield doctor [--json] (src/doctor.ts) cross-platform sandbox & kernel diagnostics (Landlock/bwrap/Ubuntu 24.04 AppArmor userns/eBPF/Seatbelt/DPAPI).
  • Added zero-dependency shared core redactor (src/core-redactor.ts, exported via @ritualdev-lab/agentshield/core-redactor) with linear-time DFA regexes, Shannon entropy (H > 4.5), 25ms circuit-breaker, and staged Git diff redaction.
  • Wired unified CLI routing (doctor, ledger verify [path] [--pub-key], db-proxy, compact).
  • Added Phase 3 test suite ( ests/phase3-ledger-doctor-redactor.test.ts); 268/268 tests passing, Biome lint clean, dogfood CI gate clean.

@github-actions

Copy link
Copy Markdown

👋 Thanks for opening this Pull Request, @divyanshujethi!

Thank you for contributing to AgentShield! 🛡️

Here is what happens next:

  1. 🧪 Automated Security Gate: Our CI workflow (pr-gate.yml) audits your diff for accidental credential exposure and runs test suites.
  2. 🔍 Code & Security Review: A maintainer from @RitualDev-Lab will review your changes shortly.
  3. 🌟 Contributor Recognition: Once merged, you'll be featured on our contributors list!

💡 Tip: Make sure secrets/mock API keys in tests are synthetic/redacted and tests pass locally (pnpm test).

@github-actions

Copy link
Copy Markdown

🛡️ AgentShield Pull Request Security Audit

✅ Security Gate Passed — No Exposed Secrets Detected

  • Files Audited: 9
  • Commit Evaluated: 021d908
  • Status: Diff is clean. Zero-leak credential policy verified for autonomous AI & developer tools.

AgentShield: OWASP LLM06 Compliant


Protected by AgentShield — Zero-Leak Security for AI Agents & Engineering Teams.

@divyanshujethi
divyanshujethi merged commit 04f336e into main Nov 18, 2026
11 checks passed
@divyanshujethi
divyanshujethi deleted the feat/phase3-ledger-doctor-redactor branch November 18, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant