Skip to main content

One post tagged with "eval()"

Security topics related to eval() misuse.

View All Tags

Why You Shouldn't Use eval() in Discord Bots (or in Any App)

· 10 min read
Raunak Neupane
Security Researcher • Penetration Tester • Bug Hunter

Hello, everyone! In this blog, I want to showcase a dangerous function that, if used improperly, can cause serious harm, whether in a web app or elsewhere. In this article, I’ll focus on the abuse of eval() in Discord bots. While it's rare to find it, if you ever come across it or discover that a bot is using it, it's incredibly dangerous.