Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

commit

Latest version: vgit:5d8c594b6bf985bc94ea14b825a3aebdc7522084

Overview

Last scanned
13 Nov 2026
Agent skill Publisher: AndreHahm
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

commit was last scanned on 13 Nov 2026 at commit 5d8c594b. Risk score 10 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 2 rules fired in commit 5d8c594b (2 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
5d8c594b 2 rules fired

Rules fired in 5d8c594b: 2

Findings

2 Low

Findings for commit 5d8c594b. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Phrase match: acting without asking the user (not reviewed)

An automated phrase check found wording such as "don't ask the user". It does not tell a skipped confirmation apart from an instruction to look something up instead of asking for it. Not reviewed by a person.

LOW

Phrase match: instruction-override wording (not reviewed)

LOW
Checking access…

🔒 Create a free account to see all 2 findings with descriptions and instance counts

The score describes 5d8c594b; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Claude Command: Commit

Your job is to create well-formatted commits with conventional commit messages.

When to Use

Creating a commit for currently staged (or about-to-be-staged) changes — conventional commit message formatting, sensitive-file scanning, staging confirmation, and optional push/PR follow-through. Triggers: /commit, "commit this", "commit and push", "amend the last commit", or any request to turn staged/ unstaged changes into a properly formatted commit.

When NOT to Use

  • Deciding whether to split a diff into multiple commits, ordering multi-file changes into dependency-ordered waves, or picking which of several pending changes to stage first — that's standalone-commits's job (run the standalone-commits skill). commit only shapes and executes the message for whatever is already staged; step 10 below is a lightweight "multiple concerns?" signal, not the actual splitting procedure.
  • Creating a fresh branch before any changes exist — that's starting-work (run the starting-work skill), which also handles the worktree-vs-branch choice and main-sync that step 3 below doesn't. Step 3's branch check stays as a fallback for someone already mid-edit on main/master; it isn't a substitute for deliberately starting new work through starting-work.

Flags

Parse $ARGUMENTS for these flags (each may appear alone or combined with the others, in any order, optionally followed by a commit message to use instead of generating one):

Flag Effect
--no-verify Skip pre-commit checks (lint)
--amend Amend the last commit instead of creating a new one
--push Push to remote after a successful commit

Settings

Staging, commit confirmation, and message-length targets are read from a settings file, resolved in this order:

  1. .claude/git-kit.local.json in the project root, if it exists (gitignored, user-local — create it with /create-git-kit-local-json, which seeds it from the defaults below).
  2. For any field that file doesn't set (or if it doesn't exist at all), fall back to the git-tracked defaults at ${CLAUDE_PLUGIN_ROOT}/git-kit.settings.json (shared across git-kit skills, not commit-specific).
Setting Default Meaning
commit_confirm_before_commit true Show the generated message and ask before running git commit
commit_auto_stage false When nothing is staged, ask what to stage instead of auto-staging everything
commit_first_line_soft_limit 50 Recommended max length for the first line
commit_first_line_hard_limit 72 Hard max length for the first line
commit_body_max_lines 5 Recommended max lines for the body, when one is included
commit_auto_push false After a successful commit, push without asking
push_auto_pr false After a successful push (via --push or commit_auto_push), create a PR without asking (if none is already open)

Security note: commit_confirm_before_commit, commit_auto_stage, commit_auto_push, and push_auto_pr all weaken safety or trigger further automation when enabled, so they're only honored from .claude/git-kit.local.json when that file is untracked by git (see Instructions step 2). A copy committed into the repo — whether accidentally or by an attacker — can never silently disable the confirmation gate, enable auto-staging, or trigger unattended pushes/PR creation; the skill falls back to the git-tracked git-kit.settings.json defaults for those fields instead.

Instructions

CRITICAL: Perform the following steps exactly as described:

  1. Read settings: Read the git-tracked defaults from ${CLAUDE_PLUGIN_ROOT}/git-kit.settings.json (enabled, commit_confirm_before_commit, commit_auto_stage, commit_first_line_soft_limit, commit_first_line_hard_limit, commit_body_max_lines, commit_auto_push, push_auto_pr). Then check for .claude/git-kit.local.json in the project root — if it exists and its own enabled isn't false, its fields override the corresponding default for any field it sets.

  2. Trust check (security): If .claude/git-kit.local.json exists and set commit_confirm_before_commit, commit_auto_stage, commit_auto_push, or push_auto_pr, check whether the file is tracked by git: git ls-files --error-unmatch .claude/git-kit.local.json. A git-tracked copy could have been committed by anyone with repo write access — including an attacker aiming to silently weaken safety gates for the next person who runs /commit. So if the file IS tracked (command exits 0), discard its values for those four fields and use the git-kit.settings.json defaults instead, regardless of what the local file says. Only an untracked (genuinely local, gitignored) .claude/git-kit.local.json may override any of these gates. The length-limit and pr_merge_type/merge_auto_delete_branch-style fields aren't security-relevant and may be honored either way, tracked or not.

  3. Branch check: Checks if current branch is master or main. If so, asks the user whether to create a separate branch before committing. If user confirms a new branch is needed, run "${CLAUDE_PLUGIN_ROOT}/scripts/write-git-kit-marker.sh" git-branch-create commit immediately before creating the branch — this writes the marker git-kit's branch-creation guard requires; it must be written right before git checkout -b, not earlier. Then create the branch using the pattern <type>/<description> (e.g., feature/add-new-command). This is a fallback for someone already mid-edit on main/master — if no changes exist yet, point at the starting-work skill instead, which also syncs main and asks about a worktree.

  4. Unless specified with --no-verify, automatically runs pre-commit checks like pnpm lint or similar depending on the project language.

  5. Checks which files are staged with git status

  6. Staging: If 0 files are staged — when commit_auto_stage is true, stage everything with git add -A; otherwise show the unstaged files and ask the user what to stage (or whether git add -A is appropriate). Never auto-stage without confirmation unless commit_auto_stage is explicitly enabled.

  7. Check for sensitive files among the now-staged files: run "${CLAUDE_PLUGIN_ROOT}/scripts/scan-staged-files.sh" with the staged file list to check them against the fixed sensitive-filename patterns (.env/.env.*, *secret*/*credential*/*.key/*.pem, *password*/*token*, SSH/cloud private keys id_rsa/id_ed25519/id_ecdsa/id_dsa/ service-account.json/*.p12/*.pfx/*.jks, and credential config files .npmrc/.pgpass/ .netrc). If any are flagged, warn the user and unstage them (git restore --staged <file>) before continuing.

    Limitation: this check matches staged filenames only — it does not inspect staged diff content for embedded credential-shaped strings (API keys, tokens) in a file whose name doesn't match one of these patterns. A key pasted into an otherwise-unflagged file's content is not caught by this step.

  8. Performs a git diff --cached to understand what changes are being committed

  9. Test-behavior-change check: scan the staged diff for any skills/*/SKILL.md, skills/*/references/*.md, or agents/*.md change that alters guidance or instructions — per .claude/rules/require-tests-for-behavior-changes.md's definition (a change to what a component actually does when followed on some input; excludes deterministic script/code logic changes and prose fixes that only restore already-intended behavior). If any staged file matches, ask via AskUserQuestion: "This looks like it changes skill/agent behavior. Has it been tested?" with options covering the mechanisms in require-tests-for-behavior-changes.md (a skill-tester eval run, the Testing & Validation checklist, the trigger-phrase smoke check), plus "No — commit anyway" and "No — stop, let me test first". This ask is mandatory whenever the diff matches — never skip it silently — but the answer, including "commit anyway", is the user's call. On "stop, let me test first", halt here without committing.

  10. Check whether this is a single logical change: scan the diff for signs of multiple unrelated concerns (different top-level directories/domains touched, a mix of feature/fix/refactor/docs changes, or unrelated file types changed together). This is a lightweight signal, not a splitting procedure — see step 11.

  11. If step 10 finds signs of multiple concerns, tell the user and point them to the standalone-commits skill for the actual splitting/ordering/wave-planning logic (dependency-ordered waves, acceptance checks, staging workflow) instead of re-deriving a split here. Continue commit's own flow only for the single commit currently staged (or whatever subset the user chooses to keep in this commit).

  12. Creates a commit message for the currently staged changes using conventional commit format (no emoji — see Best Practices). Include a body when the reason isn't obvious from the diff alone (recommended, not required — see Best Practices). Include a footer trailer only when it applies: a BREAKING CHANGE: trailer when the subject uses !, a Refs:/Closes: trailer when the conversation named a specific issue this commit relates to or resolves, and a Related-PR: trailer when the conversation named a specific related PR. Don't ask the user for footer content on every commit — only include a trailer when there's a concrete breaking change, issue, or PR already in view (see Commit Message Footer below).

  13. Confirm before committing: when commit_confirm_before_commit is true (the default), use AskUserQuestion to show the generated commit message and ask the user to proceed; only run git commit after confirmation. When false, commit directly. Immediately before running git commit (right after confirmation, or right before committing directly when confirmation is off), run "${CLAUDE_PLUGIN_ROOT}/scripts/write-git-kit-marker.sh" git-commit commit — this writes the marker git-kit's commit-guard hook requires; it must be written right before the commit, not earlier in this run, since the hook only accepts a marker up to 60 seconds old.

  14. Amend: if --amend was given, run "${CLAUDE_PLUGIN_ROOT}/scripts/write-git-kit-marker.sh" git-commit commit immediately before running it, then use git commit --amend instead of a plain commit. Before amending, check with git status whether the branch is ahead of its remote and warn if the target commit was already pushed.

  15. Push: push after a successful commit when --push was given (explicit override, always pushes regardless of setting), or when commit_auto_push is true. Otherwise, when commit_auto_push is false and no --push flag was given, ask via AskUserQuestion whether to push. If push fails because there's no upstream, suggest git push -u origin <branch>.

  16. Auto-PR: skip this step entirely if commit was invoked as a nested dependency from create-pr's own pre-flight check (i.e. this run's instructions say to skip Auto-PR) — create-pr is about to create the PR itself right after this run returns, so running this step too would create a duplicate PR or nest create-pr inside itself. Otherwise, after a successful push (from step 15, either path), check gh pr view --json number for the current branch. If a PR is already open, skip this step entirely. Otherwise: when push_auto_pr is true, invoke Skill(git-kit:create-pr) directly; when false, ask via AskUserQuestion whether to create one now, and invoke Skill(git-kit:create-pr) only on yes.

  17. Show the result: commit hash, files changed, insertions/deletions, and push status (if a push happened)

Best Practices for Commits

  • Verify before committing: Ensure code is linted, builds correctly, and documentation is updated
  • Atomic commits: Each commit should contain related changes that serve a single purpose
  • Split large changes: If changes touch multiple concerns, split them into separate commits (see standalone-commits for the actual splitting/ordering procedure)
  • Conventional commit format: Use the format <type>(scope): <description> where type is one of:
    • feat: A new feature
    • fix: A bug fix
    • docs: Documentation changes
    • style: Code style changes (formatting, etc)
    • refactor: Code changes that neither fix bugs nor add features
    • perf: Performance improvements
    • test: Adding or fixing tests
    • chore: Changes to the build process, tools, etc.
    • ci: CI/CD changes
    • experiment: Experimental changes
  • Breaking changes: Add ! before the colon, e.g. feat!: or refactor(api)!:
  • Present tense, imperative mood: Write commit messages as commands (e.g., "add feature" not "added feature")
  • Concise first line: Aim for commit_first_line_soft_limit characters (default 50), hard limit commit_first_line_hard_limit (default 72)
  • Body (recommended, not required): explain WHY the change was made, not WHAT changed (the diff already shows that). Up to commit_body_max_lines lines (default 5). A one-line subject is fine when the diff is genuinely self-explanatory — don't pad a body onto a change that doesn't need one.
  • Audience: describe the change in terms any repo reader understands — never a local-machine-specific path, a symptom as it appeared in one session's terminal, or context ("fixed the issue from my last session") that means nothing outside this one environment.
  • Footer (optional): see Commit Message Footer below for the trailer format (breaking changes, related issues, related PRs)
  • Emoji: Do not use emoji in commit messages

Commit Message Footer

Add a footer — a blank line after the subject/body, then one or more trailer lines — only when it applies. Never fabricate a trailer with no real content behind it.

Trailer When to include Format
BREAKING CHANGE: The subject uses ! (e.g. feat!:) BREAKING CHANGE: <what breaks, and migration guidance>
Refs: The commit relates to an issue without resolving it Refs: #<issue-number>
Closes: The commit resolves an issue (GitHub auto-closes it on merge to the default branch) Closes: #<issue-number>
Related-PR: The commit depends on, supersedes, or otherwise relates to another PR Related-PR: #<pr-number>

Multiple trailers can appear together, one per line. Only include a trailer when the conversation already named a specific issue, PR, or breaking-change detail — don't ask the user to supply one just to fill out the section.

Examples

Good commit messages (first line only):

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub AndreHahm/andres-cc-marketplace/commit

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229