AM Cookies Security & Risk Analysis

wordpress.org/plugins/am-cookies

Simple and versatile GDPR compatible Cookie Compliance Plugin for WordPress.

0 active installs v1.2.12 PHP 7.2+ WP 5.9+ Updated Unknown
analyticscookiesgdprretargettingtracking
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is AM Cookies Safe to Use in 2026?

Generally Safe

Score 100/100

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

No known CVEs
Risk Assessment

The "am-cookies" plugin version 1.2.12 exhibits a generally good security posture in several key areas. Static analysis reveals a complete absence of dangerous functions, SQL queries not using prepared statements, and all output is properly escaped. The plugin also does not perform file operations or make external HTTP requests, further limiting potential attack vectors. There is no recorded vulnerability history, indicating a mature and well-maintained codebase.

However, a significant concern arises from the identified attack surface. The plugin exposes two REST API routes without any permission callbacks. This means that any unauthenticated user can potentially interact with these endpoints, creating a serious security risk if these endpoints handle sensitive data or perform actions that could be exploited. While taint analysis shows no identified issues, the lack of authentication on REST API routes is a critical oversight that bypasses standard WordPress security practices.

In conclusion, while "am-cookies" demonstrates strong coding hygiene in many aspects, the unprotected REST API endpoints are a major weakness. This needs immediate attention to implement proper permission checks. The lack of historical vulnerabilities is a positive sign, but the current attack surface presents a clear and present danger that overshadows the other positive findings.

Key Concerns

  • REST API routes exposed without permission checks
Vulnerabilities
None known

AM Cookies Security Vulnerabilities

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

AM Cookies Code Analysis

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

Output Escaping

100% escaped28 total outputs
Attack Surface
2 unprotected

AM Cookies Attack Surface

Entry Points2
Unprotected2

REST API Routes 2

GET/wp-json/am-cookies-settings/v1/optionsincludes\rest-api.php:27
POST/wp-json/am-cookies-settings/v1/optionsincludes\rest-api.php:40
WordPress Hooks 5
actionadmin_menuincludes\admin.php:17
actionadmin_enqueue_scriptsincludes\admin.php:18
actionwp_enqueue_scriptsincludes\frontend.php:9
actionwp_body_openincludes\frontend.php:78
actionrest_api_initincludes\rest-api.php:17
Maintenance & Trust

AM Cookies Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedUnknown
PHP min version7.2
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

AM Cookies Developer Profile

Johan Martin Aarstein

2 plugins · 800 total installs

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

How We Detect AM Cookies

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/am-cookies/build/settings.js/wp-content/plugins/am-cookies/scripts/am-gdpr.min.js/wp-content/plugins/am-cookies/scripts/add-text.js/wp-content/plugins/am-cookies/styles/dist/admin.min.css/wp-content/plugins/am-cookies/styles/dist/preview.min.css
Script Paths
scripts/am-gdpr.min.jsscripts/add-text.jsbuild/settings.js
Version Parameters
am-cookies/scripts/am-gdpr.min.js?ver=am-cookies/scripts/add-text.js?ver=am-cookies/build/settings.js?ver=

HTML / DOM Fingerprints

Data Attributes
alignPromptalignMiniPromptaccentColorbackgroundColorfontFamilyborderWidth+5 more
JS Globals
aamd_cookiesaamd_cookies_adminaamd_cookies_frontendamCookiesElement
REST Endpoints
/wp-json/am-cookies-settings/v1/options
Shortcode Output
<am-cookies
FAQ

Frequently Asked Questions about AM Cookies