{"adoption": {"forks": 135, "observed_at": "2026-08-28T04:03:28.005679+00:00", "stars": 1070}, "canonical_url": "https://ross.abutalabs.com/products/xss-filters", "card": {"archived": true, "artifact_type": "library", "description": "Secure XSS Filters.", "domain": ["security", "web-development", "frontend"], "enriched": true, "function": ["security", "templating", "middleware"], "health_score": 10, "homepage": null, "language": "JavaScript", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["YahooArchive/xss-filters"], "name": "YahooArchive/xss-filters", "platform": ["browser"], "pushed_at": "2016-09-12T20:03:46+00:00", "repo": "YahooArchive/xss-filters", "stars": 1070, "tags": ["xss-prevention", "output-encoding", "context-sensitive-escaping", "html5", "handlebars", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["prevent xss attacks in web apps", "sanitize untrusted user input before rendering html", "escape output in javascript templates", "avoid double-encoding of html entities", "securely embed urls in html attributes", "context-sensitive output escaping for handlebars"], "what_it_is": "A JavaScript library providing context-dependent output filters to prevent cross-site scripting (XSS) attacks. It applies 'just sufficient' encoding based on the HTML5 spec, escaping only the minimal set of characters needed for each output context.", "when_to_avoid": ["you need a full HTML sanitizer to clean raw HTML input rather than escape output", "you need actively maintained software with recent updates", "your stack requires a license with clear terms"], "when_to_choose": ["you need context-aware XSS filtering instead of blind entity escaping", "you want faster output encoding with minimal character escaping", "you use Handlebars templates and want automatic secure escaping", "you need standards-compliant HTML5-based sanitization"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/xss-filters", "repo": "YahooArchive/xss-filters", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "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:03:28.005679+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:28.005679+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:54:00.199476+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b4ea529f8e5d6269b24cd9091d214c46634d47d454c510be87f28042c94b43da", "fetched_at": "2026-08-28T04:03:28.005679+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YahooArchive/xss-filters"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4227, "days_push": 3642, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}