web3_code_hunt (@web3_code_hunt) header
web3_code_hunt (@web3_code_hunt) profile picture

Blockchain Engineer

New Jersey, USA
Joined May 2022
React Native New Architecture of React Native is really a power for both πŸ‘‡ 1. For your App 2. For sharpening your skill to be a Sr. React Native Engineer I'm going to deep dive more πŸš€ I have written the full flow of React Native Architecture here πŸ‘‡medium.com/@anisurrahmanbup/…
2
37
177
13,626
Replying to @auditx_eth
Great explained Secure Stability: Flash Minting Restrictions @auditx_eth 🫑
2
4
14
Replying to @auditx_eth
Great explained @auditx_eth β„’ 🫑
1
4
10
Replying to @auditx_eth
Costly loops are important to reduce. Great chance for Auditors. @auditx_eth 🫑
1
5
17
Replying to @auditx_eth
Thanks @auditx_eth β„’ for sharing this BUG πŸ’―
1
5
26
Replying to @auditx_eth
Thanks for sharing these 4 points @auditx_eth . Really important πŸ’―
1
3
16
Replying to @auditx_eth
Yea, this is simple but very important BUG. Devs should care about it. Thanks for sharing @auditx_eth πŸ’―
1
5
27
Replying to @auditx_eth
Yea need to keep safe your Tokens by the SEC law πŸ’―. Thanks @auditx_eth team 🫑
1
3
22
Replying to @auditx_eth
Amazing BUG explanation @auditx_eth β„’ 🫑
1
4
21
#web3security investigators! πŸ”—discuss about Contracts with Anonymous Token Teams 1️⃣ Accountability 2️⃣ Transparency 3️⃣ Review standards 4️⃣ Mitigating risks 5️⃣ Investor protection 1️⃣ Accountability: When it comes to token development, it is crucial to have a known and identifiable team responsible for the project. If the development team remains anonymous or operates within legal shelters, it becomes challenging to hold them accountable for any potential abuse or misconduct. 2️⃣ Transparency: A known token development team promotes transparency within the project. Users and investors can research and evaluate the team's credentials, expertise, and past experiences, allowing them to make informed decisions about whether to participate in the token ecosystem. 3️⃣ Review standards: Contracts involving anonymous development teams or those residing in legal shelters should be subject to higher scrutiny. Given the potential risks associated with such arrangements, it becomes imperative to conduct more rigorous reviews of the project's technical aspects, security measures, and compliance with relevant regulations. 4️⃣ Mitigating risks: Requiring a higher standard of review for contracts with anonymous teams or those in legal shelters helps mitigate potential risks. This includes reducing the likelihood of scams, fraudulent activities, or malicious intent, as well as ensuring the project is built on solid foundations. 5️⃣ Investor protection: Holding the token development team accountable and implementing stricter review standards enhances investor protection. It helps to safeguard against instances of abuse, fraud, or mismanagement, thereby fostering trust and confidence within the token ecosystem.
3
2
8
110
Replying to @auditx_eth
Thanks @auditx_eth for sharing Blacklist Vulnerability
1
3
13
Replying to @auditx_eth
Unpausable Token Risk is one important stuff. Thanks @auditx_eth β„’ for this
1
5
16
Replying to @auditx_eth
Amazing one @auditx_eth β„’ 🫑
1
6
19
#web3 BUG - Improper Input Validation πŸ‘‡ If access control is about controlling who calls a function, input validation is about controlling what they call the contract with. This usually comes down to forgetting to put the proper require statements in place. Here is a rudimentary exampleπŸ‘‡ contract UnsafeBank { mapping(address => uint256) public balances; // allow depositing on other's behalf function deposit(address for) public payable { balances += msg.value; } function withdraw(address from, uint256 amount) public { require(balances[from] <= amount, "insufficient balance"); balances[from] -= amount; msg.sender.call{value: amout}(""); } } The contract above πŸ‘† does check that you aren’t withdrawing more than you have in your account, but it doesn’t stop you from withdrawing from an arbitrary account. βœ… What is the difference between improper access control and improper input validation? πŸ‘‰Improper access control means msg.sender does not have adequate restrictions. Improper input validation means the arguments to the function are not sufficiently sanitized. There is also an inverse to this anti-pattern: placing too much restriction on a function call.
3
3
9
303
πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡
#web3 BUG - Unexpected EtherΒ  Attack πŸ‘‡ If you find this line of code in SMART Contract - ❝ this.balance ❞ βœ… Then may be there is a BUG in Smart Contract Inside SMART Contract as the balance of the contract can be manipulated by hacker even without using any PAYABLE function of the contract. A hacker can send some ETHER/ MATIC/ other tokens without payable by using 2 way. Ways are πŸ‘‡ 1️⃣ Self-destructive/suicideΒ attempt 2️⃣ Pre sent ETHER πŸ‘‰ Self-destructive/suicideΒ attempt --> of his (Hacker) own contract with setting your CONTRACT address as the receiver of the remaining ETHER/ MATIC balance of his suicided contract. πŸ‘‰ Pre sent ETHER --> Β by pre calculating the ETHEREUM address of the newly deployed contract. So, if you find the Vulnerability, just submit your PoC & get the Reward πŸ’― 🫑 Stay connected with @auditx_eth team as it is trying to enable thousands of Auditors in this space by let the Auditors learn from their own Audit Experiences.
1
4
6
228
#Web3 Auditors Complete guide on βœ… FORMAL VERIFICATION βœ… SYMBOLIC EXECUTION Let's jump details in this Video of @PatrickAlphaC boss youtu.be/izpoxfTSaFs - an interview of @trailofbits 🫑 πŸ‘‰ Formal Verification is the act of proving or disproving a given property of a system using a mathematical model. πŸ‘‰ Symbolic execution is one technique used for formal verification. using a mathematical model. it Convert Code -> Math.
3
4
15
957