Lucene search
+L

Unsafe typecasting can lead to tokens being locked in the contract

🗓️ 10 Aug 2023 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 18 Views

Unsafe typecasting in createLock function can result in negative value for locked amount, allowing creation of locks with negative tokens and preventing token withdrawal. Mitigation: Use SafeCast library for typecasts and use uint128 for amount and delegated variables

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation