This is a simple job application that scans resumes before upload. The app uses Pangea's file scan APIs to prevent malicious files from being uploaded. The app utilizes shows how you could utilize file intel as well as deep file scan to be able to effectively scan files before they get uplaoded to a storage server.
- Clone the repository
- Install dependencies with
npm install
- Create a free account on Pangea
- Enable the file scan and file intel by extending the same Pangea token
- Rename the
.env.example
file to.env.local
and replace thePANGEA_TOKEN
andPANGEA_DOMAIN
from the Pangea console - Start the nextJS app with
npm run dev
- Navigate to the app in your browser
- Fill out the job application form
- Upload your resume
- Play around with the toggle to try file intel vs file hashes
- The app will scan your resume for malicious files before allowing you to submit your application
To watch this demo in action, head over to the webinar recording held by Reversing Labs and Pangea. Jump to the timestamp 36:00
.
For dummy test malware samples to play with, download the eicar.txt file from EICar's webiste, or you could also generate malicious PDFs using open-source repo jonaslejon/malicious-pdf.
Contributions are welcome! Please submit a pull request with any changes.
This project is licensed under the MIT License - see the LICENSE file for details.