Skip to content

Glow-in-the-dark/canary_trap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canary TRAP

Exposing and Prevention of Information Leakage

Traceable deterrence

Canary TRAP prevents and exposes information leakages, by leaving visually undetectable but traceable footprints to the naked eye in the digital documents.

Technologies Used

Main:

  1. React - for frontend.
  2. Redux - for State management
  3. MongoDB / Mongoose- the database for the backend.
  4. Express - for the middleware.
  5. Multer - middleware to transport image buffer between frontend & backend
  6. JIMP - for pixel manipulation
  7. nodemailer - for automated email + attaching IMGs to email.

Other smaller packages:

  1. Axios - for fetching
  2. Tailwind - for styling.
  3. React router - routing to different pages, for the NavBar.
  4. jsonwebtoken - to enable JWT token
  5. jwt-decode - for decoding JWT tokens
  6. UUID - for unique ID
  7. bcrypt - encryption for password
  8. dotenv - for private enviroment variables
  9. heroicons - for icons
  10. buffer - for use images buffer

Hierarchy

Hierarchy screenshot

User Flow / Stories

Demo

DEMO

Creating documents
  • Upload "Confidential" documents.
  • Input: Quantity of distribution & Names
  • ✨Magic ✨
  • Recieve each new altered document from your email
Exposing LEAKS
  • Upload Leaked Documents
  • ✨Magic ✨
  • Gives u a result of who it matches.

General Approach

  1. Started out by drawing out the hierarchy of the site
  2. Identify all the endpoint needed
  3. Build out the core backend components
  4. Build check to ensure backend working, as arrays are too large to display on MongoDB
  5. Built the barebone forms, and inputs on the frontend and link up the backend to ensure functionality
  6. Build frontend + routing
  7. Add in CSS

Limitations & Future work

  • Add in additional features e.g PDF conversion compatability)
  • Add in capabilites to allow image tracebility even if image is cropped / skewed. (Current feature only work on full image)
  • use matrix package for better computational efficiency.
  • redo database schema, for better stripping of redundant infomation being fed to frontend, which can result in slower initial loading time, and rendering of state.

References

Website initial template: Provided and thank to Creative Tim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages