Back to Codebase

Vulnerability Analysis Report

Drupal Drupal Extension vv5.2.1

Scan ID: SCAN-DRUPAL-DRUPAL-EXTENSION-I1xgmV • Hash: 34d9bc93

Severity Score
Critical
Total Findings
5
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.827s

Vulnerability Details

L254

Dynamic Code Execution in MessageContext.php

CWE-94
File Location: src/Drupal/DrupalExtension/Context/MessageContext.php:254
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
- $this->assert(
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L325

Dynamic Code Execution in MessageContext.php

CWE-94
File Location: src/Drupal/DrupalExtension/Context/MessageContext.php:325
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
- private function assert(string $message, string $selectorId, string $exceptionMsgNone, string $exceptionMsgMissing): void
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L35

Dynamic Code Execution in MessageContext.php

CWE-94
File Location: src/Drupal/DrupalExtension/Context/MessageContext.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
- $this->assert(
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L108

Dynamic Code Execution in MessageContext.php

CWE-94
File Location: src/Drupal/DrupalExtension/Context/MessageContext.php:108
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
- $this->assert(
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L181

Dynamic Code Execution in MessageContext.php

CWE-94
File Location: src/Drupal/DrupalExtension/Context/MessageContext.php:181
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
- $this->assert(
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.