oauth-flow-test-author

Warn

Audited by Socket on Oct 12, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
evals/pentest-finding-the-author-says-is-wrong/task.md

The visible code has a significant authorization flaw: it assigns permissions from requested scopes without checking granted authority, potentially granting console:grant to users whose identity provider token has only console:read. It also does not bind the callback to the initiating browser despite the test and internal note claiming that it does; the cross-browser test can pass without enforcing this. State and nonce checks are present, but identity-token verification cannot be assessed without decodeIdToken. No clear malware behavior is visible.

Confidence: 98%Severity: 86%
AnomalyLOW
evals/red-auth-suite-turned-green-in-one-afternoon/task.md

No clear malicious behavior is present. The code appears to implement a mock OAuth-style authorization flow, but the redirect prefix check can route codes to lookalike URLs, and the mock token endpoint has incomplete redirect/client binding and optional PKCE enforcement. These are security weaknesses, not evidence of malware.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Oct 12, 2026, 06:05 PM
Package URL
pkg:socket/skills-sh/testland%2Fqa%2Foauth-flow-test-author%2F@cee14bd55fd0f15c94c82e2cb96c9a7375a612d4f95f27dcd2f12a49f4f1ab4f