Skip to content

Install script blocked by Bitdefender, flagged malicious #347

Open
@SamKr

Description

@SamKr

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

When executing the installation cmd:

Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-aishell.ps1') }"

Bitdefenders triggers, giving the output:

PS C:\Users\xxxxxxxx> Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-aishell.ps1') }"
ParserError:
Line |
   1 |  Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-ai%20%E2%80%A6%3C/span%3E%3Cspan%20class="pl-s">     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | This script contains malicious content and has been blocked by your antivirus software.

According to Bitdefender, the script is malicious:

Image

Expected behavior

No antivirus should get triggered.

Actual behavior

Bitdefender triggers.

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

N.A.

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions