B2 Private Files Security & Risk Analysis

wordpress.org/plugins/b2-private-files

Serve token-protected files hosted in Backblaze B2 in your WordPress Site

10 active installs v1.0.2 PHP + WP 3.0.1+ Updated Aug 18, 2022
digital-rightsdownloadmedia-librarypremium-contentprotect-assets
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is B2 Private Files Safe to Use in 2026?

Generally Safe

Score 85/100

B2 Private Files has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The "b2-private-files" v1.0.2 plugin exhibits a generally strong security posture based on the provided static analysis. It demonstrates good practices with 100% of SQL queries using prepared statements and a high percentage (97%) of outputs being properly escaped. The absence of known CVEs and historical vulnerabilities further suggests a commitment to security by the developers. However, several areas warrant attention. The presence of 3 flows with unsanitized paths in the taint analysis, even without critical or high severity, indicates potential for subtle vulnerabilities if these paths are user-controlled or interact with sensitive file operations. Furthermore, the lack of nonce checks and capability checks across all entry points is a significant concern. While the attack surface appears small and all entry points are technically protected by some form of authentication (implied by "Unprotected: 0"), the absence of specific WordPress security mechanisms like nonces and capability checks leaves room for potential privilege escalation or unauthorized access if the existing authentication methods are bypassed or if the plugin logic has flaws.

Key Concerns

  • Flows with unsanitized paths
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

B2 Private Files Security Vulnerabilities

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

B2 Private Files Code Analysis

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

Output Escaping

97% escaped34 total outputs
Data Flows
3 unsanitized

Data Flow Analysis

4 flows3 with unsanitized paths
on_upload_page_submitted (admin\class-b2-private-files-admin.php:217)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

B2 Private Files Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[b2-private-file-button] includes\class-b2-private-files.php:186
WordPress Hooks 14
actionadmin_enqueue_scriptsadmin\class-b2-private-files-admin.php:205
actionplugins_loadedincludes\class-b2-private-files.php:142
actionadmin_enqueue_scriptsincludes\class-b2-private-files.php:157
actionadmin_enqueue_scriptsincludes\class-b2-private-files.php:158
actionadmin_menuincludes\class-b2-private-files.php:159
actionadmin_initincludes\class-b2-private-files.php:160
actionadmin_menuincludes\class-b2-private-files.php:162
actionadmin_menuincludes\class-b2-private-files.php:163
actionadmin_menuincludes\class-b2-private-files.php:164
actionadmin_post_b2_private_files_upload_actionincludes\class-b2-private-files.php:166
actionadmin_post_b2_private_files_file_viewedincludes\class-b2-private-files.php:168
actionadmin_post_b2_private_files_file_deletedincludes\class-b2-private-files.php:169
actionwp_enqueue_scriptsincludes\class-b2-private-files.php:183
actionwp_enqueue_scriptsincludes\class-b2-private-files.php:184
Maintenance & Trust

B2 Private Files Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedAug 18, 2022
PHP min version
Downloads829

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

B2 Private Files Developer Profile

Darwin Biler

1 plugin · 10 total installs

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

How We Detect B2 Private Files

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/b2-private-files/admin/js/upload-page.js
Script Paths
admin/js/upload-page.js
Version Parameters
b2-private-files-upload-page

HTML / DOM Fingerprints

Data Attributes
name='b2_private_files_settings[b2_private_files_account_id]'name='b2_private_files_settings[b2_private_files_application_key]'name='b2_private_files_settings[b2_private_files_bucket_id]'name='b2_private_files_settings[b2_private_files_bucket_name]'
FAQ

Frequently Asked Questions about B2 Private Files