baoyu-danger-x-to-markdown

Warn

Audited by Socket on Jul 13, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/constants.ts

This module is a configuration/constants file that is likely used to perform authenticated/automated interaction with X/Twitter. The presence of a hardcoded exported bearer token and exports that strongly indicate use of local browser session/cookies (cookie names + derived Chrome profile path) creates a high secret-exposure and credential misuse risk. No direct malicious actions are visible in this fragment, so malware intent is not proven, but security review/secret rotation and validation in consuming modules is warranted.

Confidence: 64%Severity: 70%
AnomalyLOW
scripts/cookies.ts

No explicit obfuscated malware or direct outbound exfiltration is present in this module. However, it implements a high-impact capability: harvesting X/Twitter authentication cookies via local Chrome CDP, optionally persisting them to disk, and returning them in a Cookie header for downstream authenticated requests. Combined with partial token leakage in logs and sensitive token persistence (permissions not shown here), this is a security-sensitive supply-chain component that warrants careful review of intended use, log exposure, and cookie-file storage controls.

Confidence: 70%Severity: 66%
Audit Metadata
Analyzed At
Jul 13, 2026, 08:05 AM
Package URL
pkg:socket/skills-sh/full-stack-skills%2Fbaoyu-skills%2Fbaoyu-danger-x-to-markdown%2F@cb19b2ebbefd545c3282cd04203ca5e7d0cf1ec038b42989b72d991432883265
Security Audit — socket — baoyu-danger-x-to-markdown