drupal-simple-oauth
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill documents a pattern for a custom Drupal module that bypasses CSRF validation based on data received in request headers.
- Ingestion points: The
AuthorizationHTTP header is retrieved and parsed in theBearerSessionConfiguration.phpcode snippet to detect Bearer tokens. - Boundary markers: The provided documentation and code snippets do not include explicit delimiters or instructions for the agent to ignore potentially malicious content within the header values.
- Capability inventory: The implementation decorates the core
session_configurationservice to allow requests to bypass CSRF checks, which is a security-sensitive operation. - Sanitization: The logic incorporates a call to
isValidBearerTokento validate the token before allowing the bypass, which serves as the primary security control to prevent unauthorized access.
Audit Metadata