baoyu-post-to-x

Warn

Audited by Socket on Jul 27, 2026

3 alerts found:

Securityx3
SecurityMEDIUM
SKILL.md

The skill is internally consistent with its stated purpose, but it is high risk because it empowers an AI agent to publish publicly to X using the user's live browser session and anti-bot bypass automation. This looks more like a legitimate but sensitive automation skill than malware; the primary concern is autonomous real-world posting, not covert exfiltration.

Confidence: 88%Severity: 72%
SecurityMEDIUM
scripts/md-to-html.ts

No clear evidence of deliberate malware/backdoor behavior in this module. However, it is security-sensitive: it downloads arbitrary attacker-controlled HTTP(S) URLs (including redirects) and writes the responses to disk, creating an SSRF/uncontrolled egress risk. Separately, its Markdown-to-HTML conversion performs insufficient escaping and inserts unvalidated link href values directly into HTML, creating a high XSS/HTML-injection risk if the resulting HTML is rendered or served without robust sanitization at a higher layer.

Confidence: 72%Severity: 74%
SecurityMEDIUM
scripts/paste-from-clipboard.ts

This module is a dual-use cross-platform keystroke injection utility that performs a real paste (Cmd+V/Ctrl+V equivalents) to the active/frontmost application and explicitly aims to bypass synthetic paste-event detection. No network exfiltration or persistence is present in the provided code, but the behavior is inherently security-sensitive (UI input automation) and can be abused for clipboard-driven attacks. The highest concrete technical risk is on macOS: user-supplied --app is interpolated into dynamically constructed AppleScript executed via osascript without escaping/validation, creating an AppleScript-evaluation injection risk. Overall: elevated security risk; treat as high-impact automation code and restrict/validate inputs when used.

Confidence: 66%Severity: 75%
Audit Metadata
Analyzed At
Jul 27, 2026, 01:21 AM
Package URL
pkg:socket/skills-sh/anbeime%2Fskill%2Fbaoyu-post-to-x%2F@c70d63854e37bd63922b8d41dcb6f4a391c275b7e8896e6f080663fa8dde41dd
Security Audit — socket — baoyu-post-to-x