Skip to content

PATCH-UPGRADE/viper

Repository files navigation

Welcome to Viper

Viper is the PATCH Teams Vulnerability Management Platform (VMP).

  • Define healthcare workflows
  • Simulate cybersecurity events on those workflows.

Ticket Tracking

We are using the Northeastern PATCH Jira for tracking tickets/progress.

Getting Started

Follow the guide in .env.example to create a .env file.

Install mprocs to run the multiple services:

npm install -g mprocs

Install dependencies:

npm i

Run mprocs:

mprocs

Database Seeding

The project includes a seed script to populate the database with sample data for development and testing.

How to seed:

npm run db:seed

The seed script will:

  1. Check if the seed user exists (creates if needed)
  2. Seed 20 realistic hospital assets owned by the seed user

Optional: Clear database before seeding

SEED_CLEAR_DB=true npm run db:seed

⚠️ Warning: This will delete all existing assets and asset settings before seeding!

Login after seeding

After seeding, you can log in with:

  • Email: user@example.com
  • Password: (read the seed script)

Tech Stack

  • Queue: inngest
  • ORM: prisma. Run npx prisma studio to view the database, usually on http://localhost:5555

You can view the DB with prisma studio, usually running on port 5555.

Tests

Use npm run test. Set the API_KEY env variable to test the api.

About

VIPER: Vulnerability Intelligence Program for Evaluation and Response - The Patch Team ARPA-H VMP.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published