attacking-oauth-with-device-code-phishing

Fail

Audited by Snyk on Aug 4, 2026

Risk Level: CRITICAL
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). The skill explicitly instructs capturing OAuth access/refresh tokens and client secrets and embedding them verbatim into commands/requests (e.g., passing a refresh_token to roadtx or client_secret in a curl POST), which forces the LLM to handle/output secret values directly.

CRITICAL E005: Suspicious download URL detected in skill instructions.

  • Suspicious download URL detected (high risk: 0.80). Several URLs point to GitHub repositories that host offensive tooling (TokenTactics, AADInternals, ROADtools) and an attacker callback domain, which are high-risk indicators because they can distribute attack scripts/executables or be used for command-and-control and token exfiltration.

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). This repository contains explicit, actionable instructions and tooling to phish users, capture OAuth access/refresh tokens, redeem refresh tokens for additional resources, and enumerate tenant data — techniques intended to steal credentials and exfiltrate data and therefore represent high-risk malicious behavior when used without explicit authorization.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Issues (4)

W007
HIGH

Insecure credential handling detected in skill instructions.

E005
CRITICAL

Suspicious download URL detected in skill instructions.

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
CRITICAL
Analyzed
Aug 4, 2026, 02:41 PM
Issues
4
Security Audit — snyk — attacking-oauth-with-device-code-phishing