If File Exists Security & Risk Analysis

wordpress.org/plugins/if-file-exists

Check if a file exists and return true/false or display a string containing information about the file.

10 active installs v2.4 PHP + WP 2.7+ Updated Apr 18, 2025
coffee2codeexistenceexistsfilefilesystem
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is If File Exists Safe to Use in 2026?

Generally Safe

Score 92/100

If File Exists has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The "if-file-exists" plugin v2.4 exhibits an excellent security posture based on the provided static analysis and vulnerability history. The absence of any identified attack surface points, dangerous functions, raw SQL queries, unescaped outputs, or file operations is a strong indicator of well-written and secure code. The plugin also shows no known vulnerabilities, which is a significant positive. The lack of any taint analysis findings further reinforces the impression of a secure codebase, with no evident paths for malicious data injection or manipulation.

However, the complete absence of nonces and capability checks across all entry points, while currently having an attack surface of zero, represents a potential future risk. If new entry points are introduced without proper authorization and nonce validation, the plugin could become vulnerable. While the current state is highly secure, maintaining this level of security will require diligence in implementing appropriate checks for any future development or modifications.

In conclusion, "if-file-exists" v2.4 is currently a very secure plugin with no known vulnerabilities or code-level weaknesses. Its strengths lie in its minimal attack surface and absence of dangerous code patterns. The only area for potential concern is the lack of implemented security checks on entry points, which could become a weakness if the plugin's functionality or attack surface expands in the future without addressing this.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

If File Exists Security Vulnerabilities

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

If File Exists Release Timeline

v2.4Current
v2.3.2
v2.3.1
v2.3
v2.2.10
v2.2.9
v2.2.8
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2
v2.1.3
v2.1.2
v2.1.1
v2.1
v2.0
Code Analysis
Analyzed Mar 16, 2026

If File Exists Code Analysis

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

Output Escaping

100% escaped2 total outputs
Attack Surface

If File Exists Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterc2c_if_file_existsif-file-exists.php:145
filterc2c_if_plugin_file_existsif-file-exists.php:188
filterc2c_if_theme_file_existsif-file-exists.php:237
Maintenance & Trust

If File Exists Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedApr 18, 2025
PHP min version
Downloads13K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

If File Exists Developer Profile

Scott Reilly

63 plugins · 92K total installs

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

How We Detect If File Exists

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/if-file-exists/css/if-file-exists.css/wp-content/plugins/if-file-exists/js/if-file-exists.js
Script Paths
/wp-content/plugins/if-file-exists/js/if-file-exists.js
Version Parameters
if-file-exists/style.css?ver=if-file-exists/script.js?ver=

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about If File Exists