Skip to main content
MalwarePublished

Confirmed Void Dokkaebi infection on macOS — how do I figure out if VS Code Copilot agent was involved in the delivery?

Source Reddit BlueTeam

0

Discussion

Void Dokkaebi malware infection has been confirmed on macOS systems, with a user reporting suspicious commit tampering in code repositories potentially linked to VS Code Copilot agent activity. The malware campaign is known to use fake job interview lures and commit tampering techniques, primarily documented on Windows, but macOS-specific behaviors remain unclear. The user is investigating whether the VS Code Copilot agent was manipulated to insert malicious code or if tampering occurred independently at the OS level. No official macOS-specific indicators or commit tampering scripts have been identified yet. There is no confirmed exploit or patch information available. The investigation is ongoing with questions about forensic artifacts and logging related to VS Code Copilot and git operations on macOS.

r/AskNetsec (opens in a new tab)u/Dramatic-Bug68980 points0 comments

Found TronGrid C2 code in three of my repos recently. Matches Void Dokkaebi style pretty cleanly. Running on macOS, not Windows, which is where my questions start.

The Trend Micro report describes temp_auto_push.bat for commit tampering — Windows only. I haven't found it on my machine. Is there a known macOS equivalent for this campaign? Or does the commit spoofing work differently on Mac?

Second question and the one I'm more stuck on: every single infected commit happened during a VS Code Copilot agent session. The agent was doing legitimate multi-file edits across my workspace each time. So I'm wondering if:

a) the agent got prompt-injected via something in the workspace and wrote the malicious code itself, or b) the commit tampering happened at the OS level independently and the agent sessions are just coincidence

If it's (a), I'd expect to find traces somewhere in VS Code's logs or Copilot telemetry. Does VS Code log what the agent actually wrote during a session anywhere? On macOS I've been looking in ~/Library/Application Support/Code/logs/ but not finding anything obviously useful.

If it's (b), what forensic artifacts would tell me a git amend + force push happened without me doing it?

Any pointers appreciated — still piecing this together before I write it up.

References

Community reviews

Loading reviews…