Replies: 1 comment
-
Some more for Massa:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
A list of smart contract vuln is available here.
While targeting Ethereum & Solidity SC, it's a good opportunity to check if this can apply to Massa as well.
Vulnerabilities
Forcibly Sending Ether to a Contract
Insufficient Gas Griefing
Reentrancy
Integer Overflow and Underflow
Timestamp Dependence
Authorization Through tx.origin
Floating Pragma
Function Default Visibility
Outdated Compiler Version
Unchecked Call Return Value
Unprotected Ether Withdrawal
Unprotected Selfdestruct Instruction
State Variable Default Visibility
TODO: add internal link to section
Uninitialized Storage Pointer
Assert Violation
Use of Deprecated Functions
Delegatecall to Untrusted Callee
Signature Malleability
Incorrect Constructor Name
Shadowing State Variables
url: https://github.com/kadenzipfel/smart-contract-vulnerabilities/blob/master/vulnerabilities/shadowing-state-variables.md
Vulnerabilities kind:
Mitigation: dev guide
* [Investigation] can we have warnings for variable shadowing from AS compiler?
Weak Sources of Randomness from Chain Attributes
[Investigation]:
Missing Protection against Signature Replay Attacks
Requirement Violation
Write to Arbitrary Storage Location
Incorrect Inheritance Order
Arbitrary Jump with Function Type Variable
Presence of Unused Variables
Unexpected Ether Balance
Unencrypted Secrets
Faulty Contract Detection
Unclogged Blockchain Reliance
TODO: internal link to other randomness issue
Inadherence to Standards
Unprotected Callback
Asserting EOA from Code Size
Transaction-Ordering Dependence
DoS with Block Gas Limit
DoS with (Unexpected) revert
Vulnerabilities (Specific to Massa)
Metering counters manipulation
[Investigation] Would it be possible for a SC to manipulate metering counters (as they are injected as global variables)
Beta Was this translation helpful? Give feedback.
All reactions