Sticky Copy Button for Code Blocks Security & Risk Analysis

wordpress.org/plugins/stick-copy-button-codeblock

Adds a floating "Copy" button to every code block, with extensive styling options, optional line numbers, max-height control, and custom CSS support.

30 active installs v1.5.1 PHP 7.4+ WP 5.0+ Updated Mar 20, 2026
buttoncodecopyeasyline-numbers
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Sticky Copy Button for Code Blocks Safe to Use in 2026?

Generally Safe

Score 100/100

Sticky Copy Button for Code Blocks has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1mo ago
Risk Assessment

The "stick-copy-button-codeblock" plugin v1.5.1 demonstrates a strong security posture based on the provided static analysis. The absence of any identified dangerous functions, raw SQL queries, file operations, or external HTTP requests is commendable. Furthermore, the complete coverage of output escaping and the lack of any taint analysis findings suggest a well-written and secure codebase concerning common vulnerabilities. The plugin also has no recorded vulnerability history, which reinforces its current security standing.

However, a notable concern arises from the complete lack of authorization checks (capability checks and nonce checks) across all identified entry points, even though the attack surface is currently reported as zero. While there are no active AJAX handlers, REST API routes, or shortcodes, the absence of these fundamental security mechanisms means that if any such entry points were introduced in future versions without proper checks, they would be immediately vulnerable. This, coupled with the fact that there are no explicit capability checks, means that even unauthenticated users could potentially trigger any future functionality if it were to be added without proper access controls.

In conclusion, the plugin is currently very secure with no identified vulnerabilities or code-level risks. Its strength lies in its clean code and lack of common insecure practices. The primary weakness is the complete absence of authorization checks, which, while not a current problem, represents a significant potential risk for future development if not addressed proactively.

Key Concerns

  • No capability checks implemented
  • No nonce checks implemented
Vulnerabilities
None known

Sticky Copy Button for Code Blocks Security Vulnerabilities

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

Sticky Copy Button for Code Blocks Release Timeline

v1.5.1Current
v1.5.0
v1.4.0
v1.2.0
v1.1.0
v1.0.1
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

Sticky Copy Button for Code Blocks Code Analysis

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

Output Escaping

100% escaped45 total outputs
Attack Surface

Sticky Copy Button for Code Blocks Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_menustick-copy-button-codeblock.php:37
actionadmin_initstick-copy-button-codeblock.php:62
actionwp_enqueue_scriptsstick-copy-button-codeblock.php:342
Maintenance & Trust

Sticky Copy Button for Code Blocks Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 20, 2026
PHP min version7.4
Downloads708

Community Trust

Rating80/100
Number of ratings1
Active installs30
Developer Profile

Sticky Copy Button for Code Blocks Developer Profile

Kasuga

8 plugins · 140 total installs

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

How We Detect Sticky Copy Button for Code Blocks

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/stick-copy-button-codeblock/style.css/wp-content/plugins/stick-copy-button-codeblock/js/script.js
Script Paths
/wp-content/plugins/stick-copy-button-codeblock/js/script.js
Version Parameters
stick-copy-button-codeblock/style.css?ver=stick-copy-button-codeblock/js/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
copy-code-btncode-block-wrappercode-block-wrapper pre
Data Attributes
data-copy-textdata-copied-text
JS Globals
kasuga_scbc_settings
FAQ

Frequently Asked Questions about Sticky Copy Button for Code Blocks