SIH1775 · AI / Security
SocialGuard
Spotting the accounts that aren't who they say they are.
- Type
- SIH1775 · AI / Security
- Role
- [Add role]
- Year
- 2025
- Status
- Prototype
(01)What it is
SIH1775 asks for a way to detect fake social media accounts. SocialGuard is the prototype answer: paste a post and it tells you whether it reads Genuine, Bot or Suspicious — and, more usefully, why. An analyst's dashboard sits around it.
- Built at
- Smart India Hackathon · SIH1775 · set by ITBP
- First commit
- Sept 2025
- File
- 05 of 18 project pages
(02)How it works
- 01→PostPaste the text
- 02→SignalsURLs, repetition, spam words, punctuation
- 03→ScoreWeighted into one number
- 04→LabelGenuine · Bot · Suspicious — with reasons
- 05■ModelOptional ML second opinion
(03)What's inside
- 01
Explainable first
The rule-based scorer counts links, repeated words, spammy keywords and excess punctuation, and returns its reasons with the label. A flag you can argue with beats a black box.
- 02
A model, trained on the spot
A TF-IDF vectoriser and a logistic-regression classifier can be trained from the app's own data, then run side by side with the rules.
- 03
An analyst's dashboard
Risk distribution, flagged accounts over time, recent alerts, per-account breakdowns and a downloadable report — built in Streamlit with Plotly charts.
(04)The honest bit
- It runs on sample data — the dashboard describes a CSV, not the internet.
- A prototype for the problem statement, not a deployed detection system.
No fake users, no invented numbers. If it's a demo, it says so.
(05)Built with
- App
- Python/Streamlit
- Data & charts
- pandas/Plotly
- Model
- scikit-learn/TF-IDF/Logistic regression
(06)Signature
- @account_01GenuineEnjoying the sunshine today with friends.Why: no signals
- @account_02SuspiciousWIN a FREE prize!!! click → linkWhy: 1 URL · spam words · punctuation
- @account_03Botfollow follow follow for follow backWhy: repetitive text
- @account_04GenuineNotes from today's workshop, thread below.Why: no signals
Rules first · model secondSIH1775
An illustration of how SocialGuard works — drawn from its code, not a screenshot.
(07)Links
- Live[No live demo yet]
- CodeView the code ↗