Skip to content

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

Closed

Description

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

Activity

  1. ghost added
    bugSomething isn't working
    on Jan 23, 2026
  2. github-actions commented on Jan 23, 2026

    @github-actions
    Contributor

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

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

  3. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  4. Hona commented on Mar 29, 2026

    @Hona
    Member

    As of OpenCode v1.3.4 across the CLI + Desktop apps, we have full code signing - so there should be no more warnings.

    Please let me know otherwise

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions