Coder Social home page Coder Social logo

prosopo / captcha Goto Github PK

View Code? Open in Web Editor NEW
29.0 2.0 0.0 164.25 MB

Protect your website from bots with Prosopo Procaptcha

Home Page: https://prosopo.io

License: Apache License 2.0

JavaScript 1.50% TypeScript 91.15% Dockerfile 0.19% HTML 0.01% Rust 7.14%
bot-detection captcha security ddos-mitigation ddos-protection hcaptcha human-verification invisible-captcha privacy proof-of-work

captcha's People

Contributors

dependabot[bot] avatar forgetso avatar github-actions[bot] avatar goastler avatar hughparry avatar lupus7 avatar muzammil-gimly avatar prosoponator avatar seht avatar takahser avatar vengi717 avatar vinceferro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

captcha's Issues

Use a queue / job runner for tasks in Provider

We need to start various jobs when running a Provider and ensure that they are completed without errors.

  • calculate solutions
  • batch solutions
  • ...

A job runner should be used for starting and reporting on jobs. It should be possible to

  • start jobs
  • stop jobs
  • add new jobs to the queue
  • change job priorities
  • view job output

investigate substrate errors in react

When building the app, ~20 errors come from substrate not being able to find files.

E.g.
WARNING in ../../node_modules/@substrate/connect-extension-protocol/dist/cjs/index.js Module Warning (from ../../node_modules/source-map-loader/dist/cjs.js): Failed to parse source map from '/home/geopro/bench/workspaces/node_modules/@substrate/connect-extension-protocol/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/geopro/bench/workspaces/node_modules/@substrate/connect-extension-protocol/src/index.ts'
Failed to parse source map from '/home/geopro/bench/workspaces/node_modules/@substrate/connect/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/geopro/bench/workspaces/node_modules/@substrate/connect/src/index.ts'

Reduce exports to improve bundling / tree shaking

E.g. we don't need to export the utils pkg, right?

We need to split components into separate files (or add separate files) to enable default exports and improve tree-shaking and therefore bundle size

add ssl to provider server

Can we use letsencrypt for this?

Caddy2 does letsencrypt automatically (using only ip I believe).

Nginx is another option.

Can do it in nodejs manually, but scripting the ssl renewal might be reinventing the wheel. Perhaps there's an npm library for this?

Make the database feature a package

The provider database is dynamically imported based on the db config. It is designed to allow different database engines as long as an interface is provided. This feature should be pulled into its own package.

Handle case when DApp is inactive

Client will make a request for random active provider, passing Dapp AccountId. If Dapp is Suspended or Deactivated no Provider will be received. How will this be handled in proCaptcha?

prosopo/protocol#38

Dapps should handle this use case in their frontend and in their contract.

test uniqueness of fingerprinting

Collisions of fingerprints can cause massive issues in web2 mode due to two users sharing the same ID. This may incorrectly permit a user by mistaking them for a verified user

Rename commitments to solutions

Since there is no longer an on-chain commitment being made by the user, solutions is a more accurate word for the data the user is sending the Provider.

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.