Back to Codebase
Vulnerability Analysis Report
Chi Teck Drupal Code Generator v2.0.0-alpha1
Scan ID: SCAN-CHI-TECK-DRUPAL-CODE-GENERATOR-fylmzt • Hash: 54bff627
Severity Score
Critical
Total Findings
1
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.906s
Vulnerability Details
L20
Dynamic Code Execution in CompactorTest.php
CWE-94
File Location:
tests/dcg/CompactorTest.php:20
Security Score:
98 / 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.