bid-template-fill

Warn

Audited by Socket on Jul 5, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/fill_template.js

Overall, this module behaves like a document-template filler: it extracts a DOCX, performs placeholder/date substitutions with XML-escaped values, then repacks. No explicit data theft/backdoor behavior is present in this fragment. However, the code executes external tools and (on Windows) generates/executed PowerShell with '-ExecutionPolicy Bypass', and archive extraction lacks visible path-safety controls (raising potential ZIP-Slip/path traversal concerns depending on the underlying unzip behavior). Treat templatePath/dataPath as untrusted and review/harden path handling and extraction/packing safety.

Confidence: 62%Severity: 58%
Audit Metadata
Analyzed At
Jul 5, 2026, 02:29 AM
Package URL
pkg:socket/skills-sh/CherryHQ%2Fskills%2Fbid-template-fill%2F@001a37b1ab2816b664a58d18f2280e84eed1080b3e2c67fca8cf97f179932183
Security Audit — socket — bid-template-fill