Back to Codebase
Vulnerability Analysis Report
Chi Teck Drupal Code Generator v1.31.0
Scan ID: SCAN-CHI-TECK-DRUPAL-CODE-GENERATOR-JGjyIj • Hash: d0aaf39f
Severity Score
Critical
Total Findings
1
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.485s
Vulnerability Details
L20
Dynamic Code Execution in CompactorTest.php
CWE-94
File Location:
tests/dcg/CompactorTest.php:20
Security Score:
95 / 100
Confirmed Issue
Rule Engine Warning
Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.
Heuristics Diff
- eval('namespace Herrera\Box\Compactor; class Compactor {}');
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.