Petruth Smart Gallery Security & Risk Analysis

wordpress.org/plugins/petruth-smart-gallery

AI-powered gallery that generates titles, categories, keywords, and short descriptions automatically.

0 active installs v1.4 PHP + WP 5.6+ Updated Unknown
aicaptionsgalleryimagesmetadata
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Petruth Smart Gallery Safe to Use in 2026?

Generally Safe

Score 100/100

Petruth Smart Gallery has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "petruth-smart-gallery" plugin v1.4 exhibits a generally strong security posture based on the static analysis. The absence of dangerous functions, SQL injection risks (all queries use prepared statements), and a high percentage of properly escaped output are positive indicators. Furthermore, the plugin demonstrates good security practices by including nonce checks and capability checks for its entry points. The plugin also has no recorded vulnerabilities (CVEs), which suggests a history of security awareness or a lack of historical exploitation. The limited attack surface with no unprotected entry points is a significant strength. However, the presence of one external HTTP request warrants cautious monitoring as such requests can sometimes be a vector for vulnerabilities if not handled with extreme care, though no specific issues were flagged in the taint analysis. The lack of taint analysis data means potential issues within the logic of handling data from external requests or user input could be missed.

Despite the positive findings, the absence of taint analysis prevents a complete assessment of the plugin's security, especially concerning how it handles external data or user-supplied information. The single external HTTP request, while not flagged as an issue, represents a potential point of failure if the external resource were compromised or if the data fetched from it were not properly sanitized before use. The vulnerability history of zero CVEs is commendable, but it's important to remember that past security is not a guarantee of future security. Continuous monitoring and updates are crucial for maintaining a secure plugin, especially as new threats emerge and WordPress core evolves.

Key Concerns

  • External HTTP request detected
Vulnerabilities
None known

Petruth Smart Gallery Security Vulnerabilities

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

Petruth Smart Gallery Code Analysis

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

Output Escaping

90% escaped73 total outputs
Attack Surface

Petruth Smart Gallery Attack Surface

Entry Points2
Unprotected0

AJAX Handlers 1

authwp_ajax_psmg_bulk_upload_handlerincludes\admin-menu.php:89

Shortcodes 1

[petruth_smart_gallery] public\frontend.php:204
WordPress Hooks 11
actionadmin_menuincludes\admin-menu.php:20
actionadd_meta_boxesincludes\admin-meta.php:17
actionadmin_enqueue_scriptsincludes\admin-meta.php:90
actionsave_post_psmg_itemincludes\admin-meta.php:119
actioninitincludes\post-types.php:31
actioninitincludes\post-types.php:60
actionadmin_menuincludes\settings-page.php:7
actionadmin_initincludes\settings-page.php:8
actionadmin_enqueue_scriptsincludes\settings-page.php:9
actionadmin_enqueue_scriptspetruth-smart-gallery.php:99
actionwp_enqueue_scriptspetruth-smart-gallery.php:111
Maintenance & Trust

Petruth Smart Gallery Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedUnknown
PHP min version
Downloads200

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Petruth Smart Gallery Developer Profile

Nastin MG

5 plugins · 1K total installs

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

How We Detect Petruth Smart Gallery

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/petruth-smart-gallery/assets/css/admin.css/wp-content/plugins/petruth-smart-gallery/assets/js/admin.js/wp-content/plugins/petruth-smart-gallery/assets/css/style.css/wp-content/plugins/petruth-smart-gallery/assets/js/gallery.js
Script Paths
petruth-smart-gallery/assets/js/admin.jspetruth-smart-gallery/assets/js/gallery.js
Version Parameters
petruth-smart-gallery/assets/css/admin.css?ver=petruth-smart-gallery/assets/js/admin.js?ver=petruth-smart-gallery/assets/css/style.css?ver=petruth-smart-gallery/assets/js/gallery.js?ver=

HTML / DOM Fingerprints

CSS Classes
psmg-bulk-upload-formpsmg-bulk-categorypsmg-select-imagespsmg-preview-area
Data Attributes
data-psmg-item-id
JS Globals
PSMG_AdminPSMG_FrontPSMG_BulkUpload
FAQ

Frequently Asked Questions about Petruth Smart Gallery