Skip to content

A sample of how a DOM XSS attack can be performed with a possible solution on how to clean the text on the way out of a smart contract

License

Notifications You must be signed in to change notification settings

thedarkjester/SolidityAttackVector

Repository files navigation

SolidityAttackVector

In order to run the sample, it is expected that you are familiar with npm, truffle and ganache-cli. These three items need to be installed before running the sample application.

  • Open a new terminal and run ganache-cli (open a browser with installed metamask, copy the mnemonic to get accounts up and running)
  • Open a new terminal and run truffle compile
  • In the same terminal run truffle migrate --network development
  • Open a terminal and run npm install
  • In the same terminal run npm run dev

About

A sample of how a DOM XSS attack can be performed with a possible solution on how to clean the text on the way out of a smart contract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published