WP Admin Audit

WP Admin Audit monitors the security-relevant activities on your site, keeps an event log and tells you when something out of the ordinary happens.

v1.2.16brandtossUpdated Added 1k+ installs74% rating
24
Score
1,051
Errors
781
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,832 findings

Security

952

10 issue groups

Maintainability

489

11 issue groups

I18n

363

4 issue groups

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.259
Category
Maintainability
Occurrences
259
Severity
warning

Sample message

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

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.235
Category
I18n
Occurrences
235
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.220
Category
Security
Occurrences
220
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.116
Category
Security
Occurrences
116
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $checkQuery101
Category
Security
Occurrences
101
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $checkQuery

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $checkQuery used in $wpdb->get_results()\n$checkQuery assigned unsafely at line 385.85
Category
Security
Occurrences
85
Severity
error

Sample message

Unescaped parameter $checkQuery used in $wpdb->get_results()\n$checkQuery assigned unsafely at line 385.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.85
Category
Maintainability
Occurrences
85
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().85
Category
Maintainability
Occurrences
85
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityRequest data is not unslashed$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar82
Category
Security
Occurrences
82
Severity
warning

Sample message

$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar

Show 15 more
ERRORI18nUnordered Placeholders Text82
Category
I18n
Occurrences
82
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d of %d (max.) send attempts'.

WARNINGSecurityMissing nonce verification61
Category
Security
Occurrences
61
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg Domain35
Category
I18n
Occurrences
35
Severity
error

Sample message

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

WARNINGSecurityInput is not validated25
Category
Security
Occurrences
25
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['action']. Check that the array index exists before using it.

WARNINGSecurityInput is not sanitized21
Category
Security
Occurrences
21
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['active']

WARNINGMaintainabilityNon-prefixed global variable20
Category
Maintainability
Occurrences
20
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$adminAudit".

ERRORI18nNon Singular String Literal Text11
Category
I18n
Occurrences
11
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $this->email

WARNINGMaintainabilityMissing Version10
Category
Maintainability
Occurrences
10
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.

ERRORMaintainabilitycurl curl setopt8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilityfile system operations is writable6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().

ERRORMaintainabilityparse url parse url5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGMaintainabilityNot In Footer5
Category
Maintainability
Occurrences
5
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.

WARNINGSecurityUnquoted Complex Placeholder4
Category
Security
Occurrences
4
Severity
warning

Sample message

Complex placeholders used for values in the query string in $wpdb->prepare() will NOT be quoted automagically. Found: %1s.

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

External Connections

Potential connections found in static code analysis.

24 domains

Outbound calls

87

External assets

0

Incoming endpoints

29

Notable Domains

wpadminaudit.com22 · outbound
raymondhill.net21 · outbound
gist.github.com5 · outbound
stackoverflow.com4 · outbound
dipu.me2 · outbound
select2.org2 · outbound

Platform / Reference Domains

opensource.org7 · platform/reference
github.com5 · platform/reference
gnu.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints29
wp_ajax__wada_ajax_activate_keyauthenticated

wp_ajax

wp_ajax__wada_ajax_check_key_statusauthenticated

wp_ajax

wp_ajax__wada_ajax_cleanup_event_logauthenticated

wp_ajax

wp_ajax__wada_ajax_deactivate_keyauthenticated

wp_ajax

wp_ajax__wada_ajax_debug_actionauthenticated

wp_ajax

wp_ajax__wada_ajax_delete_logauthenticated

wp_ajax

wp_ajax__wada_ajax_discover_install_sensorsauthenticated

wp_ajax

wp_ajax__wada_ajax_download_logauthenticated

wp_ajax

wp_ajax__wada_ajax_event_searchauthenticated

wp_ajax

wp_ajax__wada_ajax_events_csv_exportauthenticated

wp_ajax

wp_ajax__wada_ajax_events_listauthenticated

wp_ajax

wp_ajax__wada_ajax_extensions_listauthenticated

wp_ajax

17 more hidden

Score History

First score snapshot

v1.2.16

24

Latest

Findings
1,832
Errors
1,051
Warnings
781
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins