NanoTOC — Fast Lightweight Table of Contents Security & Risk Analysis

wordpress.org/plugins/nanotoc

Fast, lightweight TOC for WordPress with nested/flat lists, smooth scroll, and optional offset.

0 active installs v1.0.0 PHP 7.2+ WP 5.0+ Updated Jan 7, 2026
headingslightweightsmooth-scrolltable-of-contentstoc
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is NanoTOC — Fast Lightweight Table of Contents Safe to Use in 2026?

Generally Safe

Score 100/100

NanoTOC — Fast Lightweight Table of Contents has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4mo ago
Risk Assessment

The nanotoc v1.0.0 plugin exhibits a strong security posture based on the provided static analysis and vulnerability history. The code largely adheres to secure development practices, with no detected dangerous functions, external HTTP requests, or file operations. All SQL queries are prepared, and the majority of output is properly escaped, indicating a good effort to prevent common web vulnerabilities. The plugin also demonstrates a minimal attack surface, with only one shortcode entry point, and importantly, no unprotected AJAX handlers or REST API routes are identified.

However, a notable concern is the absence of nonce checks. While the plugin has a single capability check, the lack of nonce validation on its entry points, even if minimal, could potentially be exploited in certain scenarios, especially if the shortcode were to interact with user-provided data in a complex manner. The taint analysis reporting zero flows is positive, but it's important to remember that taint analysis effectiveness can depend on the thoroughness of the tool and the complexity of the code. The clean vulnerability history is a significant strength, suggesting the plugin has historically been well-maintained and secure.

In conclusion, nanotoc v1.0.0 appears to be a relatively secure plugin with excellent adherence to common security best practices in its current version. The lack of critical or high-severity issues in both code analysis and historical data is reassuring. The primary area for improvement, though not necessarily a critical flaw given the limited attack surface, is the implementation of nonce checks to further harden the plugin against potential cross-site request forgery (CSRF) attacks.

Key Concerns

  • Missing nonce checks on entry points
  • Unescaped output detected (16% of outputs)
Vulnerabilities
None known

NanoTOC — Fast Lightweight Table of Contents Security Vulnerabilities

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

NanoTOC — Fast Lightweight Table of Contents Release Timeline

v1.0.0Current
Code Analysis
Analyzed Mar 17, 2026

NanoTOC — Fast Lightweight Table of Contents Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
7
36 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

84% escaped43 total outputs
Attack Surface

NanoTOC — Fast Lightweight Table of Contents Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[nanotoc] light-toc.php:30
WordPress Hooks 4
actionadmin_initlight-toc.php:24
actionadmin_menulight-toc.php:25
actionwp_enqueue_scriptslight-toc.php:27
filterthe_contentlight-toc.php:28
Maintenance & Trust

NanoTOC — Fast Lightweight Table of Contents Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 7, 2026
PHP min version7.2
Downloads135

Community Trust

Rating100/100
Number of ratings1
Active installs0
Developer Profile

NanoTOC — Fast Lightweight Table of Contents Developer Profile

hanifsaqib

1 plugin · 0 total installs

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

How We Detect NanoTOC — Fast Lightweight Table of Contents

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/nanotoc/assets/css/nanotoc.css/wp-content/plugins/nanotoc/assets/js/nanotoc.js
Script Paths
/wp-content/plugins/nanotoc/assets/js/nanotoc.js
Version Parameters
nanotoc/assets/css/nanotoc.css?ver=nanotoc/assets/js/nanotoc.js?ver=

HTML / DOM Fingerprints

CSS Classes
nanotoc-wrappernanotoc-navnanotoc-label
HTML Comments
<!--nano-toc-->
JS Globals
NanoTOC
Shortcode Output
[nanotoc]
FAQ

Frequently Asked Questions about NanoTOC — Fast Lightweight Table of Contents