T09 · Insecure Skill Coding Practices
- Location
SKILL.md:19- Finding
Private Nostr Keys Exposed Through Command-Line Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a coherent Nostr CLI purpose, but it under-discloses risky private-key handling and encourages shell-string command templates that can be unsafe with user-supplied values.
Review before installing. Only use this skill if you can keep Nostr private keys out of prompts, command history, logs, and transcripts, and ensure any user-provided relay or key values are strictly validated and shell-escaped before being used in `script -c` commands. Prefer safer signer or credential-storage workflows when posting.
SKILL.md:19Private Nostr Keys Exposed Through Command-Line Arguments
SKILL.md:9Shell Command Injection Through Unvalidated Values in the PTY Command Template
The skill explicitly instructs users to supply an nsec or hex private key directly on the command line via --sec without any warning about secret handling. Command-line secrets are commonly exposed through shell history, process listings, logs, transcripts, or agent output, making credential compromise more likely in an agent/PTY-based workflow.
No suspicious patterns detected.