DEV Community

Cover image for Rules Score the Offer, Hindsight Remembers the Sender
navya_19
navya_19

Posted on

Rules Score the Offer, Hindsight Remembers the Sender

InternShield: An AI-Powered Safety Layer for Detecting Suspicious Internship Offers
Introduction

For many college students, an internship offer can look like an exciting opportunity. A professional-looking message, attractive salary, urgent deadline, and promises of guaranteed placement can make an offer appear legitimate.

However, fraudulent internship offers often use exactly these techniques to convince students to share personal information or make payments.

InternShield is a student-focused internship scam checker designed to identify common warning signs in internship offers. Instead of asking students to manually evaluate every message, InternShield analyzes the text of an offer and highlights suspicious patterns such as registration fees, payment requests, urgent pressure, requests for OTP or bank information, guaranteed jobs, and unusually high salary promises.

The system combines rule-based risk detection, a Streamlit interface, and Hindsight agent memory to create a simple safety layer for students.

The Problem

Internship scams can be difficult to identify because fraudulent messages are often designed to look professional.

For example, consider this message:

“Congratulations! You have been selected for an internship. Pay a registration fee of ₹2,000 today to confirm your position. You are guaranteed a job with a salary of ₹50,000 per month.”

A student may focus on the opportunity and salary without noticing several warning signs.

The message contains:

A registration fee
A payment request
Urgent pressure
A guaranteed job promise
An unusually high salary claim

InternShield converts these textual warning signs into a simple risk assessment that students can understand.

How InternShield Works

The system follows a straightforward workflow:

Internship Offer → Text Analysis → Red-Flag Detection → Risk Score → Safety Advice → Memory

The user first pastes an internship offer into the application.

InternShield then searches the text for predefined warning patterns.

Some of the patterns include:

keywords = {
"Registration fee": [
"registration fee",
"joining fee",
"processing fee"
],

"Payment requested": [
    "pay",
    "payment",
    "deposit",
    "fee"
],

"Urgent pressure": [
    "urgent",
    "immediately",
    "limited time",
    "today"
],

"Personal information": [
    "otp",
    "password",
    "bank details",
    "upi"
]
Enter fullscreen mode Exit fullscreen mode

}

Each detected category becomes a red flag.

The system then converts the number of detected red flags into a risk level.

For example:

0 red flags → LOW
1 red flag → LOW-MEDIUM
2–3 red flags → MEDIUM
4 or more red flags → HIGH

This gives students a quick way to understand the seriousness of an offer without requiring technical knowledge.

Risk Analysis

InternShield provides both a numerical score and a human-readable risk level.

For example, an offer containing four major warning signs can produce:

Risk Score: 90/100

Risk Level: HIGH

The application also displays the specific reasons behind the result.

Instead of simply telling a student:

“This offer is dangerous.”

InternShield explains:

Registration fee detected
Payment request detected
Urgent pressure detected
Guaranteed job detected

This makes the result more transparent and easier to understand.

Hindsight Agent Memory

A major part of InternShield is its integration with Hindsight, an agent-memory system.

The purpose of memory is to allow the application to retain information about previously analyzed internship offers and retrieve related information later.

Conceptually, the workflow becomes:

New Internship Offer
↓
Risk Analysis
↓
Store Analysis
↓
Hindsight Memory
↓
Future Related Offer
↓
Recall Previous Information

This can help move the application beyond a simple one-time text checker.

For example, if similar scam patterns have been analyzed previously, the system can use stored information as additional context when evaluating a future offer.

This is particularly useful for recurring scam patterns where different messages may use different company names but similar wording and payment requests.

Student Safety Guidance

After analyzing an offer, InternShield provides practical safety advice.

The application reminds students to:

Never pay money to obtain an internship.
Never share OTPs or passwords.
Verify the company's official website and email.
Check the organization through trusted sources.
Avoid sharing bank or UPI information with unknown recruiters.

The goal is not to replace independent verification. Instead, InternShield acts as an additional warning layer before a student takes an important action.

Scam Reporting Support

InternShield also includes a Report a Suspected Scam section.

Students can enter:

Company or organization name
Recruiter contact
Money requested
Details of what happened

The application generates a structured report summary that can help the student organize the incident and preserve important evidence.

It also provides access to India's official National Cyber Crime Reporting Portal for reporting suspected online fraud.

This creates a simple flow:

Detect → Understand → Document → Report
Before and After Example
Before InternShield

A student receives:

“Congratulations! You are selected. Pay ₹2,000 today and receive a guaranteed ₹50,000/month job after completing the internship.”

The student may only see the attractive salary and selection message.

After InternShield

The same message is analyzed and produces:

HIGH RISK — 90/100

Detected warning signs:

🚩 Registration fee
🚩 Payment requested
🚩 Urgent pressure
🚩 Guaranteed job

The student now has a clearer reason to stop and verify the offer before making a payment or sharing personal information.

Technology Stack

InternShield was built using a lightweight technology stack:

Python — application logic
Streamlit — interactive web interface
Hindsight — agent memory
Groq — language-model provider
Git/GitHub — source-code management

The interface is designed so that a student does not need programming knowledge to use the system.

Why This Approach?

A purely AI-generated answer may not always explain exactly why an internship appears suspicious.

InternShield therefore combines deterministic checks with an AI-memory layer.

The rule-based component provides transparent warning signs, while Hindsight provides the possibility of retaining and recalling previous analysis.

This combination makes the system easier to understand and gives the student concrete evidence instead of only a generic AI response.

Limitations

InternShield is a student safety tool, not a final authority on whether an internship is legitimate.

A legitimate company could use wording that triggers a warning, while a sophisticated scam could avoid obvious keywords.

Therefore, students should independently verify:

Company identity
Official website
Recruiter email
Company presence
Internship terms
Payment requests
Contact information

The system should be treated as an early-warning mechanism rather than a replacement for human judgment.

Future Improvements

Several improvements can make InternShield more capable over time.

Future versions could include:

Student-specific memory for personalized scam history.
Trending scam pattern detection to identify frequently occurring techniques.
Telugu and Hindi explanations for wider accessibility.
Shareable risk cards that students can send to friends.
Improved company verification using trusted external sources.
More advanced memory-based similarity detection for previously observed scam patterns.

These improvements would allow InternShield to evolve from a basic text checker into a broader student-safety assistant.

Conclusion

Internship scams can exploit students' excitement about career opportunities. A simple message containing an attractive salary, urgent deadline, or registration fee can potentially lead to financial loss or exposure of personal information.

InternShield provides a simple first layer of protection by analyzing internship offers, identifying common warning signs, explaining the detected risks, remembering previous analyses through Hindsight, and helping students prepare scam reports.

The central idea is simple:

Before trusting an internship offer, check it.

InternShield aims to make that first check faster, clearer, and easier for students.




Top comments (0)