跳到正文
DEV Community· M.Likhit Naidu·· 3 小時前AI 評分29

OfferLens:偵測虛假招聘資訊的 AI 工具

Offer lens

AI 導讀

OfferLens 是一款 AI 虛假招聘偵測工具,可分析招聘資訊、招聘人員訊息、電郵及文件,評估風險並提供解釋和安全建議。工具結合微調的 DistilBERT、Google Safe Browsing 網址檢查及可疑字詞分析,按 ML 0.6、關鍵字 0.2、網址 0.2 的權重計算風險分數。分數只供輔助判斷,並非招聘人員涉詐的證明。

正文

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine

What I Built

OfferLens — Exposing the Ghost Behind Fake Job Offers 👻

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.

Demo

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

Code

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

View OfferLens on GitHub

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

How I Built It

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.

Why Does Open Innovation Matter?

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:

  • Transparency: Developers can examine and improve the detection pipeline.
  • Experimentation: Models, datasets, and scoring strategies can be evaluated and refined.
  • Accessibility: Students and independent developers can build practical AI security tools without depending entirely on expensive proprietary inference services.
  • Community-driven improvement: Contributions can help address false positives, improve detection coverage, and make the system more useful.

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 Spirit of It

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.

來源:DEV Community · dev.to