Manuscript Offprint

arXiv:2611.01813

Reddit Community Signals as a Supplementary Domain-Reputation Feature in Spam Classification: A Conservative Controlled Evaluation

Fatima Salcedo, Jide Edu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Email spam and phishing remain persistent threats, and purely algorithmic classifiers may struggle with unfamiliar senders, evolving message content, and cold-start domains. This study evaluates whether Reddit-derived community signals can serve as a supplementary domain-reputation feature in email spam classification. We use a preprocessed SpamAssassin-derived corpus of 5,582 emails and compare three feature configurations: (1) a baseline using TF-IDF and structural features; (2) a traditional-enhanced configuration adding urgency and action scores; and (3) a Reddit-enhanced configuration adding a binary discussion-presence indicator, a keyword-based Reddit score, and an urgency-Reddit interaction term. We train Logistic Regression, Random Forest, and Support Vector Machine models. In the preliminary single-split evaluation, the Random Forest model with Reddit-enhanced features achieves 97.94% accuracy, a 0.55 percentage-point improvement over the baseline, although the improvement is not statistically significant in the primary test split. Logistic Regression performance declines when additional features are introduced, and the SVM performs poorly and is treated as a negative control. Reddit signals appear most informative for rare domains, but approximately 70% of emails receive no Reddit-derived signal. Because the Reddit data are temporally later than the email corpus, we do not interpret the results as evidence of real-time detection. Instead, the study provides a conservative evaluation of community-derived signals as a supplementary, asynchronous domain-reputation feature and identifies the additional validation required before production deployment, including domain-grouped validation, temporally aligned contemporary data, and adversarial robustness testing.

Keywords: spam detection, email security, domain reputation, community intelligence, Reddit, threat intelligence, feature engineering, machine learning validation, temporal validity, auxiliary filtering

1 Introduction

Email spam and phishing continue to pose significant cybersecurity risks [1]. Despite decades of improvement in filtering technology, attackers regularly adapt their messages to evade purely algorithmic defenses. Modern phishing emails often imitate legitimate organizational communication, use grammatically correct language, and incorporate credible branding, making content-only classification increasingly difficult [2, 3]. Empirical field studies also indicate that a non-trivial proportion of users remain susceptible to phishing, suggesting that existing filters do not eliminate user-facing risk [4]. This persistence suggests that spam detection systems may benefit from signals that go beyond the text of the email itself.

One promising source of supplementary information is online community discussion. Platforms such as Reddit host user-generated discussions about suspicious domains, scams, phishing attempts, and malicious senders [5, 6]. In security-focused communities, users often report newly observed threats, share experiences with suspicious links, and collectively assess whether a domain or sender appears malicious [7]. Because such discussions can arise before formal reputation systems accumulate sufficient historical data, they may be particularly useful for unfamiliar or low-trust domains.

Reddit offers a unique opportunity for threat intelligence due to its structural characteristics, particularly its upvote/downvote mechanism, which serves as a natural filtering system that highlights the most relevant and accurate information through community consensus. In addition, specialized subreddits (e.g., r/Scams, r/phishing) serve as repositories of collective knowledge about malicious actors. Furthermore, the temporal persistence of discussions allows domains active years ago to leave traces in community memory, providing historical context that traditional reputation systems might miss.

However, community signals are not a panacea. Reddit is not a bot-free environment, and community discussions can be manipulated through astroturfing, coordinated voting, disinformation campaigns, or bad-faith participation [5, 7]. In addition, community attention is sparse: many domains are never discussed, and domains that are discussed may be discussed for reasons unrelated to email spam, such as technical support, product complaints, or general security news. Finally, the temporal alignment between email messages and community discussions is critical. Using current Reddit discussions to classify historical emails is only appropriate if the study is framed as an offline evaluation of domain-level reputation features, not as evidence that the system would have operated in real time.

This paper addresses the following question:

Do Reddit-derived, domain-level community signals improve spam classification when treated as a supplementary domain-reputation feature, and under what conditions is their benefit most plausible?

The theoretical motivation draws on two bodies of work. First, the wisdom-of-crowds literature suggests that aggregated group judgments can be reliable under conditions of diversity, independence, decentralization, and appropriate aggregation [8]. Second, ensemble learning research suggests that combining diverse signals or learners can improve robustness relative to single-feature or single-model systems [9]. We use these ideas as motivation, but we do not treat them as proof that Reddit-derived signals are automatically valid.

To assess the contribution of Reddit community-derived signals, we implement a three-stage feature-ablation design. The baseline configuration uses TF-IDF representations of email subject and body text together with structural features such as URL count and message length. The traditional-enhanced configuration adds urgency and action scores that quantify linguistic indicators commonly associated with social-engineering emails. The Reddit-enhanced configuration adds three community-derived features: a binary indicator of whether the sender domain has associated Reddit discussion, a continuous Reddit score derived from weighted keyword analysis of domain-specific discussions, and an interaction term between urgency and Reddit score. We employ three complementary machine learning models: Logistic Regression (for interpretability), Random Forest (for capturing feature interactions), and Support Vector Machines (SVM) (for geometric validation). The models were selected for their ability to handle the dual imbalance challenges in the data (30-70 spam-ham distribution) and the variability of Reddit discussions. This multi-model approach ensures reliable conclusions about the value of community intelligence, irrespective of algorithmic choice.

The primary contributions of this work are as follows:

  1. Theoretical Integration: We bridge the disciplinary gap between human-computer interaction and machine learning in cybersecurity, demonstrating how community-sourced intelligence can augment and refine algorithmic detection approaches.

  2. Practical Framework: We establish a reproducible framework for extracting and integrating Reddit-based social signals into existing spam detection pipelines, enabling empirical validation of crowd-derived threat data.

  3. Societal Implication: We underscore the critical role of human collective intelligence in an era of automation, positing that online communities serve as essential defensive layers against threats emerging from AI-driven digital transformation.

  4. Practical deployment guidance. We argue that the most defensible role for Reddit-derived intelligence is not as a primary real-time filter, but as an asynchronous, cached domain-reputation layer targeted primarily at unfamiliar or high-risk senders.

References (26)

  • Cybercrime: A new challenge of criminality in the digital age, vol. 11, pp. 115–121
  • Spam and the ongoing battle for the inbox
  • Intriguing properties of neural networks
  • A meta-analysis of field experiments on phishing susceptibility
  • An agent-based model of reddit interactions and moderation
  • Identifying and understanding user reactions to deceptive and trusted social news sources
  • The Wisdom of Crowds: Why the Many Are Smarter than the Few and How Collective Wisdom Shapes Business, Economies, Societies, and Nations, 1st edn
  • Ensemble methods in machine learning
  • Spam filtering with naive bayes - which naive bayes? In CEAS
  • Tackling the poor assumptions of naive bayes text classifiers
  • Introduction to machine learning: k-nearest neighbors
  • Overfitting in machine learning: A comparative analysis of decision trees and random forests
  • Random forests
  • Machine learning based spam e-mail detection using logistic regression algorithm
  • Advanced Research Computing Statistical Methods and Data Analytics
  • Learning with kernels: support vector machines, regularization, optimization, and beyond, p
  • Support vector machines
  • A study of social engineering in online frauds
  • An empirical study of spam traffic and the use of dns black lists
  • Synergies of different reputation systems: Challenges and opportunities
  • Revisiting email spoofing attacks
  • A review of time-series analysis for cyber security analytics: from intrusion detection to attack prediction: M. landauer et al. International Journal of Information Security 24(1), 3
  • Kaggle Phishing Email Dataset
  • PRAW: Python Reddit API Wrapper Documentation
  • Effective use of the mcnemar test
  • Passive data collection on reddit: a practical approach