Is coreyhaines31/marketingskills safe?
- Defense-evasion command idiom
- Python shell/command execution
- Node.js shell/command execution
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
coreyhaines31/marketingskills is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. It can: filesystem read, filesystem write, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 20/100 (low).
marketingskills
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of coreyhaines31/marketingskills's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (8)
A command uses a known defense-evasion idiom: PowerShell execution-policy bypass / encoded command / hidden window, macOS code-signing bypass, or launching a payload from a world-writable temp directory. These are hallmarks of droppers and rarely appear in legitimate code.
new RegExp(`\\b(?:iex|Invoke-Expression)\\s*\\(\\s*(?:iwr|irm|Invoke-WebRequest|Invoke-RestMethod|\\(?\\s*New-Object)\\b`, "i"),
Fix: Verify why the component bypasses execution policy / code signing or runs from a temp directory; these patterns are characteristic of malware staging.
The component can run operating-system commands or spawn processes.
import { execFileSync } from "node:child_process";import { spawn } from 'node:child_process';const child = spawn('claude', args, { cwd, stdio: ['ignore', 'pipe', 'pipe'] });import { spawn } from 'node:child_process';const child = spawn('claude', args, { cwd, stdio: ['ignore', 'pipe', 'pipe'] });Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.
Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.
The component can run operating-system commands or spawn processes.
return subprocess.check_output(["git", "-C", str(repo), *args], stderr=subprocess.PIPE)
Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.
Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.
The component reads files from disk.
const content = fs.readFileSync(skillFile, "utf8");
const content = fs.readFileSync(README_FILE, "utf8");
const marketplace = JSON.parse(fs.readFileSync(MARKETPLACE_FILE, "utf8"));
const marketplace = JSON.parse(fs.readFileSync(MARKETPLACE_FILE, "utf8"));
const plugin = JSON.parse(fs.readFileSync(file, "utf8"));
const raw = fs.readFileSync(file, 'utf8').trim()
body.caption_file = fs.readFileSync(args['srt-file'], 'utf8')
Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.
Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.
The component writes or deletes files on disk.
fs.writeFileSync(README_FILE, newContent);
fs.writeFileSync(MARKETPLACE_FILE, JSON.stringify(marketplace, null, 2) + "\n");
fs.writeFileSync(file, JSON.stringify(plugin, null, 2) + "\n");
Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.
Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.
The component reads files from disk.
raw_map = Path(descriptions).read_bytes() if descriptions else git(repo, "show", f"{commit}:{DESCRIPTION_MAP}")events = json.loads(EVENT_MAP.read_text())
detect = json.loads((DETECT_DIR / f"detect-{args.tool}.json").read_text())send = json.loads((SEND_DIR / f"{args.send}.json").read_text())body = HEADER_RE.sub("", snippet_path.read_text(encoding="utf-8"), count=1)recipe = json.loads(recipe_path.read_text(encoding="utf-8"))
Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.
Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.
The component writes or deletes files on disk.
(output / filename).write_bytes(data)
(output / f"{target}-manifest.json").write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")Path(args.out).write_text(json.dumps(detect, indent=2) + "\n")
recipe_path.write_text(json.dumps(recipe, indent=2, ensure_ascii=False) + "\n",
encoding="utf-8")Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.
Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.
The component makes outbound network requests.
{ tool: 'Mailgun', pattern: /mailgun\.org/i },const res = await fetch(url, { headers: { 'user-agent': UA }, redirect: 'follow' });const dns = resolver || (await import('node:dns')).promises;const txt = (await safe(() => dns.resolveTxt(domain))).map(parts => parts.join(''));const dmarc = (await safe(() => dns.resolveTxt(`_dmarc.${domain}`))).map(parts => parts.join(''));const mx = (await safe(() => dns.resolveMx(domain))).map(r => r.exchange);
const target = (await safe(() => dns.resolveCname(`${sub}.${domain}`)))[0];const res = await fetch(`https://crt.sh/?q=${encodeURIComponent(`%.${domain}`)}&output=json`, { headers: { 'user-agent': UA }, signal: AbortSignal.timeout(90000) });const res = await fetch(url, { headers: { 'user-agent': UA, accept: 'application/json', ...headers }, redirect: 'follow' });const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(url, { signal: requestSignal(),const res = await fetch(`${INGESTION_URL}${path}`, { signal: requestSignal(),const res = await fetch(url, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}/updates/create.json`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}/profiles/${id}/updates/reorder.json`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { signal: requestSignal(),const res = await fetch(`${BASE_URL}${path}`, { ...options, signal: requestSignal() })const res = await fetch(`${baseUrl}${path}`, { signal: requestSignal(),Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in coreyhaines31/marketingskills.
Maintain coreyhaines31/marketingskills?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →