QR codes are everywhere — menus, payments, ads, packaging. But their convenience also makes them a target for attackers. A malicious QR code can redirect users to phishing sites, trigger unwanted actions on their phone, or compromise their data. This guide covers the threat landscape and practical steps to protect your business.
QR code attacks are on the rise. The FBI issued a public warning in 2022 about malicious QR codes being used to steal payment credentials and personal information.
The QR code threat landscape
QR codes are just encoded text — usually URLs. The danger isn't the QR code itself, but where it sends you. Understanding the attack vectors is the first step in defending against them.
Common attack vectors
- Phishing (Quishing): A QR code links to a fake website that mimics a legitimate one, stealing credentials
- Malware delivery: The link downloads malicious apps or files to the user's device
- Payment fraud: A swapped QR code redirects payments to an attacker's account instead of the merchant
- Action injection: The code triggers phone actions (SMS, email, phone call) without the user's full awareness
- Location tracking: A dynamic QR code logs scan timestamps, locations, and device info for surveillance
The fundamental problem with QR codes is that humans can't read them. You don't know where a QR code will take you until you scan it — and by then, you're already on the destination.
1. Use dynamic QR codes with short links
Dynamic QR codes use a short link that redirects to your real URL. If the destination ever needs to change — or if the code is compromised — you can update the redirect without reprinting. This also lets you track scans and detect suspicious activity.
Why dynamic beats static for security
Static QR codes are immutable — once printed, the destination is locked. If an attacker copies your static QR code and places their own version on top, there's nothing you can do except physically find and replace every instance. Dynamic codes give you a kill switch.
- Create a dynamic QR code pointing to a short link you control
- Monitor scan analytics for unusual patterns
- If compromised, update the redirect to a safe page immediately
- Investigate the scope of the attack using scan logs
- Reprint physical codes only if the short link itself is compromised
2. Use HTTPS destinations only
Always link to HTTPS URLs. HTTP connections can be intercepted and modified by anyone on the same network. HTTPS ensures the user reaches your actual page, not a tampered version.
Never link a QR code to an HTTP page, especially for payments or login forms. Browsers will flag it as insecure, and users (rightfully) may abandon the page.
3. Display your QR codes securely
Physical QR codes in public spaces can be covered with stickers or replaced entirely. This is the most common attack vector — and it's surprisingly easy to execute.
Physical security checklist
- Place QR codes behind tamper-evident covers when possible
- Use permanent adhesive or etched signage for high-risk locations
- Regularly inspect QR codes on tables, counters, and posters
- Train staff to recognize and report swapped codes
- Photograph and document the original QR code for comparison
- Use unique designs or branding that are hard to replicate
4. Add context around the code
A QR code with no label is suspicious. Always include text that tells the user what to expect: "Scan to view our menu", "Scan to pay", "Scan for WiFi access". This helps users identify if they've been redirected somewhere unexpected.
Include your business name and logo near the QR code. If someone swaps it, the mismatch between the branding and the scam destination becomes more obvious to alert users.
5. Choose privacy-first generators
Many QR code generators process your data on their servers — meaning your URLs, WiFi passwords, and contact info are sent to a third party. Choose tools that generate QR codes entirely in the browser, so your data never leaves your device.
QRKit generates all QR codes client-side. Your data is never sent to a server — it stays in your browser.
6. Educate your customers
Security is a two-way street. Your customers need to know how to protect themselves when scanning QR codes. Consider adding a small security notice near your QR codes.
- Preview the URL before opening it (most modern phones show a preview)
- Avoid scanning QR codes from unknown or untrusted sources
- Use a QR scanner that shows the URL before navigating
- Be cautious of QR codes that lead to login or payment pages
- Look for HTTPS in the URL after scanning
- When in doubt, type the URL manually instead of scanning
7. Monitor scan analytics
If you use dynamic QR codes, monitor the scan data. A sudden spike in scans from unexpected locations could indicate that your code has been copied or is being used in a phishing campaign. Set up alerts for unusual activity.
Red flags in scan data
- Sudden spike in scans from a country where you don't operate
- Scans at unusual hours (e.g., 3 AM local time)
- A high scan-to-conversion ratio drop (people scan but don't complete the action)
- Multiple scans from the same device in rapid succession
8. Have an incident response plan
If you discover that your QR code has been compromised, you need to act fast. Having a plan in place before an incident occurs can minimize damage.
- Immediately redirect the dynamic link to a safe "we've been compromised" page
- Notify customers through your communication channels (email, social media, in-store signage)
- Contact your payment processor if payment QR codes were affected
- File a report with local law enforcement and cybercrime authorities
- Document the incident for future prevention
- Audit all remaining QR code placements for tampering
Security doesn't have to be complicated. Start with HTTPS, add context labels, choose privacy-first tools, and have a response plan. These four steps cover 90% of QR code security risks.
How to protect yourself
Understanding how scams work is the first step to avoiding them. Here are the key protection measures:
- Never scan a QR code provided by someone who contacted you unsolicited
- Always verify wallet addresses character by character before sending crypto
- No legitimate agency, bank, or business will ever send you to a crypto ATM
- Use only trusted, well-known QR code generators for crypto addresses
- Enable two-factor authentication on all crypto accounts
- Verify URLs in the browser address bar before entering credentials
Recognizing social engineering tactics
Scammers rely on psychological manipulation, not technical exploits. Here are the tactics they use:
Common manipulation techniques
- Urgency: Creating false deadlines to prevent careful thinking
- Authority: Impersonating government agencies, banks, or tech support
- Fear: Threatening legal action, account closure, or financial loss
- Isolation: Coaching victims to stay on the phone and not tell anyone
- Complexity: Using technical jargon to confuse and overwhelm
Safe QR code generation practices
When generating crypto QR codes for your own use, follow these security practices:
- Use a reputable QR code generator — not an unknown free tool
- Generate the QR code on a clean, malware-free device
- Verify the encoded address matches your wallet address exactly
- Test by scanning the QR code with your own wallet app
- Send a small test transaction before large transfers
- Store the QR code securely — treat it like a financial document
What to do if you have been scammed
- Report to the FBI IC3 at ic3.gov immediately
- Contact your crypto exchange if funds were sent through them
- File a report with the FTC at reportfraud.ftc.gov
- Do not trust "recovery services" — they are often secondary scams
- Document everything: QR codes, transaction hashes, communications
- Warn others by reporting the scam address to fraud databases
In crypto, there are no chargebacks. Once the transaction is confirmed, the funds are gone. Prevention is your only protection.
QRKit's Crypto QR Code Generator is a trusted tool that encodes your wallet address directly — no third-party interception. Always verify the encoded address.