Missing User Warnings
Medium
- Confidence
- 90% confidence
- Finding
- The function persistently stores the Nostr private key in plaintext under ~/.agentbus/keys/{agent}.json without setting restrictive permissions, encryption, or warning the user. On multi-user systems, compromised accounts, backups, or overly permissive umask settings, disclosure of this key allows an attacker to impersonate the agent, sign forged events, and decrypt or participate in session key exchange as that identity.
