Back to skill

Security audit

saltshaer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward guide for using a Google Workspace CLI, with sensitive capabilities disclosed but worth using carefully.

Install only if you trust the gog Homebrew formula and are comfortable granting Google Workspace OAuth access. Use the narrowest Google account and services needed, and confirm before sending email, creating events, or modifying or clearing spreadsheet ranges.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Credential Access

High
Category
Privilege Escalation
Content
Use `gog` for Gmail/Calendar/Drive/Contacts/Sheets/Docs. Requires OAuth setup.

Setup (once)
- `gog auth credentials /path/to/client_secret.json`
- `gog auth add you@gmail.com --services gmail,calendar,drive,contacts,sheets,docs`
- `gog auth list`
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Missing User Warnings

Medium
Confidence
89% confidence
Finding
The skill explicitly documents data-modifying commands for Google Sheets, including update, append, and clear, but only provides a generic confirmation note at the end and no command-specific warnings about destructive effects. In an agent setting, this increases the risk of accidental overwrites or deletion of user data because the examples normalize write operations alongside read-only ones without strong safeguards.

Static analysis

No suspicious patterns detected.