Back to Codebase
Vulnerability Analysis Report
Chi Teck Drupal Code Generator v2.0.0-RC1
Scan ID: SCAN-CHI-TECK-DRUPAL-CODE-GENERATOR-x1rRM2 • Hash: 4d01d08b
Severity Score
Critical
Total Findings
2
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
1.038s
Vulnerability Details
L35
Dynamic Code Execution in PhpStormMetadataTest.php
CWE-94
File Location:
tests/dcg/Generator/PhpStormMetadataTest.php:35
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($code);
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L20
Dynamic Code Execution in CompactorTest.php
CWE-94
File Location:
tests/dcg/CompactorTest.php:20
Security Score:
96 / 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.