SENTINEL is an AI-driven security engine designed for the GUVI Hackathon. It intercepts fraudulent messages, engages scammers, and reports intelligence server-to-server.
The evaluation platform pings your API directly. Browser-only solutions will fail because of CORS and the need for persistent session tracking.
- Initialize project:
npm init -y
- Set
"type": "module"in yourpackage.json. - Install required dependencies:
npm install express cors body-parser @google/genai dotenv
- Configure environment: Create a
.envfile or export variables:API_KEY=your_gemini_api_key X_API_KEY=GUVI_SECRET_2025 # Key used by GUVI evaluator to ping you - Launch:
node server.js
Use a tool like ngrok to provide a public endpoint to the GUVI platform:
ngrok http 3000Submit this URL to GUVI: https://<your-ngrok-id>.ngrok-free.app/api/engage
The backend (server.js) is programmed to automatically trigger the updateHoneyPotFinalResult callback once the AI agent determines:
scamDetected = trueisEngagementComplete = true
This ensures full compliance with the "Mandatory Final Result Callback" rule.