|
1 | 1 | # Pattern Library Registry |
2 | 2 |
|
3 | 3 | **Auto-generated by Pattern Library Manager** |
4 | | -**Last Updated:** 2026-01-14 21:03:38 UTC |
| 4 | +**Last Updated:** 2026-01-14 22:17:45 UTC |
5 | 5 |
|
6 | 6 | --- |
7 | 7 |
|
8 | 8 | ## 📊 Summary Statistics |
9 | 9 |
|
10 | 10 | ### Total Patterns |
11 | | -- **Total:** 31 patterns |
| 11 | +- **Total:** 32 patterns |
12 | 12 | - **Enabled:** 31 patterns |
13 | | -- **Disabled:** 0 patterns |
| 13 | +- **Disabled:** 1 patterns |
14 | 14 |
|
15 | 15 | ### By Severity |
16 | 16 | | Severity | Count | Percentage | |
17 | 17 | |----------|-------|------------| |
18 | | -| CRITICAL | 11 | 35.5% | |
19 | | -| HIGH | 10 | 32.3% | |
20 | | -| MEDIUM | 7 | 22.6% | |
21 | | -| LOW | 3 | 9.7% | |
| 18 | +| CRITICAL | 12 | 37.5% | |
| 19 | +| HIGH | 10 | 31.2% | |
| 20 | +| MEDIUM | 7 | 21.9% | |
| 21 | +| LOW | 3 | 9.4% | |
22 | 22 |
|
23 | 23 | ### By Type |
24 | 24 | | Type | Count | Percentage | |
25 | 25 | |------|-------|------------| |
26 | | -| Definitive | 21 | 67.7% | |
27 | | -| Heuristic | 10 | 32.3% | |
| 26 | +| Definitive | 22 | 68.8% | |
| 27 | +| Heuristic | 10 | 31.2% | |
28 | 28 |
|
29 | 29 | ### Advanced Features |
30 | | -- **Mitigation Detection Enabled:** 6 patterns (19.4%) |
| 30 | +- **Mitigation Detection Enabled:** 6 patterns (18.8%) |
31 | 31 | - **False Positive Reduction:** 60-70% on mitigated patterns |
32 | 32 |
|
33 | 33 | ### By Category |
34 | 34 | - **performance:** 9 patterns |
35 | 35 | - **duplication:** 5 patterns |
36 | 36 | - **reliability:** 5 patterns |
37 | | -- **security:** 10 patterns |
| 37 | +- **security:** 11 patterns |
38 | 38 |
|
39 | 39 | ### By Pattern Type |
40 | | -- **PHP/WordPress:** 20 patterns |
| 40 | +- **PHP/WordPress:** 21 patterns |
41 | 41 | - **Headless WordPress:** 6 patterns |
42 | 42 | - **Node.js/Server-Side JS:** 4 patterns |
43 | 43 | - **Client-Side JavaScript:** 1 patterns |
|
54 | 54 | - **njs-001-eval-injection** - Dangerous eval() or code execution |
55 | 55 | - **php-dynamic-include** - Dynamic PHP include/require with variables |
56 | 56 | - **php-eval-injection** - Dangerous eval() usage in PHP |
| 57 | +- **php-shell-exec-functions** - Shell command execution functions in PHP (shell_exec/exec/system/passthru) |
57 | 58 | - **unbounded-wc-get-orders** 🛡️ - Unbounded wc_get_orders() |
58 | 59 | - **unbounded-wc-get-products** - Unbounded wc_get_products() |
59 | 60 | - **wp-query-unbounded** 🛡️ - Unbounded WP_Query/get_posts |
|
99 | 100 |
|
100 | 101 | ### Key Selling Points |
101 | 102 |
|
102 | | -1. **Comprehensive Coverage:** 31 detection patterns across 4 categories |
103 | | -2. **Multi-Platform Support:** PHP/WordPress (20), Headless WordPress (6), Node.js (4), JavaScript (1) |
| 103 | +1. **Comprehensive Coverage:** 32 detection patterns across 4 categories |
| 104 | +2. **Multi-Platform Support:** PHP/WordPress (21), Headless WordPress (6), Node.js (4), JavaScript (1) |
104 | 105 | 3. **Enterprise-Grade Accuracy:** 6 patterns with AI-powered mitigation detection (60-70% false positive reduction) |
105 | | -4. **Severity-Based Prioritization:** 11 CRITICAL + 10 HIGH severity patterns catch the most dangerous issues |
106 | | -5. **Intelligent Analysis:** 21 definitive patterns + 10 heuristic patterns for comprehensive code review |
| 106 | +4. **Severity-Based Prioritization:** 12 CRITICAL + 10 HIGH severity patterns catch the most dangerous issues |
| 107 | +5. **Intelligent Analysis:** 22 definitive patterns + 10 heuristic patterns for comprehensive code review |
107 | 108 |
|
108 | 109 | ### One-Liner Stats |
109 | 110 |
|
110 | | -> **31 detection patterns** | **6 with AI mitigation** | **60-70% fewer false positives** | **Multi-platform: PHP, Headless, Node.js, JS** |
| 111 | +> **32 detection patterns** | **6 with AI mitigation** | **60-70% fewer false positives** | **Multi-platform: PHP, Headless, Node.js, JS** |
111 | 112 |
|
112 | 113 | ### Feature Highlights |
113 | 114 |
|
114 | | -- ✅ **11 CRITICAL** OOM and security patterns |
| 115 | +- ✅ **12 CRITICAL** OOM and security patterns |
115 | 116 | - ✅ **10 HIGH** performance and security patterns |
116 | 117 | - ✅ **6 patterns** with context-aware severity adjustment |
117 | 118 | - ✅ **10 heuristic** patterns for code quality insights |
118 | 119 | - ✅ **Multi-platform:** WordPress, Headless, Node.js, JavaScript |
119 | 120 |
|
120 | 121 | --- |
121 | 122 |
|
122 | | -**Generated:** 2026-01-14 21:03:38 UTC |
| 123 | +**Generated:** 2026-01-14 22:17:45 UTC |
123 | 124 | **Version:** 1.0.0 |
124 | 125 | **Tool:** Pattern Library Manager |
0 commit comments