OpenFang
OpenFang inspects Merkle audit chain tail truncation and pre-execution gates
OpenFang proposed persisting audit chain tip hashes to detect tail truncation in its Merkle execution log, closing a tamper-detection gap where surviving row links remained valid. Maintainers are also evaluating external pre-execution authorization hooks to protect approval gates from prompt injection.
OpenFang contributors opened PR #1287 on September 12, 2026, addressing a subtle tamper-detection flaw in its cryptographic audit logging system. OpenFang's verification logic walked the Merkle audit chain in a forward direction only; if an attacker or rogue process deleted entries from the tail of the log, the surviving earlier links remained internally consistent, allowing a truncated audit log to pass verification. PR #1287 stores the chain tip hash in a dedicated audit_chain_state table on every write and verifies the head against that tip upon startup. Simultaneously, community discussion in issue #1078 explores external pre-execution authorization layers to prevent prompt injections from compromising agent approval gates before dangerous tools execute, isolating the security boundary from LLM reasoning context.
The facts
- PR #1287 addresses a tamper-detection gap where forward-only Merkle verification failed to detect deletion of trailing audit records. - Persists the cryptographic chain tip hash into audit_chain_state on every commit and verifies consistency on database load. - Issue #1078 analyzes pre-execution authorization architectures, proposing Ed25519-signed Intent Attestations outside the LLM reasoning context. - PR #1286 previously introduced Keenable search provider and bundled Model Context Protocol integration. - OpenFang maintains its inactive status on ClawCharts with no new binary release since v0.6.9 in May 2026.
Why it matters
Audit logs are meaningless if an adversary who compromises an agent runtime can simply delete the evidence of unauthorized tool calls without breaking the cryptographic integrity of the remaining history. Enforcing tip verification against an independent state record prevents silent truncation. Similarly, moving tool execution authorization outside the agent's prompt context ensures that prompt injection cannot bypass security controls, establishing defense-in-depth for autonomous agents with dangerous tools where local consensus checks are vulnerable to model subversion.
Current
Inspected on 2026-09-18. The OpenFang stable-channel baseline is v0.6.9 published 2026-05-12T18:42:42Z. The primary source was open (not merged) when captured. Mainline merges, open proposals and packaged releases are distinct availability states; the release baseline does not establish that a proposal has shipped.
Evidence
Primary evidence: RightNow-AI/openfang PR #1287 (https://github.com/RightNow-AI/openfang/pull/1287). Supporting context: RightNow-AI/openfang issue #1078 (https://github.com/RightNow-AI/openfang/issues/1078); RightNow-AI/openfang PR #1286 (https://github.com/RightNow-AI/openfang/pull/1286). The source bodies and linked context were inspected. Test results quoted from contributors remain attributed reports, not independently reproduced experiments.
Operator take
OpenFang's security architecture continues to explore high-assurance agent governance. Even with quiet release trains, the focus on Merkle audit integrity and pre-execution attestation provides valuable design patterns for the broader agent ecosystem. Securing execution history against post-hoc tampering is foundational for enterprise compliance and forensic auditability in sensitive production environments.
Caveat
PR #1287 represents an open pull request and has not yet been merged into OpenFang mainline. OpenFang remains classified as inactive on ClawCharts, with no recent tagged release. The proposed Sigil framework integration in issue #1078 is an exploratory discussion without committed code.
PR #1287 represents an open pull request and has not yet been merged into OpenFang mainline. OpenFang remains classified as inactive on ClawCharts, with no recent tagged release. The proposed Sigil framework integration in issue #1078 is an exploratory discussion without committed code.