AAM Protected Media Files

Add-on to the free Advanced Access Manager plugin that protects media files from direct access for visitors, roles or users

v1.3.3AAM PluginUpdated Added 600 installs100% rating
62
Score
13
Errors
10
Warnings
+0
Change

Category Scores

Security40
Repo83
Performance100
Maintainability90

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

23 findings

Maintainability

11

4 issue groups

Security

9

4 issue groups

Repo Compliance

3

3 issue groups

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.3
Category
Security
Occurrences
3
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $pm_query used in $wpdb->get_var()\n$pm_query assigned unsafely at line 155.2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $pm_query used in $wpdb->get_var()\n$pm_query assigned unsafely at line 155.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $pm_query2
Category
Security
Occurrences
2
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $pm_query

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityfile system operations readfileFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().

ERRORRepo Compliancelicense mismatchYour plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

Show 1 more
ERRORRepo Complianceplugin header invalid license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Invalid License: This file is subject to the terms and conditions defined in. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

26

External assets

0

Incoming endpoints

0

Notable Domains

vasyltech.com1 · outbound

Platform / Reference Domains

github.com25 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.3.3

62

Latest

Findings
23
Errors
13
Warnings
10
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

30 nodes

Related Plugins

Media Trash Button

400 active installs

100
Remove Broken Images

900 active installs

100
DocumentCloud

1k+ active installs

98
File Upload Types by WPForms

30k+ active installs

98