{"adoption": {"forks": 858, "observed_at": "2026-08-28T04:11:17.975502+00:00", "stars": 17339}, "canonical_url": "https://ross.abutalabs.com/products/dompurify", "card": {"archived": false, "artifact_type": "library", "description": "DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:", "domain": ["security", "web-development", "frontend"], "enriched": true, "function": ["security", "web-framework", "frontend-framework"], "health_score": 100, "homepage": "https://cure53.de/purify", "language": "JavaScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["cure53/DOMPurify"], "name": "cure53/DOMPurify", "platform": ["browser"], "pushed_at": "2026-08-24T06:24:16+00:00", "repo": "cure53/DOMPurify", "stars": 17339, "tags": ["xss", "sanitizer", "html-sanitization", "dom", "svg", "mathml", "input-sanitization", "nodejs", "javascript"], "topics": ["xss", "sanitizer", "dom", "security", "javascript", "dompurify", "prevent-xss-attacks", "mathml", "html", "svg", "cross-site-scripting"], "urls": [], "use_cases": ["sanitize user-submitted html to prevent xss", "clean rich text before rendering in the browser", "allow safe svg and mathml content from untrusted sources", "sanitize html server-side in node.js", "strip dangerous attributes and tags from markup", "prevent cross-site scripting attacks in a web app"], "what_it_is": "DOMPurify is a fast, DOM-only XSS sanitizer for HTML, MathML and SVG that removes malicious markup while allowing safe content. It works in all modern browsers and Node.js via jsdom, with secure defaults plus extensive configuration and hooks.", "when_to_avoid": ["you need to sanitize non-HTML formats like Markdown, CSS, or JSON", "you must support legacy MSIE and need the maintained 2.x branch instead", "you want a full CSP or Trusted Types policy rather than markup sanitization"], "when_to_choose": ["you render untrusted HTML, SVG, or MathML and need battle-tested XSS protection", "you want secure defaults with fine-grained allowlist and hook configuration", "you need a small, fast, dependency-free sanitizer across browsers and Node.js"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dompurify", "repo": "cure53/DOMPurify", "role": "main", "score": 99}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:17.975502+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:03:11.171838+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6638e10974312afc713536e03501a54408171c4a78e2f378828299de23a2aa09", "fetched_at": "2026-08-28T04:11:17.975502+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cure53/DOMPurify"}, {"content_hash": "4c6a2ee88532def7bd777ac0ad9bb0c9a4cb0daee11d43d0bf4f32e24a75eeeb", "fetched_at": "2026-08-29T08:01:39.153221+00:00", "kind": "homepage", "missing": false, "url": "https://cure53.de/purify"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 98}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4580, "days_push": 9, "days_rel": 14, "gap_med": 9, "n_releases_24m": 30}, "score": 99, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}