There is a static site on GitHub Pages, where it is permissible to store only html, css and javascript. I read that static sites are less vulnerable to hacking, but not 100% .
Passwords are stored in a safe place , the browser is portable.
How can hacker attacks on a static site be carried out, and how to protect against them?