Back to Codebase

Vulnerability Analysis Report

Drush Drush v9.0.0-beta6

Scan ID: SCAN-DRUSH-DRUSH-FyjTzK • Hash: 2aa99900

Severity Score
Critical
Total Findings
4
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.748s

Vulnerability Details

L30

Dynamic Code Execution in PhpCommands.php

CWE-94
File Location: src/Commands/core/PhpCommands.php:30
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
- return eval($code . ';');
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L29

Dynamic Code Execution in EvalCommands.php

CWE-94
File Location: src/Commands/core/EvalCommands.php:29
Security Score:
97 / 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
- return eval($php . ';');
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L60

Dynamic Code Execution in PhpCommands.php

CWE-94
File Location: src/Commands/core/PhpCommands.php:60
Security Score:
97 / 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
- return eval(stream_get_contents(STDIN));
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L35

Dynamic Code Execution in TestFixtureCommands.php

CWE-94
File Location: tests/Commands/TestFixtureCommands.php:35
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
- return eval($code . ';');
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.