hugo
Audited by Socket on Sep 15, 2026
3 alerts found:
Anomalyx3The fragment is legitimate CMS integration documentation and contains no clear malware or supply-chain sabotage. The OAuth example has security weaknesses that warrant remediation: safely serialize or escape token data before embedding it in HTML, restrict CORS to the admin origin, validate `postMessage` origin and message contents in the receiver, minimize GitHub scopes, and pin or self-host the CDN script. These issues represent configuration and web-security risks, not demonstrated malicious behavior.
The fragment implements a normal client-side search interface and does not show evidence of malware or supply-chain sabotage. It contains a potential DOM-XSS and unsafe-link risk because title and permalink fields from index.json are interpolated into innerHTML without escaping or URL-scheme validation. Risk depends on whether the search index is trusted and integrity-protected.
The workflow does not show clear malware or deliberate data theft. It contains a meaningful command-injection risk because the manually supplied `hugoVersion` is inserted unquoted into a shell command, and it has supply-chain reproducibility weaknesses from installing an unchecked download and updating submodules to remote latest commits. Validate the version against a strict numeric pattern, quote variables, verify the Hugo artifact checksum or signature, and build pinned submodule commits.