CrowdSec

This plugin blocks detected attackers or displays them a captcha to check they are not bots.

v2.13.1CrowdSec - lightweight and collaborative security engineUpdated Added 2k+ installs100% rating
35
Score
130
Errors
119
Warnings
+0
Change

Category Scores

Security0
Repo85
Performance100
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

249 findings

Security

142

8 issue groups

Maintainability

61

9 issue groups

I18n

44

4 issue groups

Supply Chain

1

1 issue group

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" \n'.64
Category
Security
Occurrences
64
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" \n'.

WARNINGSecurityRequest data is not unslashed$_POST[$name] not unslashed before sanitization. Use wp_unslash() or similar28
Category
Security
Occurrences
28
Severity
warning

Sample message

$_POST[$name] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_crowdsec_plugin".27
Category
Maintainability
Occurrences
27
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_crowdsec_plugin".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$name]26
Category
Security
Occurrences
26
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$name]

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().26
Category
I18n
Occurrences
26
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: '<br><br> Rollback to previous cache: '.$oldCacheSystem12
Category
I18n
Occurrences
12
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: '<br><br> Rollback to previous cache: '.$oldCacheSystem

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER[&#039;PHP_SELF&#039;]. Check that the array index exists before using it.10
Category
Security
Occurrences
10
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER[&#039;PHP_SELF&#039;]. Check that the array index exists before using it.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$adminMenu&quot;.6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$adminMenu&quot;.

WARNINGSecurityInput is not validated or sanitizedDetected usage of a non-sanitized, non-validated input variable _SERVER: &quot;Location: {$_SERVER[&#039;HTTP_REFERER&#039;]}&quot;6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _SERVER: &quot;Location: {$_SERVER[&#039;HTTP_REFERER&#039;]}&quot;

Show 13 more
ERRORI18nInterpolated Variable Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

The $text parameter must not contain interpolated variables or expressions. Found: $baasUrl

WARNINGMaintainabilityerror log error log3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

ERRORSecurityException output is not escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$e'.

WARNINGSecurityNonce verification recommended3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed constant2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;ALREADY_BOUNCED_WITH_STANDALONE&quot;.

WARNINGSecurityMissing nonce verification2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The &quot;/vendor&quot; directory using composer exists, but &quot;composer.json&quot; file is missing.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "crowdsec-wp", expected "crowdsec".

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.13.1

35

Latest

Findings
249
Errors
130
Warnings
119
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

DS CF7 Math Captcha

10k+ active installs

100
Login Security Captcha

10k+ active installs

100
Really Simple CAPTCHA

300k+ active installs

98
Advanced Google reCAPTCHA

200k+ active installs

97
Captcha Code

100k+ active installs

97