49

A link in an answer directs to a web site that tries to take over the computer. How should I report this to Stack Overflow so that it will remove the link?

The answer in the "Code Example" link: Is it possible to make a grayscale BMP file?

At the time the link was posted, it was to a genuine website with no malware.

8
  • 42
    My sincerest apologies to whoever was affected.
    – MPelletier
    Commented Oct 22, 2020 at 18:59
  • 9
    Can someone provide details about this link/malware so we can be more careful in the future ? Thanks
    – Berthim
    Commented Oct 23, 2020 at 14:58
  • 1
    @Berthim Since the answer is now deleted, here's the archive link. You can use that to determine the current link.
    – wjandrea
    Commented Oct 24, 2020 at 3:28
  • 1
    @MPelletier talking in "SO metrics" it's 3000 people were affected
    – user555121
    Commented Oct 24, 2020 at 14:00
  • 2
    @Kos MPelletier was not to know that the website would be taken over by malware ten years after the link was given. Commented Oct 24, 2020 at 18:27
  • 4
    @Kos Also, it is likely be that most of the 3000 views didn't involve clicking on the link, and, of those, many may have done so before the site became malware. Commented Oct 24, 2020 at 18:48
  • @Kos You gotta account for: visits since the edit (and from this post), visits since the deletion, visits before the site went bad. And out of the visits that were during the time of the compromised link, how many people actually clicked that link (we know of one). There are many unknowns.
    – MPelletier
    Commented Oct 26, 2020 at 13:47
  • @MPelletier sure, we talking about unknowns when something bad happened, but we definitely don't do this to celebrate how helpful SO is, for example: meta.stackoverflow.com/questions/401930/…
    – user555121
    Commented Oct 26, 2020 at 14:27

1 Answer 1

52

If the answer consists of nothing more than a spam link and appears to be a blatant attempt to spam the site, then flag the entire answer for moderator intervention. If the problems are obvious, then just use the provided "spam" flag option. Otherwise, you can use the "in need of moderator intervention" option, which allows you to type a more detailed explanation to the moderator who will review your flag.

However, if the answer contains any content of value aside from the spam link, then you should not flag it as spam. You should instead act to fix the specific problem, without losing any valuable portions of the answer.

In this case, the answer was posted by an established user as part of an otherwise valid answer, and looking at it on the Wayback Machine you can see that it was a legitimate link at the time it was posted, so you can simply edit it (or suggest an edit, if you don't have enough reputation) to replace the link with the archived version. I've already done so in this case.

This type of salvage/cleanup work does not require moderator intervention, and thus should not be flagged for moderator attention.

In the case of a flag or suggested edit (or simply being in too big of a hurry), you may also want to leave a comment warning people not to click the link until your flag/edit is processed.

22
  • 4
    Thanks for editing that answer. I guess I'll copy the code from the archived link and give credit to the archive... Man, what a shame that site has gone rogue...
    – MPelletier
    Commented Oct 22, 2020 at 18:58
  • 1
    @MPelletier Unfortunately, it happens from times to times but too regularly anyway...
    – Pac0
    Commented Oct 22, 2020 at 20:55
  • 14
    Even with the link valid, it's still a link-only answer. Downvote, vote-to-delete, move on. Commented Oct 23, 2020 at 6:00
  • 5
    @JörgWMittag even if its just a link its still an answer. Copy in the summary of link content, update the link and move on.
    – Zan Lynx
    Commented Oct 23, 2020 at 8:04
  • 13
    This is just yet another reason why we shouldn't allow link-only answers. If this one isn't a link-only answer then I don't know what is. Stop putting lipstick on a pig and delete it.
    – Lundin
    Commented Oct 23, 2020 at 8:39
  • 9
    @Lundin The Question basically is "Is it possible to make a grayscale BMP file?", and this Answers say "Yes. If the colours are indexed, then you can set it to just the colours you want.". How is that not an Answer?
    – Scratte
    Commented Oct 23, 2020 at 9:31
  • 1
    @Scratte No, the question is fine, it provides a reasonable amount of detail in addition to the title. It can be explained by addressing the various possible color formats of .bmp, some pseudo code if needed etc. The link-only answers are just being lazy.
    – Lundin
    Commented Oct 23, 2020 at 10:14
  • 13
    @Lundin You keep calling this a link-only Answer. But it's not! There's a sentence there before the link that clearly answers the Question. Ask yourself this: If the link is removed, is there an answer there? Or an attempt of an answer? Or a wrong answer? Or a short answer? You may not agree with or find it useful, but it's clearly there.
    – Scratte
    Commented Oct 23, 2020 at 10:22
  • 7
    @Scratte If the link is removed, the answer is 100% useless. The purpose of this site is not to be an archive of completely useless data that "is still an answer", in order to keep some policy lawyers on meta.so happy. The purpose of this site is to provide quality Q&A for the benefit of programmers.
    – Lundin
    Commented Oct 23, 2020 at 10:29
  • 2
    Anyway, this debate of "we must hug crap" vs "we must delete crap" has been raging on meta for as long as I can remember. Users are in either camp, we won't settle it here. Use your votes and user moderator privileges as you see fit. I voted to delete it.
    – Lundin
    Commented Oct 23, 2020 at 10:31
  • 7
    @Lundin That is interesting, because I found it useful :) But now.. I find Stack Overflow a little less useful. So while you think you're cleaning up, I see a post that did no harm being removed along with the information it provided me.
    – Scratte
    Commented Oct 23, 2020 at 10:32
  • 1
    @Clockwork Not necessarily. Describing the bitmap format or a (pseudo code) algorithm for color format conversions would be good answers too.
    – Lundin
    Commented Oct 23, 2020 at 13:10
  • 3
    More than once during browsing I've been very happy I use Linux as a main OS after stumbling on a "unpleasant" page unexpectedly, these days I treat unknown sites with a lot of suspicion, but SO tends to attract a higher caliber of users and content so I'm a bit more trusting. If we don't trash evil links that reputation will erode.
    – jrh
    Commented Oct 23, 2020 at 17:42
  • 2
    @jrh From what little I gathered, initial poster intended for the link to point toward some source code. But then, several years later, the website went wrong, so it became a malware nest. Basically another reason to copying the website's content into the answer.
    – Clockwork
    Commented Oct 23, 2020 at 19:44
  • 1
    @Clockwork yeah, it's surprisingly not that uncommon. I usually find malware links in blogs though (companies that went out of business, or individual blogs that got shut down, etc.). Copying the content into an answer is great but having references is always nice, even if it means more maintenance.
    – jrh
    Commented Oct 23, 2020 at 20:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .