Kaspersky Antivirus deletes OpenCode during in-app update (suspected false positive) #7295

Open
opened 2026-02-16 18:06:44 -05:00 by yindo · 1 comment
Owner

Originally created by @koushikkundu081-lgtm on GitHub (Jan 23, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

While performing an in-app update using the OpenCode update notification,
Kaspersky Antivirus detects the update installation as malware once the update
is applied in place.

Kaspersky then deletes:

  • the update files
  • the existing installed OpenCode application

As a result, the application is completely removed from the system.

This appears to be a false positive triggered specifically during the update process.

Environment

  • OS: Windows (windows 11 pro 25 H2/ 26200.7623)
  • OpenCode version: Installed version 1.1.32 → Updated version 1.1.33 (via in-app update)
  • Update method: In-app update notification
  • Antivirus: Kaspersky Antivirus

Antivirus Detection

  • Antivirus: Kaspersky
  • Detection type: Malware / Heuristic (exact name available in AV report)
  • Action taken: Automatic deletion of update and existing installation

Evidence

  • Kaspersky event log (CSV available)
  • Issue reproducible only during in-place update
  • Normal execution without update does not trigger detection

Expected Behavior

In-app update should complete without triggering antivirus deletion
and without removing the existing installation.

Plugins

No response

OpenCode version

1.1.32

Steps to reproduce

No response

Screenshot and/or share link

av_report.csv

Operating System

windows 11 pro 25H2

Terminal

No response

Originally created by @koushikkundu081-lgtm on GitHub (Jan 23, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description While performing an in-app update using the OpenCode update notification, Kaspersky Antivirus detects the update installation as malware once the update is applied in place. Kaspersky then deletes: - the update files - the existing installed OpenCode application As a result, the application is completely removed from the system. This appears to be a false positive triggered specifically during the update process. ## Environment - OS: Windows (windows 11 pro 25 H2/ 26200.7623) - OpenCode version: Installed version 1.1.32 → Updated version 1.1.33 (via in-app update) - Update method: In-app update notification - Antivirus: Kaspersky Antivirus ## Antivirus Detection - Antivirus: Kaspersky - Detection type: Malware / Heuristic (exact name available in AV report) - Action taken: Automatic deletion of update and existing installation ## Evidence - Kaspersky event log (CSV available) - Issue reproducible only during in-place update - Normal execution without update does not trigger detection ## Expected Behavior In-app update should complete without triggering antivirus deletion and without removing the existing installation. ### Plugins _No response_ ### OpenCode version 1.1.32 ### Steps to reproduce _No response_ ### Screenshot and/or share link [av_report.csv](https://github.com/user-attachments/files/24815003/av_report.csv) ### Operating System windows 11 pro 25H2 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:06:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9937: OpenCode update triggers Kaspersky detection (PDM:Trojan.Win32.Generic / .nblk) and app is removed

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #9937: OpenCode update triggers Kaspersky detection (PDM:Trojan.Win32.Generic / .nblk) and app is removed Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7295