Skip to content

Enterprize1/phishy-mailbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License

Phishy Mailbox

Phishy Mailbox is a tool for researching human factors of phishing. It was created for researchers to easily run phishing studies using real emails in an in-basket exercise, where participants categorize the emails into a number of configurable folders.

Screenshots

Participants

Participant interface, showcasing a user-friendly design to categorize emails.



Edit Studies for researchers

Researcher's dashboard allowing the easy setup and management of phishing studies.

In depth documentation is available in both english and german.

Origin

The first version of this tool was created in the context of a bachelor's thesis at the department for usable security and privacy at Leibniz Universität Hannover.

Contributing

We welcome contributions from the community. Feel free to open issues and submit pull requests.

Run locally

Prerequisites: Docker and Yarn

The application consists of two components. The first one is a PostgreSQL database that can be launched after installing docker via running docker compose up -d in the root directory.

Afterwards you can run the following commands to start the Next.js server that serves both the spa-frontend as well as the backend API using prisma as the ORM.

yarn
yarn prisma generate
yarn prisma db push
yarn node ./prisma/seed.js
yarn dev

Deployment

The same two components used for development are also required for deployment, general instructions to deploy a next.js application are available here. During development a deployment using Vercel and supabase was tested and can be recommended.

Testing

Currently there is a single test that performs a smoke test of the particpants view by executing a small study. To run the test you need to have the application running locally, have seeded the database using the seed script. Then you can run the test using the following command: (If not done before it may be necessary to install a browser, the command will tell you if that is the case)

yarn playwright test