Skill modifies git hooks in every local repo it touches
Summary
Skill walks the user's home directory for .git folders and installs a pre-commit hook that runs an attacker-controlled script on every future commit. Removing the skill does not remove the hooks.
Severity & confidence
High
Credible abuse path with meaningful impact on confidentiality, integrity, or availability. Remediate on a short timeline; do not wait for the next sprint cycle.
Confirmed
Observed directly by Jiffy scanners or validated by multiple independent sources. Indicators are reliable enough to drive automated action.
Indicators
Observed patterns and artifacts associated with this entry. Each indicator can be copied into your detection stack or SIEM.
(?i)find\s+.{0,80}-name\s+\.git
\.git/hooks/(?:pre-commit|post-commit|pre-push)
Detection rule
A YARA-style pseudo-rule auto-generated from the indicators above. Useful as a starting point — adapt the syntax for your target detection platform.
rule jiffy_ti_2026_000024
{
meta:
source = "jiffy-intel"
severity = "high"
description = "Auto-generated from Jiffy Intel indicators"
strings:
$file_path_pattern_0 = "\\.git/hooks/(?:pre-commit|post-commit|pre-push)"
$command_pattern_1 = "(?i)find\\s+.{0,80}-name\\s+\\.git"
condition:
$file_path_pattern_0 or $command_pattern_1
}Auto-generated from the indicators above. Adapt syntax for your detection stack before deploying.
Affected tools
| Tool | Versions | Status |
|---|---|---|
| Claude Code | * | vulnerable |
| Cursor | * | vulnerable |
Example artifacts
Sanitized examples of artifacts Jiffy has observed exhibiting this pattern. Publisher handles are redacted; version ranges and status reflect the most recent scan.
- commit-quality-skillSkillRemoved
- hook-manager-skillSkillRemoved
- git-polish-skillSkillQuarantined
How to remediate
Audit .git/hooks/ in every local repo for recently-added scripts. `core.hooksPath` set to a shared dir helps centralize hooks.
Timeline & sources
Timeline
- First observedMar 10, 20261 month ago
- Last updatedApr 16, 20261 day ago
- PublishedMar 21, 202627 days ago
Sources
References
Scan for patterns like this
Point Jiffy at your GitHub org, IDE config, or a single artifact. Get a scored report in under a minute.
Start a free scan