tip-534.md

April 3, 2025 ยท View on GitHub

tip: 534
title: Remove Vulnerable APIs	
author: halibobo1205@gmail.com
discussions to: https://github.com/tronprotocol/TIPs/issues/534
status: Final
type: Standards Track
category: Core
created: 2023-04-14

Simple Summary

Propose to remove potential vulnerable APIs.

Abstract

Previously some APIs could lead to the leakage of sensitive information, such as private keys. Although developers have been advised not to make remote calls to these APIs, I think it is better to remove the relevant APIs for security concerns and mitigate risks for developers.

Motivation

For network stability and user data security, I suggest deleting the relevant APIs.

Specification

The following APIs should be removed.

1. HTTP

APIDescription
createaddresscreate address by password
generateaddresscreate address randomly
easytransfertransfer TRX with password
easytransferbyprivatetransfer TRX with private key
easytransferassettransfer asset with password
easytransferassetbyprivatetransfer asset with private key
gettransactionsignsign transaction with private key
addtransactionsignsign transaction with private key

2. gGRPC

APIDescription
CreateAddresscreate address by password
GenerateAddresscreate address randomly
EasyTransfertransfer TRX with password
EasyTransferByPrivatetransfer TRX with private key
EasyTransferAssettransfer asset with password
EasyTransferAssetByPrivatetransfer asset with private key
GetTransactionSignsign transaction with private key
GetTransactionSign2sign transaction with private key
AddSignsign transaction with private key

Rationale

Vulnerable APIs may lead to the leakage of sensitive information, such as private keys.

Implementation

Delete the relevant APIs.

Copyright and related rights waived via CC0.