PHP Constants Manager Security & Risk Analysis

wordpress.org/plugins/php-constants-manager

Safely manage PHP constants (defines) through the WordPress admin or WP-CLI with full CRUD functionality and comprehensive viewing capabilities.

0 active installs v1.2.0 PHP 7.4+ WP 5.0+ Updated Apr 16, 2026
adminconfigurationconstantsdefinesphp
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is PHP Constants Manager Safe to Use in 2026?

Generally Safe

Score 100/100

PHP Constants Manager 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 "php-constants-manager" v1.1.5 plugin exhibits a generally strong security posture, with excellent adherence to many best practices. The absence of dangerous functions, file operations, and external HTTP requests is highly commendable. The plugin also demonstrates a commitment to secure coding by exclusively using prepared statements for its SQL queries and having a very high percentage of properly escaped outputs. Furthermore, the comprehensive use of nonce and capability checks on its AJAX handlers indicates a robust defense against unauthorized access and potential Cross-Site Request Forgery (CSRF) attacks. The plugin's vulnerability history is also clean, with no recorded CVEs, suggesting a history of secure development.

Despite these strengths, the taint analysis reveals a significant concern. Three flows were identified with unsanitized paths, and these are classified as high severity. While the specific impact of these flows is not detailed, unsanitized paths can lead to various vulnerabilities, including path traversal or arbitrary file access, especially if these paths are user-controlled. The absence of critical severity taint flows is a positive indicator, but the presence of high-severity issues in this area warrants careful attention. The fact that all flows analyzed had some form of unsanitized path, even if not critical, suggests this is a systemic issue within the plugin's handling of path-related data.

Key Concerns

  • High severity taint flows with unsanitized paths
  • All analyzed flows had unsanitized paths
Vulnerabilities
None known

PHP Constants Manager Security Vulnerabilities

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

PHP Constants Manager Release Timeline

v1.2.0Current
v1.1.5
v1.1.4
Code Analysis
Analyzed Mar 17, 2026

PHP Constants Manager Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
13 prepared
Unescaped Output
1
151 escaped
Nonce Checks
10
Capability Checks
20
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared13 total queries

Output Escaping

99% escaped152 total outputs
Data Flows · Security
3 unsanitized

Data Flow Analysis

5 flows3 with unsanitized paths
handle_save_settings (php-constants-manager.php:1564)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

PHP Constants Manager Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 2

authwp_ajax_phpcm_check_constantphp-constants-manager.php:98
authwp_ajax_phpcm_toggle_constantphp-constants-manager.php:99
WordPress Hooks 16
actionadmin_initphp-constants-manager.php:76
actionadmin_initphp-constants-manager.php:77
actionadmin_menuphp-constants-manager.php:78
actionadmin_enqueue_scriptsphp-constants-manager.php:79
actionadmin_noticesphp-constants-manager.php:80
actionplugins_loadedphp-constants-manager.php:83
actionadmin_post_phpcm_save_constantphp-constants-manager.php:89
actionadmin_post_phpcm_delete_constantphp-constants-manager.php:90
actionadmin_post_phpcm_toggle_constantphp-constants-manager.php:91
actionadmin_post_phpcm_bulk_actionphp-constants-manager.php:92
actionadmin_post_phpcm_export_csvphp-constants-manager.php:93
actionadmin_post_phpcm_import_csvphp-constants-manager.php:94
actionadmin_post_phpcm_save_settingsphp-constants-manager.php:95
filterset-screen-optionphp-constants-manager.php:102
actionplugins_loadedphp-constants-manager.php:1618
actionplugins_loadedphp-constants-manager.php:1659
Maintenance & Trust

PHP Constants Manager Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedApr 16, 2026
PHP min version7.4
Downloads442

Community Trust

Rating100/100
Number of ratings1
Active installs0
Developer Profile

PHP Constants Manager Developer Profile

cartpauj

6 plugins · 32K total installs

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

How We Detect PHP Constants Manager

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/php-constants-manager/assets/css/phpcm-admin.css/wp-content/plugins/php-constants-manager/assets/js/phpcm-admin.js/wp-content/plugins/php-constants-manager/assets/js/phpcm-script.js/wp-content/plugins/php-constants-manager/assets/css/phpcm-styles.css
Script Paths
/wp-content/plugins/php-constants-manager/assets/js/phpcm-admin.js/wp-content/plugins/php-constants-manager/assets/js/phpcm-script.js
Version Parameters
php-constants-manager/assets/css/phpcm-admin.css?ver=php-constants-manager/assets/js/phpcm-admin.js?ver=php-constants-manager/assets/js/phpcm-script.js?ver=php-constants-manager/assets/css/phpcm-styles.css?ver=

HTML / DOM Fingerprints

CSS Classes
phpcm-admin-pagephpcm-constant-namephpcm-constant-valuephpcm-constant-typephpcm-constant-actions
HTML Comments
<!-- PHP Constants Manager -->
Data Attributes
data-constant-namedata-constant-valuedata-constant-type
JS Globals
phpcm_admin_ajax_object
FAQ

Frequently Asked Questions about PHP Constants Manager