Snack Ads.txt Security & Risk Analysis

wordpress.org/plugins/snack-ads-txt

Handles automatic creation and updates of ads.txt file for publishers who advertise with Snack Media.

100 active installs v3.3.0 PHP 8.0+ WP 5.3+ Updated Jan 22, 2026
ads-txtadvertising
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Snack Ads.txt Safe to Use in 2026?

Generally Safe

Score 100/100

Snack Ads.txt has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2mo ago
Risk Assessment

The snack-ads-txt plugin v3.3.0 demonstrates a generally strong security posture based on the provided static analysis. The absence of dangerous functions, 100% use of prepared statements for SQL queries, and proper output escaping for all identified outputs are commendable practices. The plugin also appears to have no known vulnerabilities in its history, which is a positive indicator. However, several areas warrant attention. The presence of two file operations and two external HTTP requests, while not explicitly flagged as malicious, represent potential entry points for vulnerabilities if not handled with extreme care. More concerning is the taint analysis, which identified two flows with unsanitized paths. While these did not reach critical or high severity, they indicate potential weaknesses where user-supplied data might be processed in an unsafe manner, potentially leading to local file inclusion or other path-based attacks. The complete lack of nonce checks and capability checks across all identified entry points, though the number of entry points is zero, is a significant oversight. If the plugin were to introduce new AJAX handlers, REST API routes, or shortcodes in the future, these would be immediately vulnerable without proper authentication and authorization mechanisms.

Key Concerns

  • Taint flows with unsanitized paths
  • File operations present
  • External HTTP requests present
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

Snack Ads.txt Security Vulnerabilities

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

Snack Ads.txt Code Analysis

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

Output Escaping

100% escaped1 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
saveDataToFile (app\Models\wpModel.php:126)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Snack Ads.txt Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actioninitsnack-ads-txt.php:28
actionsat_plugin_deactivatesnack-ads-txt.php:61
actionrest_api_initsnack-ads-txt.php:72

Scheduled Events 1

snack_adstxt_force_generate
Maintenance & Trust

Snack Ads.txt Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedJan 22, 2026
PHP min version8.0
Downloads6K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Developer Profile

Snack Ads.txt Developer Profile

BoUk

5 plugins · 440 total installs

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

How We Detect Snack Ads.txt

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/snack-ads-txt/app/Scripts/admin.js/wp-content/plugins/snack-ads-txt/app/Scripts/frontend.js/wp-content/plugins/snack-ads-txt/app/Styles/admin.css/wp-content/plugins/snack-ads-txt/app/Styles/frontend.css
Script Paths
/wp-content/plugins/snack-ads-txt/app/Scripts/admin.js/wp-content/plugins/snack-ads-txt/app/Scripts/frontend.js
Version Parameters
snack-ads-txt/app/Scripts/admin.js?ver=snack-ads-txt/app/Scripts/frontend.js?ver=snack-ads-txt/app/Styles/admin.css?ver=snack-ads-txt/app/Styles/frontend.css?ver=

HTML / DOM Fingerprints

REST Endpoints
/wp-json/snack/adstxt/v1/update
FAQ

Frequently Asked Questions about Snack Ads.txt