seo-best-practices

Warn

Audited by Socket on Sep 15, 2026

5 alerts found:

Anomalyx5
AnomalyLOW
rules/schema-breadcrumb.md

The code is intended to render breadcrumb navigation and Schema.org JSON-LD, not to perform malicious activity. However, the React and Laravel implementations have context-sensitive output-encoding weaknesses: untrusted breadcrumb fields can potentially break out of the JSON-LD script element, and unvalidated React href values can enable dangerous URL schemes. Treat breadcrumb data as trusted or safely serialize it for script context, escape `<` characters (for example, serialize with HTML-safe JSON), and restrict links to approved relative paths or HTTP(S) URLs. The static examples do not present a material security concern.

Confidence: 96%Severity: 62%
AnomalyLOW
rules/schema-validation.md

The fragment appears to provide legitimate JSON-LD documentation, testing utilities, and a React rendering component. It contains no evidence of malware or supply-chain sabotage. However, `dangerouslySetInnerHTML` combined with unescaped `JSON.stringify()` can permit script-tag breakout and XSS when schema data is influenced by untrusted input. The risk is conditional and should be addressed with HTML-safe JSON serialization.

Confidence: 96%Severity: 58%
AnomalyLOW
rules/schema-graph.md

The fragment is a legitimate structured-data utility with no evidence of malware or supply-chain sabotage. It has a security concern: dynamic values are inserted into an HTML script context without explicit script-safe escaping, and React uses dangerouslySetInnerHTML. Attacker-controlled content could potentially cause JSON-LD/script breakout and XSS. Review and sanitize all dynamic fields and apply HTML-safe JSON encoding before deployment.

Confidence: 96%Severity: 62%
AnomalyLOW
rules/schema-faq.md

The fragment is legitimate documentation and contains no apparent malware or supply-chain sabotage. However, the implementation examples introduce XSS risk if FAQ content is user-controlled: raw visible HTML is rendered in both Laravel and React, and JSON-LD is embedded without script-context-safe escaping. Use a robust HTML sanitizer for rich answers, escape or safely encode JSON for HTML script embedding (for example JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT or an equivalent framework-safe mechanism), and validate or trust the FAQ source explicitly.

Confidence: 97%Severity: 62%
AnomalyLOW
rules/schema-article.md

The fragment is benign SEO documentation and contains no evidence of malware or supply-chain sabotage. However, both dynamic examples embed serialized potentially untrusted data directly into an HTML script context. If article fields or props are attacker-controlled, a </script>-based XSS injection may be possible. The risk is implementation-dependent and should be mitigated with context-appropriate HTML-safe JSON encoding and input validation.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Sep 15, 2026, 06:58 AM
Package URL
pkg:socket/skills-sh/asyrafhussin%2Fagent-skills%2Fseo-best-practices%2F@069d51d7210fef0d04345412f0724fcaab5cf3c0f6cedb09d2f1ff0ea6e92882