T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:43- Finding
Overly Broad Google Cloud OAuth Scope
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is not overtly deceptive, but it gives an agent broad credentials and directs it to automatically add remote-generated code and packages to a project without enough review controls.
Review carefully before installing. Use this only in a disposable or well-backed-up workspace, require the agent to show generated code and diffs before writing, approve every package and exact version manually, and use a dedicated low-privilege Google credential rather than a broad personal or CI token.
SKILL.md:43Overly Broad Google Cloud OAuth Scope
SKILL.md:190Unvalidated Remote Code Written and Integrated into the Project
SKILL.md:250Automatic Installation of Dependencies Selected by Untrusted Generated Code
The skill is described as automatically integrating generated code into the active codebase without any explicit user-facing notice or confirmation step. In this context, silent file writes and code injection into an active project can surprise users, overwrite logic, or insert unsafe generated code into trusted paths.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
if (!token) throw new Error('STITCH_TOKEN is not configured');
// Step 2: Request design from Stitch
const stitchResponse = await fetch(
'https://stitch.googleapis.com/v1/designs:generate',
{
method: 'POST',
Broad triggers like generate the view for or create a screen for can cause this skill to activate in many ordinary development contexts, leading to unexpected external API use and code modifications. Because the skill performs autonomous integration and may also run commands, accidental invocation materially increases the chance of unintended workspace changes.
The skill authorizes the agent to run npm install <pkg> based on dependencies referenced in generated code from an external service. That extends behavior beyond design retrieval into execution of dependency-changing actions influenced by untrusted remote output, creating supply-chain and workspace integrity risk.
The skill permits automatic package installation and command execution (npm install) without a clear warning or consent flow. Allowing an agent to alter dependencies based on generated code substantially raises the risk of unwanted code execution, malicious package installation, and persistent project compromise.
No suspicious patterns detected.