Simple Promo Code Security & Risk Analysis

wordpress.org/plugins/simple-promo-code

A very simple plugin that allows an editor to track accesses to a document by promo code.

10 active installs v1.1 PHP + WP 3.0+ Updated Unknown
promoshort-codetracking
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Simple Promo Code Safe to Use in 2026?

Generally Safe

Score 100/100

Simple Promo Code has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "simple-promo-code" v1.1 plugin exhibits a generally good security posture based on the provided static analysis. The absence of known CVEs and a clean vulnerability history are significant strengths, indicating a developer who likely prioritizes security or has not yet encountered exploitable flaws. The code adheres to good practices by using prepared statements for a high percentage of its SQL queries and ensuring all output is properly escaped. Crucially, there are no identified AJAX handlers or REST API routes without authentication checks, and no file operations or external HTTP requests were detected, all of which significantly limit potential attack vectors.

However, there are areas for improvement and potential concern. The presence of a single shortcode as the sole entry point, while seemingly limited, could still be a target if not adequately secured. The taint analysis revealed one flow with an unsanitized path, which, although not classified as critical or high severity in this analysis, represents a potential weakness that could lead to unexpected behavior or vulnerabilities if exploited. The lack of nonce checks across all entry points is another concern, as nonces are a fundamental WordPress security mechanism for preventing CSRF attacks, especially for actions initiated through shortcodes. While capability checks are present, the absence of nonce checks suggests a gap in robust protection against malicious request forgery.

In conclusion, "simple-promo-code" v1.1 is not exhibiting glaring security flaws based on this analysis. Its strengths lie in its clean history and adherence to core security practices like prepared statements and output escaping. The main weaknesses stem from the potential implications of the unsanitized path identified in the taint analysis and the absence of nonce checks on its single entry point. These are not critical issues in isolation given the limited attack surface, but they do represent areas where an attacker could potentially cause harm or exploit unintended functionality. Continued vigilance and addressing these specific points would further enhance the plugin's security.

Key Concerns

  • Flow with unsanitized path found
  • No nonce checks on entry points
Vulnerabilities
None known

Simple Promo Code Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Simple Promo Code Code Analysis

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

SQL Query Safety

78% prepared9 total queries
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
s_promo_process_post (simple-promo-code.php:114)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Simple Promo Code Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[promo] simple-promo-code.php:195
WordPress Hooks 1
actioninitsimple-promo-code.php:196
Maintenance & Trust

Simple Promo Code Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedUnknown
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Simple Promo Code Developer Profile

Peter Wooster

4 plugins · 520 total installs

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

How We Detect Simple Promo Code

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/simple-promo-code/simple-promo-code.php

HTML / DOM Fingerprints

CSS Classes
error
Data Attributes
id="promo"name="s_promo_submit"id="s_promo_submit"name="hash"id="hash"name="docpath"+9 more
Shortcode Output
<form id="promo" action="?#promo" method="POST" >
FAQ

Frequently Asked Questions about Simple Promo Code