Coder Social home page Coder Social logo

januusio / cryptowallet_risk_scoring Goto Github PK

View Code? Open in Web Editor NEW
220.0 9.0 56.0 98 KB

A free cryptowallet risk scoring tool with fully explainable scoring.

License: Mozilla Public License 2.0

Python 100.00%
anti-money-laundering bitcoin cryptocurrency cryptowallet ethereum fraud-detection risk-scores cryptowallet-risk-scores

cryptowallet_risk_scoring's People

Contributors

afrkciymjt avatar mattyjacks 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptowallet_risk_scoring's Issues

date-verification not working - last seen on the blockchain is outdated

Hello,

It seems like the date verification label is not working properly. For example, BTC address 3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt

{"reasons":[{"explanation":"The entity has been associated with multiple dates between 2017-12-08 and 2023-09-29","label":"date-verification","offsets":{"combinedRiskOffset":-2.2717578,"fraudRiskOffset":-2.5904446,"lendingRiskOffset":0.0,"reputationRiskOffset":-1.6113496},"riskElaboration":{"verifiedDates":[{"date":"2017-12-08","source":"The day '3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt' was first seen on the blockchain.","weight":0.6588},{"date":"2023-09-29","source":"The day '3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt' was last seen on the blockchain.","weight":2.25e-2}]}},{"explanation":"The entity has received a total of $3.76e-2 from 1 scammer(s) or threat actor(s).","label":"funded-by-bad-actor","offsets":{"combinedRiskOffset":9.7399324e-2,"fraudRiskOffset":0.0,"lendingRiskOffset":0.0,"reputationRiskOffset":0.13549851},"riskElaboration":{"badFunderDetails":[{"recipient":"3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt","riskDetails":{"address":"14MVEf1X4Qmrpxx6oASqzYzJQZUwwG7Fb5","riskFactors":[{"actorType":"hacker","involvedRiskActivity":{"categoryName":"hacking","description":"Utilizing vulnerabilities in systems to gain unauthorized access, often with the intent of compromising data or executing malicious actions.","rating":"high","subCategory":"exploit"},"mediaPlatformUsed":"Unknown"}]},"sender":"14MVEf1X4Qmrpxx6oASqzYzJQZUwwG7Fb5","totalUsd":3.759999945759773e-2}],"howManyBadFunders":"1","howManyFunders":"473"}}],"riskScores":{"combinedRisk":27.825642,"fraudRisk":27.409555,"lendingRisk":30.0,"reputationRisk":28.524149}}

This address 3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt was last seen on the blockchain on 10/13: https://www.blockchain.com/explorer/addresses/btc/3P3QsMVK89JBNqZQv5zMAKG8FK3kJM4rjt

but the API is returning a different date for last seen on blockchain.

Free endpoint available

Hello

1.- Thanks for this wonderful peace of code.

2.- It´s possible to know when the free endpoint will be available?

Thanks

Dataset

Hi, is the dataset opensource? Do you use machine learning to predict whether one is malicious?

Risk calculation

There isn't any risk calculation in code as well as machine learning content. How did you calculate the scores? Did you use an API endpoint to your server?

No riskscore data returned

Your endpoint does not return risk score any longer. Example, this is the default address (0xebfe7a29ea17acb5f6f437e659bd2d472deedc54) on your README file, when i try to make a get request, it returns this

{
    "reasons": [
        {
            "explanation": "The entity has been associated with multiple dates between 2018-09-14 and 2022-07-26",
            "label": "date-verification",
            "offsets": {
                "combinedRiskOffset": -2.204092,
                "fraudRiskOffset": -2.5124207,
                "lendingRiskOffset": 0,
                "reputationRiskOffset": -1.5542717
            },
            "riskElaboration": {
                "verifiedDates": [
                    {
                        "date": "2018-09-14",
                        "source": "The day '0xebfe7a29ea17acb5f6f437e659bd2d472deedc54' was first seen on the blockchain.",
                        "weight": 0.5412
                    },
                    {
                        "date": "2022-07-26",
                        "source": "The day '0xebfe7a29ea17acb5f6f437e659bd2d472deedc54' was last seen on the blockchain.",
                        "weight": 0.1179
                    }
                ]
            }
        }
    ],
    "riskScores": {
        "combinedRisk": 27.795908,
        "fraudRisk": 27.48758,
        "lendingRisk": 30,
        "reputationRisk": 28.445728
    }
}

Need to add installation of jq to install instructions

This is what I had to do to get the Google colab to work

!git clone https://github.com/januusio/cryptowallet_risk_scoring.git
!git clone https://github.com/stedolan/jq.git
%cd cryptowallet_risk_scoring
!python3 setup.py install
!pip3 install -r requirements.txt
!apt-get update
!apt-get install python3-pip
!apt-get install autoconf libtool dh-autoreconf
!pip install jq

!pip install pyjq #may not be necessary

!apt-get install jq
!python3 example_default.py

JQ is necessary to get it to run. I think you have to add to the install instructions to install JQ

https://github.com/stedolan/jq

That's the jq github

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.