GithubHelp home page GithubHelp logo

mehdi207-mp / phishing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from polkadot-js/phishing

0.0 0.0 0.0 20.02 MB

A curated list of known less-than-honest operators on Polkadot and Substrate networks. Includes a simple JS utility function to check any host or address against this list.

Home Page: https://polkadot.js.org/phishing/

License: Apache License 2.0

Shell 0.43% JavaScript 22.59% TypeScript 49.51% HTML 27.47%

phishing's Introduction

@polkadot/phishing

A curated list of potentially less-than-honest sites inclusive of a simple JS utility function to check any host against this list.

Additions

To add a new site, edit all.json and add any new entries, single or multiples is allowed per edit.

To add a new scam address (typically per site), edit address.json and add it in the correct section (which is keyed by the site providing them).

Availability

Making additions to the list will be reflected on merge at polkadot.js.org/phishing/all.json & polkadot.js.org/phishing/address.json. These can be consumed via @polkadot/phishing and other tools capable of parsing JSON.

The {address, all}.json files are also published to IPFS, via ipns/phishing.dotapps.io. Libraries can also consume from here for a decentralized approach.

Notable users

The following wallets integrate either address or site blocking from these lists:

Integration

Since the lists are published as JSON, integration for any non-JS wallets (only a JS library that is provided) should be simple - retrieve the applicable list, parse the JSON and do the required checks either on host or address as per the requirements. The Javascript library does have some features that may be worth thinking about for other integrations -

  • instead of retrieving the list each time a request is made, a local copy is cached for 45 mins and then re-retrieved when the timer expires (as a request is made)
  • for address checks the check is done on the decoded ss58 address to ensure that network-jumps with the same keys are avoided (so addresses does not have to be re-added for other networks, a single entry will cover all)

Contributing

This lists are intended to be maintained with active input from the community, so contributions are welcome, either via a pull request (edit above as described in additions) or by logging an issue.

phishing's People

Contributors

alineherzman avatar bravesam avatar brettkolodny avatar ccris02 avatar cyphadoc avatar de-fi-dev avatar dubstard avatar florianfranzen avatar frankywild avatar github-actions[bot] avatar grizzly375 avatar hhanson4 avatar ical10 avatar jacogr avatar jonathanpdunne avatar joppa27 avatar juancde avatar justinphamnz avatar keeganquigley avatar laboon avatar michalisfr avatar moondef avatar nuke-web3 avatar nymetva avatar paradox-tt avatar simonkraus avatar stiartsly avatar stonega avatar tbaut avatar thwjanssen89 avatar

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.