Back to skill

Security audit

Gws Script

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Google Apps Script CLI reference, but users should be careful with project update commands that can replace existing files.

Install only if you intend to let agents use the gws CLI against Google Apps Script projects. Treat projects.updateContent and the referenced push helper as potentially destructive because they can replace project files; have the agent inspect the schema, confirm the target project, and retrieve or back up existing content first.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill documents projects.updateContent as clearing all existing files in a project, but provides no adjacent warning, confirmation guidance, or safer workflow recommendation. In an agent context, this increases the risk of destructive overwrite or data loss if the command is invoked with the wrong project or incorrect content payload.

Content

No source excerpt is available for this finding.

Vague Triggers

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The manifest description says only "Manage Google Apps Script projects," which is a broad capability statement without any explicit trigger phrases, scope constraints, or exclusion conditions. For a markdown/manifest file, this can be too ambiguous about when the skill should be selected versus other Google Workspace or scripting skills.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.