google-chat-api

Warn

Audited by Socket on Sep 4, 2026

1 alert found:

Security
SecurityMEDIUM
templates/bearer-token-verify.ts

This module’s non-production verifier (used by the exported middleware) does not verify the JWT signature; it only checks payload.iss and payload.exp. If deployed with this wrapper as-is for authorization, an attacker could forge a token that passes these checks and gain access. A stronger signature-verified implementation exists in the same file, but it is not the function enforced by the middleware. No direct malware indicators are present in this code fragment; the security risk is primarily an authentication/authorization bypass due to missing cryptographic verification in the active path.

Confidence: 78%Severity: 72%
Audit Metadata
Analyzed At
Sep 4, 2026, 06:56 AM
Package URL
pkg:socket/skills-sh/dennislee928%2Fethic-latex%2Fgoogle-chat-api%2F@b00afbbd2d2cbf97a92e64c4cc2625c9357141b8913d00d58a0ba2512bb24217
Security Audit — socket — google-chat-api