oidc-hosted-page-go

Warn

Audited by Socket on Feb 28, 2026

1 alert found:

Security
SecurityMEDIUM
SKILL.md

This is a legitimate, minimal example implementing OIDC login using MojoAuth's Hosted Login Page. I did not find backdoors, remote download-execute patterns, or deliberate exfiltration. The primary security issues are implementation choices that are unsafe for production: storing raw user claims in a client-side cookie (unsigned and without Secure/SameSite), logging full user claims, and lacking a proper session management mechanism. These issues increase risk of credential/PII exposure but are fixable by using server-side sessions (or signed/encrypted cookies), ensuring Secure and SameSite attributes, avoiding logging sensitive claims, and protecting client secrets in the deployment environment. Overall the code appears benign but needs hardening before production use.

Confidence: 80%Severity: 75%
Audit Metadata
Analyzed At
Feb 28, 2026, 09:29 PM
Package URL
pkg:socket/skills-sh/mojoauth%2Fskills%2Foidc-hosted-page-go%2F@60bcf35f9abbabc499ee3a2123111feba7021ba8