Git Deployer

WarnAudited by ClawScan on May 10, 2026.

Overview

The skill matches its stated purpose, but it can use your Git access to force-overwrite a remote branch without a built-in confirmation or safety guard.

Install only if you are comfortable with an agent force-pushing to the specified Git repository. Before each use, verify the site path, remote URL, and branch; prefer a scoped deploy key; avoid embedding tokens in URLs; and delete the /tmp clone if it contains anything sensitive.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A mistaken or autonomous invocation could replace a GitHub Pages site, delete files from the remote branch, or overwrite branch history.

Why it was flagged

The script always force-pushes the selected branch after staging and committing changes. There is no artifact-backed confirmation, dry run, backup, allowlist, or safer force-with-lease guard.

Skill content
git push -u origin "$BRANCH" --force
Recommendation

Require explicit user confirmation before pushing, verify the remote URL and branch, prefer normal push or --force-with-lease, and consider adding a dry-run or backup step.

What this means

The skill can modify any repository and branch that the configured Git credential is allowed to push to.

Why it was flagged

The skill expects existing Git authentication so it can write to the remote repository. This is purpose-aligned, but it means the skill acts with the authority of the user's Git credentials or deploy key.

Skill content
- `git` must be installed and configured with credentials for the remote
- SSH key or HTTPS token auth must be set up for the remote repository
Recommendation

Use a narrowly scoped deploy key or token, confirm the target repository and branch before use, and avoid putting tokens directly in the remote URL because the script prints the remote URL.

What this means

The skill may fail or behave differently on systems without the expected tools installed.

Why it was flagged

The metadata declares no binary requirements, while the provided script depends on command-line tools such as git and rsync. This is mainly an installation/setup disclosure gap, not hidden behavior.

Skill content
Required binaries (all must exist): none
Required binaries (at least one): none
Recommendation

Declare required tools in metadata and document all runtime dependencies, including rsync.

What this means

A copy of the deployed site remains under /tmp until removed, which may matter if the site directory contains private or draft content.

Why it was flagged

The skill intentionally leaves deployment state on disk after it finishes. This is disclosed and not hidden background behavior, but it is persistent local state.

Skill content
Clone happens in `/tmp` and is not cleaned up automatically (intentional: allows inspection)
Recommendation

Inspect and delete the /tmp clone when it is no longer needed, and do not deploy directories containing secrets.