Giter Club home page Giter Club logo

yonava / mathracegame Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 34.55 MB

Compete with friends online in an engaging multiplayer format. Math race auto generates math questions at various difficulty levels. Practice your skills in single player. Create an account to save your latest game results and stats.

Home Page: https://race.up.railway.app/

License: MIT License

JavaScript 27.78% HTML 2.80% Vue 69.23% CSS 0.18%
game math mathjax vuejs

mathracegame's Introduction

mathracegame's People

Contributors

cryptowattson avatar joshua-burdick avatar yonava avatar

Stargazers

 avatar  avatar

Watchers

 avatar

mathracegame's Issues

Ability to create and delete accounts with Postman

Research and Development

I was poking around with your API requests that are very nicely laid out and remembered the ability to use Postman for the creation of accounts. Since your REST API allows for no special keys or anything in the body, it means that I am able to simply just fire off a post request to do really anything.
Example post request:
image
In this example, I created a user named sudo with admin privilege level. Since there's no checks in the REST API if the user that it's creating is special or not, the user is simply created.

The Fix

From a cybersecurity standpoint, you need to have a private key that you day that you store privately (and not have it trackable to get to) and simply do sanity checks. I personally would say to do a sanity check to make sure someone isn't trying to make an account with admin privileges in general. The biggest issue right now is that you've open-sourced the code so it makes it very difficult to hide any key system without it being replaceable by the attacker.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.