Separate API runtime privileges from Canton administration
@shibaeff ci sta già lavorando.
Dal 11/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Current triage — 2026-11-09
CANTON-005 remains In Progress; this development-team implementation request stays open/Inbound until work starts. Indexer/relayer separation is complete, while API privilege separation and per-party authorization acceptance remain outstanding.
Recorded November 3 prod1 incident recovery rotated the shared credential and removed ParticipantAdmin plus stale party grants; the API still retained CanExecuteAsAnyParty, CanReadAsAnyParty and IdentityProviderAdmin. Dedicated identity and registration-path validation are tracked in https://github.com/ChainSafe/infra-kubernetes/issues/1195 (CANTON-039). This supersedes older unqualified assertions that the production API still has ParticipantAdmin; current rights require a fresh readback. A dedicated client alone does not complete the service separation/least-privilege acceptance here. Broader follow-up: https://github.com/ChainSafe/infrastructure-general/issues/2030 and https://github.com/ChainSafe/infrastructure-general/issues/1530.
Source findings: https://app.notion.com/p/3df2103664e881309d49c4e1548bf6f1
This summary supersedes conflicting older status notes below. Evidence was refreshed from GitHub/Notion; no new AWS/Kubernetes check, rollout or treatment decision was made.
The middleware API combines ordinary application operations with privileged Canton administration. Separate those responsibilities to reduce what a compromised API can do.
Scope
- Inventory the API’s Canton calls. Identify which calls serve transfers, balances and other normal requests, and which provision parties, manage users/rights or change topology. Map each call to its required permissions.
- Move privileged operations into a separate service or controlled job with its own identity and credentials. Expose only narrowly defined operations, with authorization and audit logs. The public API process must no longer hold privileged credentials.
- Give the API runtime a dedicated identity. Grant only the required
CanReadAs,CanActAsand, where necessary, execution rights for explicit parties. RemoveParticipantAdminand unnecessary any-party permissions. Document the requirement and justification for any unavoidable broad execution permission.
Acceptance criteria
- The API runtime operates without administrator credentials; provisioning credentials are not available to its process.
- Required registration, transfer and read flows work with the new separation, preserving existing party IDs, balances and contracts.
- Authorization tests demonstrate that the runtime cannot perform privileged administration or access unrelated parties.
- Validate in dev before production rollout; check remaining consumers before revoking old shared access.
This tracks the remaining middleware API work from CANTON-005. Related broader identity migration: https://github.com/ChainSafe/infrastructure-general/issues/1530. Indexer and bridge-relayer identity separation is already implemented in prod1.
- Lingua principale
- Go
- Stelle
- 1
- Fork
- 1
- Merge medio
- 6h 59m
- PR unite (30g)
- 6
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ChainSafe/canton-middleware
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ChainSafe/canton-middleware#390 ·
-
Type: Maintenance Type: Test
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ChainSafe/canton-middleware#380 ·
-
CIP-0086: Phase 2 Deliverable: D3 Status: On Ice Type: Feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ChainSafe/canton-middleware#372 ·
-
Phase 2: fee gate gRPC proxyApertaType: Feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ChainSafe/canton-middleware#369 ·
-
Type: Feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ChainSafe/canton-middleware#368 ·
Tutte le issue di ChainSafe/canton-middleware
Issue simili
-
A failed hydrate call can be dropped when the row's wait is ready tooForse già presa @turbot-agent-fleet l’ha presa oggi. Apertaagent:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
turbot/steampipe-plugin-sdk#1018 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-review
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
router-for-me/CLIProxyAPI#7976 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
uselagoon/lagoon-cli#501 · 1 reazione ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100