hwc-stimulus-fundamentals

Warn

Audited by Socket on Oct 4, 2026

1 alert found:

Anomaly
AnomalyLOW
references/2023-12-19-stimulus-outlets-api.md

No evidence of malicious behavior or supply-chain malware is present. The code is a legitimate Stimulus Outlets API example, but it has a security weakness: unescaped job fields are inserted into HTML via `insertAdjacentHTML`, which can enable XSS if the jobs value is attacker-controlled. Use DOM property assignments or an HTML-escaping routine, validate statuses, and use `CSS.escape(job.id)` for selector construction. Also handle missing outlet jobs and replace `break` with appropriate logic if all jobs should be processed.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Oct 4, 2026, 11:47 AM
Package URL
pkg:socket/skills-sh/thehotwireclub%2Fhotwire_club-skills%2Fhwc-stimulus-fundamentals%2F@4dea81cda4dd7c1a1b0c62fb72165e0d144204b4658c99a3de0cff5260932d4f