all InfoSec news
Re-entrancy attacks in Ethereum smart contrats
Dec. 17, 2022, 2:30 p.m. | Jalel Tounsi
DEV Community dev.to
A re-entrancy attack is a type of vulnerability that can occur in smart contracts that allow an attacker to repeatedly call an external contract in a way that consumes all available gas. This can lead to a denial of service (DoS) attack or allow the attacker to exploit the contract for their own benefit.
Here is an example of a simple contract written in Solidity that is vulnerable to a re-entrancy attack:
pragma solidity ^0.6.0;
contract ReentrancyAttack {
// The …
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Social Engineer For Reverse Engineering Exploit Study
@ Independent study | Remote
Security Engineer II- Full stack Java with React
@ JPMorgan Chase & Co. | Hyderabad, Telangana, India
Cybersecurity SecOps
@ GFT Technologies | Mexico City, MX, 11850
Senior Information Security Advisor
@ Sun Life | Sun Life Toronto One York
Contract Special Security Officer (CSSO) - Top Secret Clearance
@ SpaceX | Hawthorne, CA
Early Career Cyber Security Operations Center (SOC) Analyst
@ State Street | Quincy, Massachusetts