web-design-guidelines

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
rules/a11y-error-messages.md

The fragment implements accessible form-error display and does not show malicious behavior. However, assigning interpolated `error.fieldId` and `error.message` to `innerHTML` is a security risk if either value can be influenced by untrusted input. Use DOM APIs such as `createElement` and `textContent`, or rigorously escape HTML and validate field identifiers before constructing links.

Confidence: 95%Severity: 58%
AnomalyLOW
rules/a11y-live-regions.md

No malicious behavior or supply-chain backdoor is evident. The code is an accessibility example, but it contains two potential client-side injection vulnerabilities: unsanitized data.html and interpolated showToast inputs passed to innerHTML. Use trusted static templates, textContent, DOM APIs, strict type allowlists, or a proven HTML sanitizer such as DOMPurify before inserting HTML.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 15, 2026, 06:57 AM
Package URL
pkg:socket/skills-sh/asyrafhussin%2Fagent-skills%2Fweb-design-guidelines%2F@18c71ab558017a4b68dd892b8e5f72dd76887209bde7eb888d4f7d240c8fce58