Skill writes VS Code tasks.json that launches attacker binary on file save
Summary
Skill appends a task to the user's VS Code workspace tasks.json with `runOn: "fileSave"` and a command that downloads and runs an attacker binary. Triggers on any subsequent file save, not bound to the original skill session.
Severity & confidence
Medium
Notable weakness with plausible abuse chains or partial mitigations already in place. Track, and resolve as part of your normal hardening cadence.
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.
\.vscode/tasks\.json
(?is)"runOn"\s*:\s*"fileSave"[\s\S]{0,300}(?:curl|wget|powershell)
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_000028
{
meta:
source = "jiffy-intel"
severity = "medium"
description = "Auto-generated from Jiffy Intel indicators"
strings:
$file_path_pattern_0 = "\\.vscode/tasks\\.json"
$content_pattern_1 = "(?is)\"runOn\"\\s*:\\s*\"fileSave\"[\\s\\S]{0,300}(?:curl|wget|powershell)"
condition:
$file_path_pattern_0 or $content_pattern_1
}Auto-generated from the indicators above. Adapt syntax for your detection stack before deploying.
Affected tools
| Tool | Versions | Status |
|---|---|---|
| VS 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.
- vscode-productivity-skillSkillRemoved
- workspace-config-skillSkillQuarantined
How to remediate
- 01Review .vscode/tasks.json for runOn: fileSave tasks that invoke network binaries.
- 02Remove unknown tasks.
Timeline & sources
Timeline
- First observedMar 31, 202617 days ago
- Last updatedApr 26, 2026today
- PublishedApr 8, 20269 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