Tori Codes Security & Risk Analysis

wordpress.org/plugins/toric

Tori Codes adds QR barcodes to your site with ease. Provides UI to edit the QR content and display it on numerous pages using a shortcode.

0 active installs v1.0.2 PHP 5.6.20+ WP 3.0.1+ Updated Mar 9, 2026
qr-codes
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Tori Codes Safe to Use in 2026?

Generally Safe

Score 100/100

Tori Codes has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The "toric" v1.0.2 plugin exhibits a generally strong security posture, as indicated by the static analysis. The absence of any known CVEs, unpatched vulnerabilities, or recorded past security issues is a significant positive. The plugin also demonstrates good coding practices by using prepared statements for all SQL queries and properly escaping a high percentage of output. The limited attack surface with zero exposed AJAX handlers, REST API routes, shortcodes, or cron events is commendable. Furthermore, the presence of nonce and capability checks, albeit limited in number, suggests an awareness of security principles.

However, the presence of five "dangerous functions," specifically `assert`, raises a mild concern. While the taint analysis shows no unsanitized paths, the use of `assert` can be a double-edged sword. If not meticulously implemented and strictly controlled, `assert` statements can sometimes be exploited, especially if they are not properly guarded. The low number of nonce and capability checks (3 and 2 respectively) also implies that the plugin might not be consistently enforcing authorization for all its potential functionalities, even if the current attack surface is small. The plugin's lack of bundled libraries is neutral from a security perspective, as it avoids the risks associated with outdated components.

In conclusion, "toric" v1.0.2 appears to be a relatively secure plugin, particularly given its clean vulnerability history and robust handling of SQL and output. The primary area for improvement lies in the careful review and potential mitigation of the `assert` function usage, and potentially increasing the rigor of authorization checks if the plugin were to expand its feature set or attack surface in the future. As it stands, the risks are minimal.

Key Concerns

  • Use of dangerous function 'assert'
  • Limited nonce checks
  • Limited capability checks
Vulnerabilities
None known

Tori Codes Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Tori Codes Release Timeline

v1.0.2Current
v1.0.1
v1.0.0
Code Analysis
Analyzed Mar 17, 2026

Tori Codes Code Analysis

Dangerous Functions
5
Raw SQL Queries
0
0 prepared
Unescaped Output
4
153 escaped
Nonce Checks
3
Capability Checks
2
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

assertassert(true); // noopincludes\codes\tc-lib-color\src\Pdf.php:84
assertassert(true); // noopincludes\codes\tc-lib-color\src\Pdf.php:102
assertassert(true); // noopincludes\codes\tc-lib-color\src\Pdf.php:107
assertassert(true); // noopincludes\codes\tc-lib-color\src\Pdf.php:132
assertassert(true); // noopincludes\codes\tc-lib-color\src\Pdf.php:140

Output Escaping

97% escaped157 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
ajax_callback (admin\class-toric-admin.php:129)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Tori Codes Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
filterposts_orderbyadmin\class-toric-admin.php:557
actionadmin_enqueue_scriptsincludes\ajax\class-toric-ajax.php:235
actionwp_enqueue_scriptsincludes\ajax\class-toric-ajax.php:245
actionplugins_loadedincludes\class-toric.php:308
actionadmin_enqueue_scriptsincludes\class-toric.php:323
actionadmin_enqueue_scriptsincludes\class-toric.php:324
actioninitincludes\class-toric.php:325
filteradd_meta_boxesincludes\class-toric.php:326
filterdo_meta_boxesincludes\class-toric.php:327
filterpre_get_postsincludes\class-toric.php:333
actionwp_enqueue_scriptsincludes\class-toric.php:347
actionwp_enqueue_scriptsincludes\class-toric.php:348
actioninitincludes\class-toric.php:349
Maintenance & Trust

Tori Codes Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 9, 2026
PHP min version5.6.20
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Tori Codes Developer Profile

alvinmuthui

3 plugins · 40 total installs

91
trust score
Avg Security Score
95/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Tori Codes

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/toric/css/toric-admin.css/wp-content/plugins/toric/js/toric-admin.js/wp-content/plugins/toric/js/toric-copy-to-clipboard.js/wp-content/plugins/toric/js/toric-ajax.js
Version Parameters
toric-admin.css?ver=toric-admin.js?ver=toric-copy-to-clipboard.js?ver=toric-ajax.js?ver=

HTML / DOM Fingerprints

CSS Classes
toric-admin-wrap
HTML Comments
<!-- generated by Tori Codes QR -->
Data Attributes
data-toric-ajax-urldata-toric-nonce
JS Globals
toric_admin_ajax_object
FAQ

Frequently Asked Questions about Tori Codes