joshterrill / integrity-web

An experimental drop-in JS file that detects any changes to the DOM and notifies user if such as taken place. Used to detect when scammers have modified the DOM of a scam victim to trick them.

Home Page:https://integrity.dangerous.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integrity - Web

An experimental, proof-of-concept application that provides an examnple of how web-app owners can keep malicious attackers from modifying client-side web code. If this code detects that any client-side code has been modified, it triggers an alert that is displayed to the user that can't be removed.

An example being call-center scam artists who trick people into logging into their bank account and modify the HTML code to make it seem like money was transferred to them that wasn't actually there.

If anyone finds any way around this, please open an issue, I'd love to see how you did it.

Installation

git clone https://github.com/joshterrill/integrity-web
cd integrity-web/
npm i
npm run start
# or npm run dev

Then navigate to http://localhost:3000

Usage

When navigating to http://localhost:3000 open the client-side inspector and change any bit of code.

About

An experimental drop-in JS file that detects any changes to the DOM and notifies user if such as taken place. Used to detect when scammers have modified the DOM of a scam victim to trick them.

https://integrity.dangerous.dev


Languages

Language:HTML 80.9%Language:JavaScript 19.1%