Add Device Type to Body Class Security & Risk Analysis

wordpress.org/plugins/add-device-type-to-body-class

This plugin is used to add type of device (mobile, tablet, desktop) in body class of wordpress website. This class is used to add device specific CSS.

70 active installs v1.0 PHP 5.0+ WP 3.2+ Updated Nov 26, 2023
add-device-type-to-wordpressadd-mobile-to-body-classdesktopdevice-specific-csstablet
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Add Device Type to Body Class Safe to Use in 2026?

Generally Safe

Score 85/100

Add Device Type to Body Class has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 2yr ago
Risk Assessment

The 'add-device-type-to-body-class' plugin v1.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, SQL queries not utilizing prepared statements, and proper output escaping are excellent indicators of secure coding practices. Furthermore, the plugin has no recorded vulnerabilities, including no known CVEs, which suggests a history of diligent security maintenance or a lack of discovered weaknesses. The minimal attack surface, with no AJAX handlers, REST API routes, shortcodes, or cron events, further enhances its security by reducing potential entry points for attackers. The lack of file operations and external HTTP requests also contribute to a contained and secure execution environment.

Vulnerabilities
None known

Add Device Type to Body Class Security Vulnerabilities

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

Add Device Type to Body Class Code Analysis

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

Add Device Type to Body Class Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
filterbody_classadd-device-type-to-body-class.php:50
filterplugin_row_metaadd-device-type-to-body-class.php:52
Maintenance & Trust

Add Device Type to Body Class Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedNov 26, 2023
PHP min version5.0
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs70
Developer Profile

Add Device Type to Body Class Developer Profile

Aftab Ali Muni

9 plugins · 34K total installs

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

How We Detect Add Device Type to Body Class

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
device-mobiledevice-tabletdevice-desktop
FAQ

Frequently Asked Questions about Add Device Type to Body Class