Malicious UPI QR Code Detection System Using Vision Transformer, YOLO-Based Localization, and Database-Centric Payment Payload Verification
Unified Payments Interface (UPI) QR codes have also been adopted swiftly in India which has greatly enhanced the convenience of digital payments in India, but considered it has brought along some new risks such as machine-readable payment payloads which are not transparent. It is not possible to visually check whether a digitized parameter such as UPI ID, payee name, amount or transaction parameters have been manipulated. Existing QR scanners simply try to decode the content and pass it on to the payment application without applying strong integrity checks on any trusted customer or merchant records. In this paper, a comprehensive Malicious UPI QR Code Detection System is proposed by dynamically simulating customer data, generating UPI QR codes (both authentic and malicious), localizing QR codes using Model YOLO/OpenCV, decoding codes in UPI payload, verifying codes in the UPI stored in the database, and utilizing Malicious UPI QR code detection based on the Vision Transformer (ViT) method. The proposed framework takes those manipulations like UPI ID change, changed amount, change in payee name, injection of URL parameters etc., and proposes to detect the same changes up to the level of some pixel noise. A balanced synthetic dataset of 20,000 QR images was prepared using 10,000 records from respective customers, and, under experimental conditions, the ViT classifier precisely acquired a 78% accuracy, 81% precision, 73% recall, and 77% F1-score. The hybrid decision mechanism provides higher reliability and is based on a determined payment data verification and visual classification of the QR codes, which gives as final outcomes: Safe QR, Invalid QR, Tampered QR, Malicious QR.
Authors
- Bhagwan Dinkar Thorat
- Aditya Jain (ORCID: https://orcid.org/0000-0002-7653-3204)
- Rushikesh Godase
- Vishwajeet Barade
- Ishan Kale
- Yash Chhabdiya
Institutions
- Vishwakarma Institute of Technology (IN)
Publication Details
- Journal
- International Journal of Science Strategic Management and Technology
- Published
- 2026-11-27
- DOI
- https://doi.org/10.55041/ijsmt.v2i11.045
- Primary Topic
- QR Code Applications and Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00