Commit 057f534
feat: Add comprehensive fraud detection UI for candidate tracking
- Display prominent FRAUD RISK level (LOW/MEDIUM/HIGH) in Security tab
- Show detailed fraud indicators for candidates only:
• VPN/Proxy usage flagged as suspicious
• Multiple login attempts highlighted as fraud warning
• Account sharing detection
- Color-coded fraud assessment panel
- Detailed security alerts with location information
- Candidate rows highlighted in red when fraud detected
- Clear separation between tracked candidates and untracked interviewers
Fraud Risk Calculation:
- LOW: No indicators detected (green)
- MEDIUM: 1-2 indicators (orange warning)
- HIGH: 3+ indicators (red alert)
All fraud data stored in Firebase under security_warnings for audit trail.
Interviewers can now easily identify potential cheating or fraudulent activity.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 05263a1 commit 057f534
File tree
4 files changed
+264
-76
lines changed- api
- scripts
4 files changed
+264
-76
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
59 | 68 | | |
60 | 69 | | |
61 | 70 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
65 | 80 | | |
66 | 81 | | |
| 82 | + | |
67 | 83 | | |
68 | 84 | | |
69 | 85 | | |
| |||
74 | 90 | | |
75 | 91 | | |
76 | 92 | | |
| 93 | + | |
77 | 94 | | |
78 | 95 | | |
79 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
147 | 156 | | |
148 | 157 | | |
149 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 267 | + | |
281 | 268 | | |
282 | 269 | | |
283 | 270 | | |
| |||
295 | 282 | | |
296 | 283 | | |
297 | 284 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
| 285 | + | |
310 | 286 | | |
311 | 287 | | |
312 | 288 | | |
| |||
0 commit comments