implementing-saaskit

Warn

Audited by Socket on Aug 12, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
laravel-reference.md

No clear evidence of supply-chain malware (no explicit backdoor, command execution, or unrelated exfiltration behavior) is indicated. However, the design contains a critical security anti-pattern: JWT claims are accepted via manual base64 decoding without signature verification, and those claims directly drive authorization middleware decisions. This can enable authorization bypass/privilege escalation if an attacker can affect or substitute the token/claim values stored or processed by the app. Additional risk exists from storing raw OAuth tokens/merged claims in the session and from redirecting using a user-influenced 'next' parameter (depending on edge-case handling).

Confidence: 45%Severity: 78%
SecurityMEDIUM
go-reference.md

No clear indicators of package-level malware or supply-chain sabotage are evident in this fragment. However, the authentication implementation contains multiple high-impact hardening gaps: missing OIDC state/CSRF validation during the callback code exchange, use of decoded JWT payload claims for control-flow decisions without demonstrating signature verification in the fragment, and insecure/incomplete cookie security attributes (Secure=false, missing SameSite configuration in the main code path, and id_token not HttpOnly). These issues increase the likelihood of auth-flow manipulation and token theft in realistic deployment threat models.

Confidence: 62%Severity: 74%
Audit Metadata
Analyzed At
Aug 12, 2026, 09:53 AM
Package URL
pkg:socket/skills-sh/scalekit-inc%2Fauthstack%2Fimplementing-saaskit%2F@16b01d48280bc325e73a2fd1302058933aa0677beaea1767de66dcd97ca2ee21
Security Audit — socket — implementing-saaskit