AI ChatBot with ChatGPT and Content Generator by AYS

AI Writing Assistant, Chatbot, and virtual support all-in-one! Answer customer queries and generate content easily. Works with ChatGPT and Gemini.

v2.8.1Ays ProUpdated Added 400 installs100% rating
31
Score
170
Errors
378
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability35

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

548 findings

Maintainability

287

10 issue groups

Security

222

11 issue groups

I18n

33

4 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all_post_types".184
Category
Maintainability
Occurrences
184
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['ays_tab'] not unslashed before sanitization. Use wp_unslash() or similar30
Category
Security
Occurrences
30
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_REQUEST['dataObj']25
Category
Security
Occurrences
25
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['dataObj']

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

Sample message

Use of a direct database call is discouraged.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $this->plugin_name19
Category
I18n
Occurrences
19
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
ERRORSecuritySQL query is not prepared11
Category
Security
Occurrences
11
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped9
Category
Security
Occurrences
9
Severity
warning

Sample message

Unescaped parameter $data_table used in $wpdb->query()\n$data_table assigned unsafely at line 35.

ERRORI18nText Domain Mismatch8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'ays-chatgpt-assistant' but got "ays-popup-box".

WARNINGMaintainabilityslow db query meta key7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityNon-prefixed hook name7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "upgrader_clear_destination".

ERRORSecurityDatabase parameter is not escaped5
Category
Security
Occurrences
5
Severity
error

Sample message

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

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed function5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecuritywp redirect wp redirect5
Category
Security
Occurrences
5
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $embedding_settings at "SELECT COUNT(*) FROM $embedding_settings WHERE meta_key = %s"

ERRORMaintainabilitydate date4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecurityInput is not validated4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
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.

ERRORI18nUnordered Placeholders Text3
Category
I18n
Occurrences
3
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Get the Pro Version of %s ChatGPT Assistant%s – 20%% OFF'.

External Connections

Potential connections found in static code analysis.

23 domains

Outbound calls

197

External assets

5

Incoming endpoints

10

Notable Domains

ays-pro.com72 · outbound
platform.openai.com15 · outbound
api.openai.com14 · outbound
ays-demo.com5 · outbound
fontawesome.io2 · outbound

Platform / Reference Domains

w3.org43 · platform/reference
wordpress.org17 · platform/reference
github.com6 · platform/reference
downloads.wordpress.org2 · platform/reference
codex.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_ays_chatgpt_activate_pluginpublic

wp_ajax

wp_ajax_nopriv_ays_chatgpt_admin_ajaxpublic

wp_ajax

wp_ajax_nopriv_ays_chatgpt_dismiss_buttonpublic

wp_ajax

wp_ajax_nopriv_ays_chatgpt_install_pluginpublic

wp_ajax

wp_ajax_nopriv_deactivate_plugin_option_aipublic

wp_ajax

Admin AJAX endpoints5
wp_ajax_ays_chatgpt_activate_pluginauthenticated

wp_ajax

wp_ajax_ays_chatgpt_admin_ajaxauthenticated

wp_ajax

wp_ajax_ays_chatgpt_dismiss_buttonauthenticated

wp_ajax

wp_ajax_ays_chatgpt_install_pluginauthenticated

wp_ajax

wp_ajax_deactivate_plugin_option_aiauthenticated

wp_ajax

Score History

First score snapshot

v2.8.1

31

Latest

Findings
548
Errors
170
Warnings
378
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

AI Content Signals

500 active installs

100
AI Share & Summarize

1k+ active installs

100
Block AI Crawlers

1k+ active installs

100