Web Security
Pronunciation: WEHB sih-KYOOR-ih-tee
Definition
Web security covers the controls that protect websites, APIs and their users against unauthorized access, manipulation, data exposure and service disruption. For a crypto checkout, it helps ensure that a payment request displayed to a customer is authentic.
Overview
What it means and why it exists
Web security covers the controls that protect websites, APIs and their users against unauthorized access, manipulation, data exposure and service disruption. For a crypto checkout, it helps ensure that a payment request displayed to a customer is authentic.
How it works
A merchant protects its web application using server-side authorization, secure sessions, input validation, HTTPS, dependency maintenance, rate limits and logging. Payment amounts and order ownership are verified by trusted backend code, rather than relying on browser-submitted values. Signed payment notifications and trusted reconciliation protect status changes from forged requests.
Technical details worth understanding
Different threats target different layers: cross-site scripting can alter displayed checkout content, server-side request forgery can target internal services, and broken access control can expose another customer's invoice. Secure coding and independent penetration testing complement, but do not replace, careful operational key handling.
What can go wrong
A padlock icon does not prove the merchant site itself is honest or free of vulnerabilities. Browser scripts can be compromised through third-party dependencies. Sensitive API keys must not be embedded in public JavaScript, and redirect-to-success pages must not independently release paid goods.
Practical checks
Review the boundary between browser input and server authority. Order price, wallet destination and settlement status must not be changeable by editing a form request. Include content-security protections, dependency updates and strict access checks around invoice endpoints, and test whether a malicious script can replace QR payment details.
Related concepts
Crypto Payment Fraud, Private Key, Webhook Verification.
Further reading
Example
An attacker changes a browser request from a $10 to a $1 invoice. The backend reconstructs the amount from the stored order and rejects the mismatch. The store later fulfills only after an authenticated payment-status check.
Comparison
Web security protects the application and user interaction; blockchain consensus protects agreed chain state. One does not automatically secure the other, and wallet signing remains a separate trust boundary.
Key Takeaway
Different threats target different layers: cross-site scripting can alter displayed checkout content, server-side request forgery can target internal services, and broken access control can expose another customer's invoice.
Sources
- NIST Documentation: Cyberframework — NIST (2026-07-30)
- FATF Documentation: Virtual Assets — FATF (2026-07-30)