shopify-enterprise-rbac

Warn

Audited by Socket on Sep 9, 2026

2 alerts found:

AnomalySecurity
AnomalyLOW
references/staff-query-and-role-mapping.md

The code is ordinary role-based authorization logic and contains no evidence of malware or intentional supply-chain abuse. It has a meaningful access-control flaw: users who do not possess read_products, including users with no matching role, are assigned viewer and may receive viewer permissions. The fallback should deny access or return an explicit unauthenticated/unmapped role, and role precedence and GraphQL pagination should be validated.

Confidence: 98%Severity: 58%
SecurityMEDIUM
references/permission-middleware-and-location-access.md

No evidence of malicious behavior or intentional obfuscation is present. The offline-token branch is a significant authorization weakness because it unconditionally grants an admin role and bypasses per-user checks. Location authorization is structurally deny-by-default, but its security depends on callers supplying authenticated and correctly scoped user and location identifiers. The fragment should be reviewed before production use, especially the offline-session handling and identity binding.

Confidence: 97%Severity: 72%
Audit Metadata
Analyzed At
Sep 9, 2026, 03:52 AM
Package URL
pkg:socket/skills-sh/jeremylongshore%2Ftons-of-skills-marketplace%2Fshopify-enterprise-rbac%2F@8a238d43ec0f9b5114cb723e8c1b71da98edabb3a713d0c7b6ead38811cc12a2
Security Audit — socket — shopify-enterprise-rbac