Intent-Code Divergence
Medium
- Confidence
- 99% confidence
- Finding
- The example claims to save the seed to an encrypted file, but it actually writes plaintext hex to disk with restrictive file permissions only. That mismatch is dangerous because developers may rely on the comment and store wallet seed material unencrypted, allowing full wallet compromise if the host, backups, logs, or filesystem are exposed.
