QR Code Tampering Detection via Visual Inspection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

QR codes are vulnerable to tampering, where malicious codes are placed over safe ones, potentially exposing users' devices and information to security threats, as existing technologies lack effective verification methods to ensure authenticity before scanning.

Innovation Solution

A computer-implemented method and system that visually inspects QR codes and their surrounding areas using machine learning algorithms and OpenCV techniques to detect signs of tampering, such as wear-and-tear, shadows, and misspellings, alerting users to physically verify the QR code before scanning, thereby preventing potential security threats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If QR codes are used for easy access to websites and touch-free options, then user convenience is improved, but security vulnerability increases due to tampering risks

Engineering Contradiction:
Improveuser convenienceVSAvoidsecurity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system performs preliminary visual inspection of the QR code and surrounding area before the user scans it. The mobile device captures an image, detects the QR code, and automatically inspects the image for tampering indicators such as wear-and-tear, shadows, and misspellings in the surrounding text. This preliminary action allows the system to identify potential security threats before the user interacts with the QR code, maintaining both convenience and security.

Inventive Principle:
Principle #10Preliminary action

2Speed

If automatic scanning is implemented without verification, then scanning speed is improved, but detection precision of tampering decreases

Engineering Contradiction:
Improvescanning speedVSAvoiddetection precision
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The system performs a partial inspection focused specifically on the surrounding area of the QR code rather than a complete thorough examination. It looks for specific indicators of tampering such as wear-and-tear, shadows, and misspellings in the surrounding text. This partial action approach maintains fast scanning speed while providing sufficient detection precision for common tampering methods.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If visual inspection of surrounding area is performed, then detection precision of tampering is improved, but device complexity increases

Engineering Contradiction:
Improvedetection precisionVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The mobile device's existing camera and processing capabilities are utilized to perform the visual inspection. The system leverages the device's own resources - the camera to capture the image, the processor to analyze it, and the display to show results - rather than requiring additional external hardware or complex specialized equipment. This self-service approach improves detection precision while minimizing the increase in device complexity.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240169060A1Method and system for verifying quick response codes
Publication Date: 2024.05.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240169060A1 patent drawing
  • US20240169060A1 patent drawing
  • US20240169060A1 patent drawing

AI summary

A computer-implemented method (CIM) that includes receiving an image including a QR code and an area surrounding the QR code, visually inspecting the image of the QR code and the surrounding area, determining whether the QR code and the surrounding area include at least one indication of tampering, and alerting a user of the mobile device to physically check the QR code, if at least one indication of tampering is determined.