Skip to content

hostedscan/challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Scan Challenge

This project is setup with a frontend codebase using React, Typescript, and Tailwind.

The backend is setup using Typescript, Express, and Mongoose.

The idea is to test a small full stack problem in the vein of the work we do. While none of this is technically hard, we want to see how you handle both the interface and backend work.

Run MongoDB

docker run --name hs-challenge -p 27017:27017 -d mongo

Install the project

npm i

Start the frontend and backend

npm run dev

The Challenge:

  1. Build a form to take as it's input a target URL and record it into the database.
  • Validate that URL is a FQDN, and show an error message if not.
  • Give some indication in the UI when successfully submitting.
  1. Once a target has been received by the backend, run some checks on the headers and response returned when making a request to the target:
  • Required: Is an x-frame-options security header setup and secure?
  • Required: Is HSTS setup and secure?
  • Required: Do the headers contain a CSP policy? Does the CSP appear relatively secure?
  1. Upon completing the checks, record the results to the database.

  2. Render the results on the page for each target domain and result set that has been scanned. If one of the checks fails, flag this as an issue in the interface for the end user to notice.

A couple of notes:

  • Please use whatever additional libraries or tools you'd prefer to get the job done.
  • We're not worried about having a responsive design. Desktop only.
  • No need to build out anything else not related to the challenge. No need for accounts or authentication, etc.
  • We're not concerned about building this in a scalable way. However, errors that might be thrown should be handled appropriately and rendered to the frontend.
  • We've included some predesigned components from Tailwind UI found at /design. Feel free to use them, or any others you'd like.

Please send us any questions you have.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published