# Offer lens

> Source: <https://dev.to/likhitnaidu/offer-lens-2j45>
> Published: 2026-10-27 18:08:47+00:00

*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26)*

Job scams have evolved. They no longer look like obvious spam messages filled with spelling mistakes. They can look like legitimate internship offers, professional recruiter messages, or exciting opportunities from companies that may not even exist.

For students and early-career developers, one convincing message can be enough to lose money, expose personal information, or fall into a recruitment scam.

**OfferLens is an AI-powered job scam detection tool designed to expose the red flags hidden inside seemingly legitimate job offers.**

Users can submit job descriptions, recruiter messages, emails, or documents for analysis. OfferLens examines suspicious language, contextual patterns, and potentially dangerous URLs to produce a risk score and actionable recommendations.

The goal is not just to label a message as suspicious. It is to help users understand *why* it might be dangerous and what they should do next.

The connection to **Ghost in the Machine** is simple: sometimes, the most dangerous thing is not what a message says on the surface, but what hides beneath it.

OfferLens attempts to make those invisible warning signs visible.

Try analyzing a suspicious-looking internship offer and examine the signals behind its risk assessment.

Explore the source code, inspect the implementation, and contribute to the project:

The project brings together machine learning, URL safety checks, and explainable risk scoring to tackle a real-world problem affecting job seekers.

OfferLens combines multiple detection signals rather than relying on a single keyword filter.

The system is designed around three main components:

**1. Machine Learning Detection**

A fine-tuned DistilBERT model analyzes the contextual meaning of job-related messages to identify patterns associated with fraudulent offers.

This matters because suspicious messages can be professionally written. Contextual classification can detect patterns that basic keyword matching might miss.

**2. URL Safety Detection**

Extracted URLs can be checked using Google Safe Browsing to identify known unsafe destinations. This adds another layer of scrutiny when a recruiter message directs someone to an unfamiliar website.

**3. Suspicious Keyword Analysis**

The system examines indicators such as requests for upfront payments, unrealistic compensation, artificial urgency, and attempts to move conversations to unverified channels.

These signals contribute to a combined risk score:

`Risk Score = 0.6 × ML + 0.2 × Keywords + 0.2 × URL`

The components are weighted to combine contextual machine learning with explicit warning signs and URL safety information.

OfferLens can then present a risk assessment alongside explanations, safety recommendations, a checklist, and a suggested safe reply.

The application uses a React-based frontend and a FastAPI backend for machine learning inference, with Python handling the detection logic.

Importantly, a risk score is a decision-support signal, not proof that a recruiter is fraudulent. Users should still verify employers and job offers independently.

AI-powered security tools should not be black boxes that demand blind trust.

Open innovation makes it possible for developers to inspect the detection logic, understand how different signals contribute to a result, improve the implementation, and experiment with better approaches.

Using an open-weight machine learning model also provides greater control over model deployment and fine-tuning than relying entirely on a closed, hosted AI API.

For a project like OfferLens, that flexibility matters:

Open source does not automatically make an AI system accurate or secure. It makes independent inspection and improvement possible.

That distinction matters when building tools intended to protect people.

The most unsettling scams are not necessarily the ones that look suspicious.

They are the ones that look like the opportunity you have been waiting for.

For a student looking for an internship, a message promising a great role can feel like a breakthrough. A request for a small registration fee might seem harmless. A link to an unfamiliar website might look like just another step in the hiring process.

That is where the real problem begins: when the warning signs are present, but the opportunity looks too good to question.

OfferLens is my attempt to bring those hidden signals to the surface before someone makes a costly mistake.

**Sometimes, the ghost in the machine is the risk we cannot see until it is too late.**

Built by [@geekyNads](https://github.com/geekyNads).
