dApp Security Info API
get
https://api.gopluslabs.io/api/v1/dapp_security?url=
Method: GET
example: https://api.gopluslabs.io/api/v1/dapp_security?url=https://for.tube
Parameters
Parameters | Type | Required | Description |
---|---|---|---|
url | String | True | Url or domain |
Request Headers
Parameters | Type | Required | Description |
Authorization | String | False |
Security items | Parameter | Description | Notice |
dApp Project Name | project_name | It describes the dApp project name. | |
dApp Url | url | It describes the dApp's website link. | |
Contract Security Info | "contracts_security":
[
{"chain_id":56,
"contracts":
[
{"contract_address": "0x744aF9cBb7606BB040f6FBf1c0a0B0dcBA6385E5",
"is_open_source": 1,
"malicious_contract":1, "malicious_behavior":[],
“deployment_time”:
"creator_address": "0xb6a70e26be27cda6ec4bf8e0df4a49ebc26f087b",
"malicious_creator": 1, "malicious_creator_behavior":[],
}
]
}
] | It describes the security information for this dApp's contracts. The info includes: (1) "chain_id" describes the chains that contracts are deployed on; "1" means Ethereum; "25" means Cronos; "56" means BSC; "128" means HECO; "137" means Polygon; "250" means Fantom; "42161" means Arbitrum; "43114" means Avalanche. (2) "contract_address" describes the dAap's contract address. (3) "is_open_source" describes whether this contract is open source. "1" means true; "0" means false. (4) "malicious_contract" describes whether the address is a suspected malicious contract. "1" means true; "0" means that we have not found malicious behavior of this contract. (5)"malicious_behavior" describes specific malicious behaviors of the contract. (6) "deployment_time" describes the deployed time of the contract. The value is presented as a timestamp. Example: "deployed_time": 1626578345 (7) "creator_address" describes the creator address of the contract. (8) "malicious_creator" describes whether the creator is a suspected malicious address. "1" means true; "0" means that we have not found malicious behavior of this address.
(9)"malicious_creator_behavior" describes specific malicious behaviors of the contract creator. | "malicious_contract" and "malicious_creator" return "0" does not mean the address is completely safe. Maybe we just haven't found its malicious behavior. |
is_audit | is_audit | It describes whether the dApp was audited by a reputable audit firm. "1" means true; "0" means that we have not found audit information for this dApp . | Return "0" does not mean the dApp was not audited. Maybe we just haven't found audit information for this dApp yet. |
Audit Info | "audit_info":[{"audit_time": "2021.03.26" ,"audit_link": "https://for.tube/PeckShield-Audit-Report-ForTubeV3-v1.0.pdf","audit_firm": "PeckShield",}] | It describes the audit information of the dpp. The info includes: (1) "audit_time" describes the time shown in the latest audit report. (2) "audit_link" describes the website link of the audit report. (3) "audit_firm" describes the firm that audited the dApp. | When the dApp was not audited, ("is_audit"=0), it will return "null".If there are multiple audit reports, the information of the latest audit report is displayed. |
Trust List | trust_list | It describes whether the dapp is a famous and trustworthy one. "1" means true; "0" means that this dapp is not yet in our trusted list. | (1) Only "trust_list": "1" means it is a famous and trustworthy dapp. (2) "0" return doesn't mean it is risky. |
Response for a successful request:
{
"code": 1,
"message": "ok",
"result": {
"project_name": "DALAL",
"url": "https://dalal.eth.link",
"trust_list": 0,
"is_audit": 0,
"audit_info": [
{
"audit_time":"2021.10.19",
"audit_link":"https://www.Certik.com/projects/microverse",
"audit_firm":"Certik"
}
],
"contracts_security": [
{
"chain_id": 56,
"contracts": [
{
"contract_address": "0x307b7ce5ddca26a8ed63cf75cacab2539c7e551e",
"is_open_source": 1,
"creator_address": "0xc0204db6798e944c4e8bbf5e223a073cb4ad2859",
"malicious_contract": 0,
"malicious_behavior":[],
"deployment_time": 1615400768,
"malicious_creator": 0,
"malicious_creator_behavior":[],
}
]
},
{
"chain_id": 137,
"contracts": [
{
"contract_address": "0x307b7ce5ddca26a8ed63cf75cacab2539c7e551e",
"is_open_source": 1,
"creator_address": "0xc0204db6798e944c4e8bbf5e223a073cb4ad2859",
"malicious_contract": 0,
"malicious_behavior":[],
"deployment_time": 1615400768,
"malicious_creator": 0,
"malicious_creator_behavior":[],
}
]
}
]
}
}
Last modified 19d ago