🟠 [HIGH] CB-006: Nostr Private Key Exposure Risk #15
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security Finding from Audit
Severity
HIGH 🟠
CVSS Score
N/A
CWE
CWE-312 (Cleartext Storage of Sensitive Information)
Location
nostr/plugin.py, configure() / start()Description
The Nostr
nsec(private key) is loaded from multiple sources (env var, config file, identity file) and stored as a Python object in memory. The private key hex is passed to multiple pynostr functions.Combined with CB-002 (file read), the identity file or config file containing the nsec can be exfiltrated. Combined with CB-001 (exec),
/proc/self/environexposesNOSTR_NSECif set as environment variable.Recommendation
0600From: Cobot Whitebox Security Audit (February 14, 2026)
Finding ID: CB-006