Questions tagged [false-positive]

False positive is the case where the positive result of a test doesn't correspond to reality. It can lead to the wrong decision.

236 questions
2
votes
5 answers

Gmail/Hotmail Flag email as spam

I have a simple .NET app that is sending out email using SMTPClient. I am sending from an authenticated account on the local server with an SPF record, and the host (gogrid) is unsure what else they can do to solve the problem. Any email from my…
Scott Klarenbach
  • 37,171
  • 15
  • 62
  • 91
2
votes
2 answers

Excel 2010 - Disable button

I got 3 different form buttons on my spreadsheet. I want to disable 2 of them while one is pressed. Is that possible? In C# the button can be true or false, but I can't find any examples of this in VBA Excel 2010? Thanks in advance
Kano
  • 1,433
  • 2
  • 12
  • 18
2
votes
2 answers

getTag() returning a false string

I've set a tag on an imageview to be "blank", so it looks like this in the xml file android:tag="blank" Now when I run this ((String) buttons[button-2].getTag() == "blank" It returns false. I can't find why, any ideas? Any help greatly…
Ben
  • 319
  • 2
  • 5
  • 7
2
votes
0 answers

Avoiding antivirus false-positive detection upon a new release

We have released a new application recently and every few days we're releasing a new version with some bug fixes. Do we need to submit all antivirus makers a white-listing request of our new binary every time we release an updated version? We are…
kambi
  • 3,291
  • 10
  • 37
  • 58
1
vote
1 answer

Google Chrome believes 7-zip sfx archive is a virus

I usually deliver a SDK I'm working on as a 7-zip self extracting archive (.exe). The problem is that when I put this on a HTTP server and try to download it with google chrome, the browser believes it is a virus and wants to delete it (I don't have…
Mikarnage
  • 893
  • 1
  • 9
  • 24
1
vote
3 answers

Pylint error in Python

I'm getting many pylint false positive and it seems so ordinary that I cannot imagine it hasn't been solved yet :-/ The following code generates a false positive in pylint since it does not recognise keyword arguments correctly: class A: def…
Gere
  • 12,075
  • 18
  • 62
  • 94
1
vote
3 answers

Java: Use Math.abs and keep a count of how often it was used for later use

I'm trying to write a program that modifies fractions and I need to make sure that the "-" negative is properly outputted only once. If the user inputs a numerator and a denominator and puts them both in as a negative I cannot show -1/-2. Same…
INGUES
  • 25
  • 1
  • 5
1
vote
0 answers

Sentry tries to unminify code that isn't minified and shows an Invalid Absolute Path URL error

I'm trying to work on a new nodejs project and want to use Sentry for error logging. I use a self hosted Sentry installation on the latest version and the official @sentry/node npm module. While trying to implement Sentry by using the example code…
Slice
  • 11
  • 1
1
vote
0 answers

Black Duck scanner flags non-existent jQuery 2.0.0 library

I scanned old .Net 4.7.2 web application with Synopsys Black Duck scanner. It found high Security Risk in the library jQuery 2.0.0 However, this version of jQuery library do not exist in this project, it was upgraded to the jQuery 3.6.1. If I click…
1
vote
0 answers

Cypress-cucumber-preprocessor missing steps in execution

When I execute the tests many steps of the scenario are missing and it the tests "pass", although these steps were never executed, they are not displayed in test runner. It is a sporadic issue, but decreases the reliability of the tests, since these…
1
vote
1 answer

How to JavaDoc a record without warnings from -Xdoclint?

I have been trying to familiarize myself with records, but I ran into something that really looks like a bug in Java's tool for linting JavaDoc -Xdoclint. I tried to use this command... javac -Xdoclint:all …
davidalayachew
  • 1,279
  • 1
  • 11
  • 22
1
vote
1 answer

False positive rate (FPR) with NumPy

I have to calculate the false positive rate for multiclass classification using only numpy methods. I have two numpy arrays, one for the predictions ((m, k) shape: m is the count of sample elements and k is the count of categories) and another for…
1
vote
1 answer

StrComp returns false when two strings are different using VBA

I'm trying to compare two string values in VBA but I've found a weird quirk of VBA ( or it seems so ). See Below: If I do the following: Debug.Print("Same" & StrComp(Me.txtFirstName.Value, Me.txtFirstName.Value,…
JamieRhys
  • 206
  • 6
  • 24
1
vote
1 answer

Correct syntax for modsecurity rules for Wordpress / Elementor false positives

I'm getting tripped by my WHM ModSecurity using OWASP3 rules. I'd like to create a custom rule to the Rules List in Home>Security Center > ModSecurity Tools>Rules List following these exclusions:
Nfable
  • 33
  • 7
1
vote
1 answer

Display inverted ROC Curve

my anomaly detection algorithm gave me an array of predictions where all the values greater than 0 should be of the positive class (= 0) and all the other should be classified as anomalies (= 1). I built my classifier as well: (I have three…