Slimage Security & Risk Analysis

wordpress.org/plugins/slimage

A WordPress plugin that uses jpegoptim and optipng to compress images during upload, allowing you to override the compression level and quality on a p …

20 active installs v1.0.3 PHP 7.0+ WP 4.8+ Updated Nov 5, 2023
compressimageoptimizationoptimizeoptipng
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Slimage Safe to Use in 2026?

Generally Safe

Score 85/100

Slimage 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 static analysis of the 'slimage' v1.0.3 plugin reveals a concerning security posture despite a lack of recorded vulnerabilities. While the plugin presents a minimal attack surface with no apparent AJAX handlers, REST API routes, shortcodes, or cron events, the code itself contains significant red flags. The presence of the `shell_exec` function is a critical risk, as it allows for arbitrary command execution if improperly handled. Furthermore, all SQL queries are executed without prepared statements, making them highly susceptible to SQL injection attacks. The complete lack of output escaping means any data processed or displayed by the plugin could be vulnerable to cross-site scripting (XSS) attacks.

Compounding these issues is the absence of any nonce or capability checks, meaning any authenticated user, or even an unauthenticated user if an entry point were discovered, could potentially trigger these dangerous functions or inject malicious queries and code. The vulnerability history being clean is a positive point, but it does not negate the immediate dangers identified within the current codebase. The plugin's current state suggests a high potential for exploitation due to fundamental security oversights, despite its untarnished public record.

Key Concerns

  • Dangerous function `shell_exec` detected
  • SQL queries not using prepared statements
  • No output escaping implemented
  • No nonce checks implemented
  • No capability checks implemented
Vulnerabilities
None known

Slimage Security Vulnerabilities

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

Slimage Release Timeline

v1.0.3Current
v1.0.2
v1.0.1
v1.0
Code Analysis
Analyzed Mar 16, 2026

Slimage Code Analysis

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

Dangerous Functions Found

shell_execshell_exec( $command . ' && chmod -R 755 ' . $thumb_path );includes\Compressor.class.php:53
shell_exec$output = shell_exec( self::programPath( $name ) . ' --version' );includes\Helper.class.php:36

SQL Query Safety

0% prepared2 total queries

Output Escaping

0% escaped7 total outputs
Attack Surface

Slimage Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 6
filterwp_generate_attachment_metadataincludes\Compressor.class.php:14
filterattachment_fields_to_editincludes\Fields.class.php:15
filterattachment_fields_to_saveincludes\Fields.class.php:16
actionadmin_initincludes\Options.class.php:15
actionadmin_enqueue_scriptsincludes\Options.class.php:16
actioninitslimage.php:19
Maintenance & Trust

Slimage Maintenance & Trust

Maintenance Signals

WordPress version tested6.4.8
Last updatedNov 5, 2023
PHP min version7.0
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs20
Developer Profile

Slimage Developer Profile

Giorgos Sarigiannidis

7 plugins · 10K total installs

91
trust score
Avg Security Score
87/100
Avg Patch Time
5 days
View full developer profile
Detection Fingerprints

How We Detect Slimage

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

Asset Fingerprints

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

HTML / DOM Fingerprints

CSS Classes
slimage-checkslimage-server-pathslimage-settingslimage-description
Data Attributes
data-slimage-iddata-slimage-url
JS Globals
slimage_vars
Shortcode Output
<img src="" alt="" data-slimage-id="" data-slimage-url="
FAQ

Frequently Asked Questions about Slimage