{"adoption": {"forks": 1453, "observed_at": "2026-08-28T04:08:32.579106+00:00", "stars": 4024}, "canonical_url": "https://ross.abutalabs.com/products/ngx_lua_waf", "card": {"archived": false, "artifact_type": "library", "description": "ngx_lua_waf是一个基于lua-nginx-module(openresty)的web应用防火墙", "domain": ["security", "web-development", "backend"], "enriched": true, "function": ["security", "rate-limiting", "middleware", "logging"], "health_score": 20, "homepage": null, "language": "Lua", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["loveshell/ngx_lua_waf"], "name": "loveshell/ngx_lua_waf", "platform": ["self-hosted"], "pushed_at": "2024-03-17T12:14:30+00:00", "repo": "loveshell/ngx_lua_waf", "stars": 4024, "tags": ["waf", "web-application-firewall", "lua-nginx-module", "openresty", "sql-injection", "xss", "cc-attack-protection", "webshell-prevention", "nginx", "linux"], "topics": [], "urls": [], "use_cases": ["block sql injection and xss attacks on nginx", "prevent webshell uploads", "rate limit cc attacks per ip", "block scanner user agents", "prevent backup and svn file leaks", "add a waf to openresty"], "what_it_is": "A lightweight, high-performance web application firewall (WAF) built on lua-nginx-module (OpenResty) for Nginx. It filters requests using regex rules to block SQL injection, XSS, SSRF, webshell uploads, scanners, and CC attacks.", "when_to_avoid": ["you need dynamically managed rules via shared memory or redis", "you need advanced WAF features like a commercial ruleset or machine-learning detection", "you don't control nginx configuration or can't install lua modules"], "when_to_choose": ["you run nginx/openresty and want a simple, lightweight WAF with regex rules", "you need basic protection against common web attacks without a heavy appliance", "you want per-IP CC rate limiting built into nginx"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ngx_lua_waf", "repo": "loveshell/ngx_lua_waf", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "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:08:32.579106+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:32.579106+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:23:54.752512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4466d77288348ee4372a20d4c27ea5cba20ea60bbe2d331bb86e097724acaea8", "fetched_at": "2026-08-28T04:08:32.579106+00:00", "kind": "readme", "missing": false, "url": "https://github.com/loveshell/ngx_lua_waf"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4911, "days_push": 899, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}