baoyu-post-to-weibo

Warn

Audited by Socket on Sep 9, 2026

2 alerts found:

SecurityAnomaly
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%
AnomalyLOW
scripts/weibo-utils.ts

No definitive malicious payload (e.g., exfiltration, reverse shells, credential theft code) is visible in the provided fragment. However, the module performs high-impact host automation: executing OS commands, terminating processes, launching Chrome to a caller-provided URL, and automating clipboard copy/paste via runtime-executed helper scripts. The real malware/abuse likelihood depends heavily on the contents and dependencies of the referenced helper scripts and on how upstream callers supply `url`, `profileDir`, and clipboard-related paths/targets. Treat this as a security-sensitive automation component requiring review and strict input controls.

Confidence: 52%Severity: 56%
Audit Metadata
Analyzed At
Sep 9, 2026, 07:49 AM
Package URL
pkg:socket/skills-sh/full-aigc-skills%2Fbaoyu-skills%2Fbaoyu-post-to-weibo%2F@ac7b1b9e4abd5ed688601da13bac3b63425739d61abe16739e3ed6de8d1d695a
Security Audit — socket — baoyu-post-to-weibo