Link quality checker for comment/node bodies

Events happening in the community are now at Drupal community events on www.drupal.org.
greggles's picture

Someone asked me how they can prevent a malicious user from adding a comment or node with a link to malware. They are concerned that while the editorial staff is asleep someone will add a link with text like "install this software."

One solution I had was to use public black lists to identify links that point to malware.

  • Have an interface to select which content types should be checked and whether comments should be checked
  • in hook_node_insert/hook_comment_insert parse the content for links
  • Use Google Safe Browsing API and other similar blacklists to identify spam links.
  • Either reject, or mark as "not published" any content that fails the checks

I don't plan to work on this right now, but it seems like a fun idea.

Comments

Page Rank

X would have to be quite high.

Drave Robber's picture

Spammers are using Rapidshare, Megaupload... to store malware (Trojan-Dropper) (this is Dec 2010, not sure how much has changed since then)

Both Rapidshare and Megaupload have a PR of 6.

It could be part of the

greggles's picture

It could be part of the overall mix, though.

Is this sort of "quality

Garrett Albright's picture

Is this sort of "quality checking" part of what Mollom does?

If not, it should be.

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: