question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress detected as a Trojan

See original GitHub issue
  • Operating System: Windows 10 Pro 64bit OS Build 19299.309
  • Cypress Version: 2.1.0
  • Browser Version: Chrome 65
  • Kaspersky AV
  • Visual Studios 2017
  • Atom

Bug

Current behavior:

Cypress was/is detected as a Trojan virus.

Desired behavior:

Not detected as Trojan virus.

How to reproduce:

Simple log in test. Test fails at current because the CSS selector gets the area above/around the input area. Open Dev tools in the Cypress browser. Click the input area right click select inspect element. AV should detect a trojan virus

31.03.2018 11.09.03	
Detected object (process memory) deleted	
c:\users\kcarn\appdata\roaming\npm-cache\_npx\14776\node_modules\cypress\dist\cypress\cypress.exe	
Process memory: c:\users\kcarn\appdata\roaming\npm-cache\_npx\14776\node_modules\cypress\dist\cypress\cypress.exe	
Object name: PDM:Trojan.Win32.Generic	
Object type: Other malware	
Time: 3/31/2018 11:09 AM

8 other files were also detected as infected and deleted. My guess is that something in the files trips the AV because of how they function then the checksum or heuristics match a trojan so away it goes.

Test code:

describe('Login', function() {
  it('clicks the link "Log In"', function () {
    // https://localhost:44300/Account/Login/?ReturnUrl=%2F
    cy.visit('https://localhost:44300/Account/Login/?ReturnUrl=%2F')
    cy.get('.login-in.input')
    .type('user@user.com')
    .should('have.value', 'user@user.com')
    //cy.contains('Log In').click()
  })//closes it
})//closes describe

// selector from Chrome dev tools
//body > div.row > div > div > article > section.log-in-with-password > form > label:nth-child(3) > input[type="email"]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jennifer-shehanecommented, Apr 2, 2018

I would suggest adding Cypress to your list of trusted applications in Kaspersky AV. The very definition of a trojan is it being ‘non-legitimate / non-trusted software’ that you didn’t intend to download, which is not what Cypress is in your case.

Read how to set Cypress as trusted application

0reactions
nsmetana30Mcommented, Oct 7, 2021

Hi Jennifer, we’re having this same issue with our EDR platform. Do you happen to know what exclusion we should add in it for macOS to make sure devs aren’t been blocked? Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypress Stealer - Malware removal instructions (updated)
Information-stealing Trojans are designed to stealthily infiltrate the victim's computer and remain silent, and thus no particular symptoms are ...
Read more >
Remove Cypress Infostealer Trojan (Spyware.Cypress)
The Cypress trojan has a high detection rate – 44 out of 70 security engines detect it, according to VirusTotal. Shortly said, the...
Read more >
Error Messages | Cypress Documentation
Cypress detected that an uncaught error was thrown from a cross-origin script. Browser Errors; The browser process running your tests just exited unexpectedly ......
Read more >
A website is completely or partially blocked by a Kaspersky ...
Kaspersky Internet Security; Kaspersky Anti-Virus; Kaspersky Total Security; Kaspersky Small Office Security. Issue. When trying to open a ...
Read more >
7 Types of Malware Attacks and How to Prevent Them
Spyware, adware, trojans, virus, and others - learn more about the common ... More anti-virus systems are using heuristics to try to detect...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found