Skip to content

A Next.js project demonstrating how websites can extract autofilled personal data from your browser without requiring a form submission.

License

Notifications You must be signed in to change notification settings

cbaezp/web-form-sniffer

Repository files navigation

Web Form Sniffer 🚨

A demonstration of how websites can extract autofilled personal information from your browser without you explicitly submitting a form. This project aims to raise awareness of the privacy risks associated with using autocomplete fields on websites.

Demo


✨ Features

  • Real-Time Autofill Detection: Automatically detects and logs autofilled fields from the browser.
  • Formatted Data Display: Displays all extracted personal information in a styled UI.
  • No Submit Required: Demonstrates how data can be extracted without a user clicking the submit button, using a visible email field as an example for the demo, while other fields remain hidden but still auto-filled.

🚀 Live Demo

👉 Live Project Link


🛠️ Getting Started

Prerequisites

To run this project locally, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/cbaezp/web-form-sniffer.git
    cd web-form-sniffer
  2. Install dependencies: Using npm:

    npm install

    Or using yarn:

    yarn install
  3. Start the development server: Using npm:

    npm run dev

    Or using yarn:

    yarn dev
  4. Open the app in your browser: By default, the app runs at http://localhost:3000. Visit the URL in your browser to view the project.


🧪 Testing the Project

  1. Open the app and navigate to the form page.
  2. Use your browser's autocomplete functionality to populate the fields (email).
  3. Check how data is extracted and displayed without pressing the submit button.

⚠️ Disclaimer

This project is for educational purposes only. It demonstrates potential risks of using autocomplete on the web. Do not use this code for malicious purposes. Always respect user privacy.


📜 License

This project is licensed under the MIT License.


💡 Acknowledgments

Inspired by the need to educate users about online privacy risks. Special thanks to the open-source community for tools and resources.

Similar Projects That Inspired This

About

A Next.js project demonstrating how websites can extract autofilled personal data from your browser without requiring a form submission.

Topics

Resources

License

Stars

Watchers

Forks