Repository navigation
Repeated Kaspersky heuristic detection while updating Free Claude Code v6.19.47 #2525
Closed
Jorge-Braga
started this conversation in
General
Replies: 1 comment
|
It is a false positive, but I am pushing an update to the installer to avoid that |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
First of all, thank you for maintaining Free Claude Code. I've been using FCC successfully and wanted to share an issue I encountered while trying to update from v6.18.11 to v6.19.47.
During the update process, Kaspersky repeatedly blocked the installation and flagged a temporary PowerShell script as:
Plain Text
PDM:Trojan.Win32.Generic
Detection details:
Plain Text
Threat: PDM:Trojan.Win32.Generic
Path:
C:\Users\jlsbr\AppData\Local\Temp
File:
fcc-install-59af69ca358945da993740a8f54958ce.ps1
What caught my attention is that the original FCC installation completed successfully in the past without triggering any antivirus alerts. The issue only appeared during the update process to v6.19.47.
After investigating, I found that the update stops during the Pi installation stage:
Plain Text
[4/19] Checking or installing Pi
At this point FCC downloads and executes:
Plain Text
https://pi.dev/install.ps1
through a temporary script such as:
Plain Text
fcc-install-xxxxxxxx.ps1
using:
PowerShell
powershell.exe -NoProfile -ExecutionPolicy Bypass -File ...
I manually inspected the downloaded script. It was not empty, appeared to be the Pi installer, and Pi ultimately installed successfully:
Plain Text
pi --version
1.6.0
I also performed a code review of the installer flow and found no obvious signs of malware, credential theft, persistence mechanisms, or data exfiltration. However, the update process does include:
Downloading remote PowerShell scripts
Executing downloaded scripts immediately
Using ExecutionPolicy Bypass
Installing additional components automatically
My guess is that these behaviors are triggering Kaspersky's heuristic detection.
One thing that surprised me is that v6.19.47 appears to be a relatively small patch (session/environment variable handling), yet the update still triggers a full bootstrap flow that downloads and runs external installers.
Could you clarify whether this behavior is expected?
In particular:
Is Pi always reinstalled or rechecked during updates?
Is there an incremental update path that avoids re-running external installers?
Are downloaded scripts validated (hash/signature) before execution?
Have other users reported similar antivirus detections during updates?
I'm not claiming the software is malicious. I simply wanted to provide a detailed report because the detection is reproducible and may affect user trust and antivirus compatibility.
Thanks for your work and for taking a look.
All reactions