🟠 [HIGH] CB-008: Environment Variable Leakage via Subprocess #17
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#17
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-214 (Invocation of Process Using Visible Sensitive Information)
Location
tools/plugin.py (env=os.environ.copy()) and security/plugin.pyDescription
Both the exec tool and the security plugin pass the full environment to subprocesses. This exposes
PPQ_API_KEY,NOSTR_NSEC,TELEGRAM_BOT_TOKEN, and any other secrets stored in environment variables.The security plugin explicitly injects
PPQ_API_KEYinto its subprocess environment.Recommendation
Construct minimal environments for subprocesses containing only required variables (
PATH,HOME,LANG).From: Cobot Whitebox Security Audit (February 14, 2026)
Finding ID: CB-008