-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Snap] StarkNet #123
Comments
List of findings with fixes or reasoning: 4.1 RPC starkNet_sendTransaction - The User Displayed Message Generated With getSigningTxnText() Is Prone to Markdown/Control Chars Injection From contractCallDataFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.2 Lax Validation Using@starknet::validateAndParseAddress Allows Short Addresses and Does Not Verify ChecksumsFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.3 RPC starkNet_signMessage - Fails to Display the User Account That Is Used for Signing the MessageFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.4 RPC starkNet_signMessage - Inconsistency When Previewing the Signed Message (Markdown Injection)Fixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.5 UI/AlertView - Unnecessary Use of dangerouslySetInnerHTMLFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.6 RPC starkNet_addErc20Token - Should Ask for User ConfirmationFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.7 getKeysFromAddress - Possible Unchecked Null Dereference When Looking Up Private KeyFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.8 RPC starkNet_getStoredTransactions - Lax or Missing Input ValidationThis method is read only and therefore not needing input validation 4.9 Disable Debug Log for Production BuildFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.10 package.json - Dependency MixupFixed in https://github.com/Consensys/starknet-snap/tree/7231bb7fa4671283b2e7b4cbf5a519d56a57697a 4.11 package.json - Invalid LicenseThis finding is incorrect. Dual license is a valid approach. 4.12 RPC starkNet_extractPrivateKey - Should Be Renamed to starkNet_displayPrivateKeyThis is a minor issue and does not need to be fixed. 4.13 UI/hooks - detectEthereumProvider() Should Require mustBeMetaMaskThis is a minor issue and does not need to be fixed. 4.14 RPC starkNet_addNetwork - Not Implemented, No User ConfirmationThis is a minor issue and does not need to be fixed. |
Checklist
All items in the list below needs to be satisfied.
The text was updated successfully, but these errors were encountered: