Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The helper is explicitly described as creating an in-memory KMS, but it actually backs the key store with KeysFileStorage("kms.json"), causing private key material to be persisted to disk. This mismatch can lead operators and downstream code to assume keys are ephemeral and safe from local disclosure when they are not, increasing the chance of accidental key exposure or improper handling.
