Coder Social home page Coder Social logo

onboardlite's People

Contributors

helithumper avatar jeffreydivi avatar jontyms avatar

Watchers

 avatar

onboardlite's Issues

Abstract Database Calls

All database calls should be abstracted in a different module that should allow easier switching to MongoDB in the future

JWT Secret is Hardcoded

This was originally found from SemGrep:

    index.py
       python.jwt.security.jwt-hardcode.jwt-python-hardcoded-secret
          Hardcoded JWT secret or private key is used. This is a Insufficiently Protected Credentials
          weakness: https://cwe.mitre.org/data/definitions/522.html Consider using an appropriate
          security mechanism to protect the credentials (e.g. keeping secrets in environment
          variables)
          Details: https://sg.run/l2E9

          196┆ options.get("jwt").get("secret"),
            ⋮┆----------------------------------------
          196┆ options.get("jwt").get("secret"),

Instead, the JWT secret should be generated each time the app is started (unless there are clustering plans but I don't think that's necessary to plan for atm.

Maybe just generate some long random string using https://docs.python.org/3/library/secrets.html each time the app starts. All sessions are terminated with the application but IMHO this is an easy idea to never have to deal with session secret compromise aside from variable theft during runtime.

Class standing of "Other" is reset upon editing

After filling out the form at least once, and clicking "Edit" from the "my information" page, if a user has a class standing of "Other" it will be reset to "Freshman" on the edit screen.

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.