Coder Social home page Coder Social logo

krazkidd / snakem Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 463 KB

Yet another snake game with networking

Home Page: https://snakem.app.xericode.net/

License: GNU General Public License v3.0

Python 76.78% Dockerfile 1.72% HTML 0.95% Vue 9.70% CSS 3.92% JavaScript 0.64% TypeScript 6.29%
bootstrap docker fastapi python typescript vue websockets

snakem's People

Contributors

dependabot[bot] avatar krazkidd avatar

Watchers

 avatar  avatar  avatar

snakem's Issues

Address security issues raised by Mozilla Observatory

I submitted the live site to the Mozilla Observatory and a number of issues were raised (see results below). We can start by checking the Uvicorn docs to see if these have built-in configuration settings, otherwise some other package(s) may be required.

Note that we should scan the API endpoints as a smoke test but the results should take into consideration this note from the FAQ:

Is the Mozilla Observatory useful for scanning non-websites, such as API endpoints?

The HTTP Observatory is designed around scanning websites, not API endpoints. This is not to say that it can't be used for API endpoints, just that the results may not reflect the actual security posture of the API.

Nevertheless, the various security headers expected by the HTTP Observatory shouldn't cause any negative impact for APIs that return exclusively data, such as JSON or XML. The recommended configuration for API endpoints is:

Content-Security-Policy: default-src 'none'; frame-ancestors 'none'
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff

  • Review CSP header
  • Review X-Content-Type-Options header
  • Review X-Frame-Options header
  • Review X-XSS-Protection header
  • Implement Referrer-Policy header
  • Scan API endpoints

Screenshot 2023-12-03 at 10-31-06 Mozilla Observatory

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.