Skip to content

Kaspersky Plus flags Remote 0.2.51 dist/index.js as PDM:Trojan.Win32.Generic #729

Description

@moridai-99

Summary

Kaspersky Plus on Windows flags Desktop Commander Remote 0.2.51 as:

PDM:Trojan.Win32.Generic

The detection is reported by Kaspersky as behavior analysis, not as a static known-malware signature.

This report is intended to help diagnose a likely AV/EDR compatibility issue. I am not requesting instructions to bypass or disable security controls.

Related: #511 (Microsoft Defender remote-shell alert).

Environment

  • Windows
  • Node.js: 24.19.0
  • Kaspersky Plus: 21.26
  • Desktop Commander: @wonderwhy-er/desktop-commander@0.2.51
  • Launch method: npx.cmd @wonderwhy-er/desktop-commander@latest remote

Kaspersky detection

Kaspersky reported the object as:

  • Detection: PDM:Trojan.Win32.Generic
  • Category: Trojan
  • Severity: High
  • Detection method: Behavior analysis
  • Object: dist/index.js
  • Process: node.exe

The detected file was under the normal npx cache path for:

node_modules/@wonderwhy-er/desktop-commander/dist/index.js

Kaspersky terminated the process, created a backup, then deleted the object.

Package integrity check

A fresh package was obtained without executing package scripts:

npm.cmd pack @wonderwhy-er/desktop-commander@0.2.51 --ignore-scripts

The tarball printed by npm had SHA-1:

fca73b7d88d0b8c9b9426b37af8584f74494e6f5

Locally re-checking that tarball produced the same SHA-1.

The package/dist/index.js inside that tarball has:

  • MD5: 09354a2d602ff53ca237ec4e47747283
  • SHA-256: a4145198dc75cd34e7c7452c2054b4cc0d29e199ae1459961a17e4da25a13500
  • Size: 6883 bytes

Kaspersky's detection report recorded the same MD5:

09354A2D602FF53CA237EC4E47747283

So the detected dist/index.js matches the freshly downloaded npm package content by MD5.

Repository cross-check

The repository tag v0.2.51 points to commit:

092ce0b841e86455f12e41f4dc36399a7522ecb5

and its package.json identifies:

  • package: @wonderwhy-er/desktop-commander
  • version: 0.2.51
  • CLI entry: dist/index.js

Questions for maintainers

  1. Have you seen Kaspersky PDM:Trojan.Win32.Generic or similar behavior detections for Remote mode?
  2. Is 0.2.51 expected to trigger AV/EDR behavior monitoring because Remote mode starts/relays local processes?
  3. Is there a signed/recommended Windows distribution or install method that reduces false positives?
  4. Would you recommend submitting the exact file/hash above to Kaspersky as a false-positive candidate?
  5. Are there any additional integrity checks you recommend before resuming use?

Until this is clarified, the detected file is not being allowlisted or excluded from Kaspersky scanning.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions