Vyper 0.4.0b1 至 0.5.0b1 版本在编译不可展开的常量以及从导入模块中省略的默认参数时出现错误。其根本原因在于 在调用函数的作用域中解析这些名称,而非在声明处解析。当合约的参数、局部变量或循环变量与上述名称冲突时,攻击者可操控的输入能够替换预期值,包括针对 uint8 等窄类型的越界值,从而破坏验证逻辑或会计逻辑。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet