x-writing

Warn

Audited by Socket on Sep 21, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/fetch-notes.sh

The code is a legitimate macOS Notes retrieval utility, but it has an AppleScript injection vulnerability because command-line and environment-controlled values are concatenated into osascript source without escaping. It also executes `.env.local` as arbitrary Bash code and exposes note contents through stdout. No direct malware or exfiltration behavior is present in the supplied fragment. Arguments should be passed through a safe mechanism or escaped, the recent count should be strictly validated, and configuration should not be sourced as unrestricted shell code.

Confidence: 97%Severity: 63%
Audit Metadata
Analyzed At
Sep 21, 2026, 11:26 PM
Package URL
pkg:socket/skills-sh/richtabor%2Fagent-skills%2Fx-writing%2F@2f5be8ec2aa03911dddc427640b3c214e8e9e69a6d779d497959a4f2f2b56a0e