Back to skill

Security audit

repo-setup

Security checks for vulnerabilities and agentic risk

Overview

This skill performs a coherent repository setup workflow, but it under-protects GitHub tokens and can run untrusted project install/build logic with the user's normal environment.

Review before installing. Use GitHub CLI, SSH, or a credential helper instead of token-in-URL cloning, do not store GH_TOKEN in a shell profile, and only run dependency or build commands for repositories you trust or inside an isolated environment without unrelated secrets.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:53
Finding

GitHub Token Exposure Through Authenticated Clone URL

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:43
Finding

Shell Command Injection Through Unvalidated Template Parameters

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Error
Location
SKILL.md:99
Finding

Automatic Execution of Untrusted Repository Dependency and Build Logic

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill instructs cloning with https://${GH_TOKEN}@github.com/..., which embeds the GitHub token directly in the command line and remote URL. This can expose the credential through shell history, process inspection, logs, terminal recordings, or persisted Git remote configuration, making accidental token disclosure significantly more likely.

Content

No source excerpt is available for this finding.