create-gh-pages-site

Warn

Audited by Socket on Aug 6, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/new-site.mjs

No clear evidence of intentional malware (no eval/Function, no exfiltration, no backdoor behavior) in the provided fragment. However, it performs a high-impact supply-chain operation by cloning a caller-influenced registry and then copying and rewriting attacker-controlled template files into the user’s output directory. Additionally, the template path uses join(templatesRoot, template) without visible sanitization, which could allow path traversal if not handled elsewhere. Treat registry/template inputs as untrusted and ensure template name/path validation and trusted registries.

Confidence: 62%Severity: 60%
Audit Metadata
Analyzed At
Aug 6, 2026, 03:36 AM
Package URL
pkg:socket/skills-sh/jongio%2Fskills%2Fcreate-gh-pages-site%2F@0ff993d52abab136eca221b28efa41ed7d29791fd327d844a12fcd96cd19fc7a
Security Audit — socket — create-gh-pages-site