- Decentralization Manager
- Operations and reference
- Audit and design acknowledgements
Audit and design acknowledgements
What this audit covers
Section titled “What this audit covers”Quantstamp reviewed the Daml governance packages that implement threshold voting and selected governed actions for Decentralization Manager. The report does not certify the complete application or a production deployment.
| Record | Repository evidence |
|---|---|
| Auditor | Quantstamp |
| Review period | 20 May 2026 to 22 May 2026 |
| Initial report and fix-review date | 22 May 2026 |
| Final report date | 5 June 2026 |
| Language | Daml |
| Methods | Architecture review, unit testing, functional testing, computer-aided verification, and manual review |
| Source revision on the report front page | c3f578b67848441c1782ce0198e46ae1fef121bb |
| Revision shown in the report scope section | 80b502d01b214f8c22a7d6f52b967274043aba2e |
| Audit Report | Report |
Included and excluded components
Section titled “Included and excluded components”The report lists these included paths:
daml/governance-core/daml/governance-action-v0/daml/governance-token-custody/daml/governance-utility-onboarding/
The report explicitly excludes daml/dars/*.
The report does not list the Rust backend or the web interface as audited components. It also does not list the identity-provider configuration, database, deployment manifests, container images, infrastructure, peer protocol or production operations. The appendix includes Rust and Daml test output. This test output does not expand the stated audit scope.
Package names since the audit
Section titled “Package names since the audit”The repository renamed the audited packages after the audit. The audit fixes are not upgrade-compatible with the -v0 packages. The packages therefore moved to new package names. The rename went through an intermediate -v1-rc1 name.
| Path in the report | Package name at c3f578b |
Path on main |
Package name on main |
|---|---|---|---|
daml/governance-action-v0/ |
governance-action-v0 |
daml/governance-action-v1/ |
governance-action-v1 |
daml/governance-core/ |
governance-core-v0 |
daml/governance-core/ |
governance-core-v1 |
daml/governance-token-custody/ |
governance-token-custody-v0 |
daml/governance-token-custody/ |
governance-token-custody-v1 |
daml/governance-utility-onboarding/ |
governance-utility-onboarding-v0 |
daml/governance-utility-onboarding/ |
governance-utility-onboarding-v1 |
The audited packages also changed after the audit. For example, governance-utility-onboarding-v1 has version 0.5.0 on main. The audited revision has version 0.1.0. Use the file signatures in the report to find the audited code.
Packages outside the audit scope
Section titled “Packages outside the audit scope”The report’s included paths do not list these packages under daml/:
daml/governance-rewards-automation/(governance-rewards-automation-v1). This package holds the CIP-104 reward actions and the coupon reassignment delegation. The repository added it after the audit. Reward automation describes it.daml/governance-utility-credential/(governance-utility-credential-v1). The package exists atc3f578b. The report does not list it.daml/orphan-marker/. Only the integration tests use this package.- The test packages, for example
daml/governance-rewards-test/anddaml/governance-rewards-assign-test/.
Results
Section titled “Results”The executive summary records five findings:
- No high-severity findings.
- No medium-severity findings.
- Three low-severity findings, all recorded as fixed.
- Two informational findings, one recorded as fixed and one as acknowledged.
The report also records five auditor suggestions. It records S1, S2 and S5 as fixed, and S3 and S4 as acknowledged.
The fix-review update states that the team addressed the reported issues. It also states that the fixes match the recommendations. It names DLC-5, S3 and S4 as deliberate design acknowledgements, not code changes.
Finding index
Section titled “Finding index”| ID | Summary | Severity | Report status | Referenced change |
|---|---|---|---|---|
| DLC-1 | Permissionless creation of unarchivable confirmations | Low | Fixed | 0edb57f |
| DLC-2 | Suboptimal InstrumentID setup |
Low | Fixed | 8733d06 |
| DLC-3 | Governance execution audit trail lacks sufficient proposal context | Low | Summary table: Fixed. Finding detail: client-marked Mitigated | d2309cf |
| DLC-4 | Expired confirmations can still be consumed directly | Informational | Fixed | 59864eb |
| DLC-5 | GovernanceRules permits 1-of-1 configurations |
Informational | Acknowledged | Operational control, not a code change |
Auditor suggestions
Section titled “Auditor suggestions”| ID | Summary | Status | Referenced change or treatment |
|---|---|---|---|
| S1 | Improve on-ledger validation | Fixed | f3aa5af |
| S2 | Clarify the self-confirmation expiry choice name | Fixed | 688c43f |
| S3 | Governable actions cannot return typed execution artifacts | Acknowledged | Handled through design and documentation |
| S4 | Missing generic archive actions | Acknowledged | Use narrowly scoped actions when cleanup is required |
| S5 | Minor code improvements | Fixed | 9b5dba3 |
Design acknowledgements
Section titled “Design acknowledgements”1-of-1 governance configurations
Section titled “1-of-1 governance configurations”GovernanceRules permits one member with a threshold of one. The repository acknowledgement says that this supports bootstrap and development environments. A production deployment must move to at least two members and a threshold of at least two before it goes live. Teams that need an enforced minimum must apply that rule through their deployment or admission process.
Execution artifacts
Section titled “Execution artifacts”The Daml GovernableAction_Execute and executeImpl interfaces return Update (). They do not return typed artifacts that the governed action creates. Downstream systems may need to inspect ledger events or rebuild the resulting state. The acknowledgement assigns the result shape to a planned HTTP delegation layer outside the on-ledger interface.
Treat the delegation layer as planned work unless the supported release documentation states that it is available.
Archive actions
Section titled “Archive actions”The implementation does not provide one generic governance action that can archive any contract that the governance party signed. The acknowledgement rejects that broad authority because one approved vote can archive unrelated contracts. The documented alternative is a dedicated, narrowly scoped GovernableAction for each specific cleanup capability.
Operational considerations from the report
Section titled “Operational considerations from the report”The report identifies properties that operators and integrators must account for:
- A
GovernanceExecutionResultrecords a governance outcome. A historical reconstruction may need the transaction graph. - A change to
actionConfirmationTimeoutapplies to new confirmations, not existing confirmations. - Some governed actions require confirmers to perform off-ledger validation.
- Action inputs can become invalid between proposal and execution.
- Membership and threshold changes apply to actions already in progress. They can block an action that was executable. They can also make an action executable that was not executable before.
- Governed token actions in the reviewed implementation pass empty requirements and credentials. The report says that these actions support permissionless tokens only.
- The proposer supplies the free-text descriptions and metadata. Confirmers must inspect the structured fields and not rely only on the description.
- The reviewed contracts do not provide an on-ledger emergency pause, partial-quorum revocation, or time-bounded delegation.
How to use the report
Section titled “How to use the report”- Identify the exact release, tag, image and Daml packages that you plan to run.
- Compare them with the audited revisions and file signatures. Map renamed packages with Package names since the audit.
- Read the scope, exclusions, findings, suggestions, and operational considerations.
- Confirm that your release includes the remediation commits.
- Apply the deployment, authentication, peer, backup, monitoring and hardening guidance to the parts outside this audit. These parts include the packages in Packages outside the audit scope.
- Review the design acknowledgements before you approve a production configuration.
Report integrity
Section titled “Report integrity”- PDF SHA-256:
40f6bb26b91a92b5ba264b2e00bc2fbf438ea0b942315d7cbc4ea39a49c1d577 - Audited source revision from the report front page: c3f578b67848441c1782ce0198e46ae1fef121bb
- Scope-section revision: 80b502d01b214f8c22a7d6f52b967274043aba2e
Technical sources
Section titled “Technical sources”Next step
Section titled “Next step”Place the report in context: Security architecture.
Ask the docs
Answers come only from this documentation and can be wrong. Check the linked pages.
Ask a question about BitSafe, CBTC or the developer guides. For example: