Entra ID OAuth device-code phishing for token theft, illicit consent grant via malicious app registration with delegated Graph scopes, refresh-token replay, and primary-refresh-token (PRT) abuse concepts.
61
73%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./packages/decepticon/decepticon/skills/standard/cloud/entra-device-code-phishing/SKILL.mdSecurity
3 findings: 1 critical severity, 1 high severity, 1 medium severity. Installing this skill is not recommended: please review these findings carefully if you do intend to do so.
Detected high-risk code patterns in the skill content — including its prompts, tool definitions, and resources — such as data exfiltration, backdoors, remote code execution, credential theft, system compromise, supply chain attacks, and obfuscation techniques.
This document is an explicit, step-by-step malicious playbook for stealing Entra/Azure AD tokens, abusing OAuth device-code and consent flows, exfiltrating mailbox/OneDrive data, and establishing persistence/impersonation.
The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.
The prompt explicitly instructs collecting and embedding live secrets (device/user codes, access/refresh tokens, and client_secret) verbatim into commands and outputs (e.g., curl Authorization headers and token exchange), which requires the LLM to handle and output secrets directly.
The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.
The skill explicitly instructs post-exploitation, requires/assumes local SYSTEM privileges (e.g., extracting PRT via roadtx, "post-RCE on joined endpoint"), which encourages performing privileged actions that compromise host device state.
0cf691e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.