Device Mockups Security & Risk Analysis

wordpress.org/plugins/device-mockups

Show your work in high resolution, responsive device mockups using only shortcodes.

900 active installs v1.8.2 PHP + WP 3.7+ Updated Sep 18, 2017
deviceiphonemockupportfolioshortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Device Mockups Safe to Use in 2026?

Generally Safe

Score 85/100

Device Mockups has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The "device-mockups" plugin v1.8.2 demonstrates a strong security posture based on the provided static analysis. It correctly utilizes prepared statements for all SQL queries and ensures all output is properly escaped, mitigating common web vulnerabilities like SQL injection and Cross-Site Scripting. The absence of dangerous functions, file operations, and external HTTP requests further enhances its security. The plugin also implements capability checks on its entry points, which is a good practice for restricting access. However, a notable concern is the lack of nonce checks on its entry points (shortcodes). While the analysis indicates no exploitable taint flows or known CVEs, the absence of nonces on shortcodes, which are user-facing and can be triggered programmatically, presents a potential risk for Cross-Site Request Forgery (CSRF) attacks. The plugin's history of zero vulnerabilities is a positive indicator, suggesting the developers prioritize security. Despite the strong foundations, the missing nonce checks represent a weakness that should be addressed to achieve a more robust security profile.

Key Concerns

  • Missing nonce checks on shortcodes
Vulnerabilities
None known

Device Mockups Security Vulnerabilities

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

Device Mockups Code Analysis

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

Output Escaping

100% escaped13 total outputs
Attack Surface

Device Mockups Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[browser] includes\browser.php:58
[device] includes\device.php:85
WordPress Hooks 10
actionadmin_headadmin\device-mockups.php:9
filtermce_external_pluginsadmin\device-mockups.php:22
filtermce_buttonsadmin\device-mockups.php:23
actionadmin_enqueue_scriptsadmin\device-mockups.php:61
actionwp_enqueue_scriptsdevice-mockups.php:37
actionwp_enqueue_scriptsdevice-mockups.php:46
filterplugin_action_links_$plugindevice-mockups.php:64
filterno_texturize_shortcodesdevice-mockups.php:87
filterthe_contentdevice-mockups.php:148
filterthe_excerptdevice-mockups.php:150
Maintenance & Trust

Device Mockups Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedSep 18, 2017
PHP min version
Downloads55K

Community Trust

Rating100/100
Number of ratings8
Active installs900
Developer Profile

Device Mockups Developer Profile

Justin Peacock

2 plugins · 910 total installs

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

How We Detect Device Mockups

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/device-mockups/css/device-mockups.css/wp-content/plugins/device-mockups/js/device-mockups.js/wp-content/plugins/device-mockups/admin/device-mockups.css
Script Paths
/wp-content/plugins/device-mockups/js/device-mockups.js
Version Parameters
device-mockups/css/device-mockups.css?ver=device-mockups/js/device-mockups.js?ver=device-mockups-admin.css?ver=

HTML / DOM Fingerprints

CSS Classes
dm-browserscreenhas-gallerydm-scrolldm-widthdevicedm-devicedm-hide-+1 more
HTML Comments
/.screen -->/.device -->/.dm-browser -->/.dm-width -->
Data Attributes
data-device
Shortcode Output
[browser[device
FAQ

Frequently Asked Questions about Device Mockups