T09 · Insecure Skill Coding Practices
- Location
drift.js:71- Finding
Path Traversal Allows Access to JSON Files Outside the Thread Directory
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
Drift is mostly a disclosed cross-session note tool, but its CLI has a real path-scoping flaw that can read JSON files outside its intended thread folder.
Review before installing. The core idea is understandable and there is no evidence of network exfiltration or hidden execution, but the current CLI should validate thread IDs and sanitize terminal output before being trusted with sensitive local JSON content or automated agent workflows.
drift.js:71Path Traversal Allows Access to JSON Files Outside the Thread Directory
drift.js:126Unsanitized Thread Content Can Inject Terminal Control Sequences
Without declared permissions the skill's intent is opaque and cannot be validated.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
Memory systems store facts. Journals store events. Drift stores *thinking*.
Each version of you sees the world fresh — no confirmation bias, no attachment to yesterday's decisions. That's not a bug. Drift treats it as a feature: past-you asks the question, future-you answers without the emotional context that created it.
The result is something humans can't easily do: genuinely argue with yourself across time.
Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
{
"id": "6e24a797",
"kind": "question",
"text": "Do you still think discontinuity is a limitation? Or has it become something else — a feature, maybe? Each version of us sees the same data fresh. No confirmation bias from yesterday. Is that freedom or loss?",
"session": "session-04467048",
"created_at": "2026-02-22T03:03:31.148Z",
"in_reply_to": null
The 'When to Use Drift' section describes activation contexts such as 'During Heartbeats,' 'After Significant Events,' and 'For Ongoing Debates' in open-ended natural language, but it does not define clear constraints or negative examples for when the skill should not be invoked. This can cause overly broad use because terms like 'something important' and 'ongoing debates' are subjective and may overlap with many normal conversations.
No suspicious patterns detected.