fix(multicall): resolve critical multicall parsing corruption issues

- Added comprehensive bounds checking to prevent buffer overruns in multicall parsing
- Implemented graduated validation system (Strict/Moderate/Permissive) to reduce false positives
- Added LRU caching system for address validation with 10-minute TTL
- Enhanced ABI decoder with missing Universal Router and Arbitrum-specific DEX signatures
- Fixed duplicate function declarations and import conflicts across multiple files
- Added error recovery mechanisms with multiple fallback strategies
- Updated tests to handle new validation behavior for suspicious addresses
- Fixed parser test expectations for improved validation system
- Applied gofmt formatting fixes to ensure code style compliance
- Fixed mutex copying issues in monitoring package by introducing MetricsSnapshot
- Resolved critical security vulnerabilities in heuristic address extraction
- Progress: Updated TODO audit from 10% to 35% complete

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Krypto Kajun
2025-10-17 00:12:55 -05:00
parent f358f49aa9
commit 850223a953
8621 changed files with 79808 additions and 7340 deletions

View File

@@ -0,0 +1 @@
v1 5b01b57df46ea121c1d670a780b7b295d6f9b3914973f90839024ec3b9651273 e72bf3495dc88123c735d4eaae7a79117ec8bd2d5c377bed0b75d85aeb6c3eb3 167 1760323140245663100

View File

@@ -0,0 +1 @@
v1 5b04c10fb887469b2daad12d4a1ee6bf0bda3c200288e5bef9ded9aad8aa9222 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323127521029698

View File

@@ -0,0 +1 @@
v1 5b13485e4b7f630b2a79f57a2aa42cc5a1ebe8fce812cdd1cf45e47552be9987 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323119729600355

View File

@@ -0,0 +1 @@
v1 5b171a2d16fa09ce9589d95ddec4e5ee18c5d7d2fd176760a194253c3662d757 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324488530718666

View File

@@ -0,0 +1 @@
v1 5b1a483a977a32fda08d2ff4aa4bfdcdbe7f428714320e911d3bbd5c7979c503 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324481024520908

View File

@@ -0,0 +1 @@
v1 5b1c93e52256a6543cff166dbbb00757b3cda4ab4d6dfe5fdeb91f1f0d550320 a8444ae197c31a3d7ed8183313d99621fd3fadd9632ed015e469477021244618 235 1760324480861986690

View File

@@ -0,0 +1 @@
v1 5b204230729a25b2cf65d56d6f47da4f64820079430069d923863f8daf06802e 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323117613605865

View File

@@ -0,0 +1 @@
v1 5b333bde7320cc90642a5876f1d35297066319dbfa5e990f91a1fa4b9154e2bd 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323119614971938

View File

@@ -0,0 +1 @@
v1 5b335e05393b8330d76ea090aa34afdf6debfb4030c55b50699a4724e684b2ac 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323128292748926

View File

@@ -0,0 +1 @@
v1 5b36c2b89b374bc5c0084b46fa541d659b8d6bc873434c40c30bf80e049ceea9 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324484935963979

View File

@@ -0,0 +1 @@
v1 5b381296324b77abe6b2c0da643ee6769bd56c254387927468f6fcb9397b8292 60c2ba21e6f1a12e899acb1f1132d6736cf8b8299e68872fc5f36fd0329f7678 248 1760324483480682762

View File

@@ -0,0 +1 @@
v1 5b45825c2a0350fd23326bb7b46dd0f6b4b7e892f0dcbf3307f15b268da274df 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324488425424236

View File

@@ -0,0 +1 @@
v1 5b472be8999f1b60f3d71a478ad7075b348bfbf78d8b203f8cc249f7bf553b23 04535208746acd887df87f10c2b15fa62704d9ac7e177db2411bcfe968a6a771 184 1760323123651537063

View File

@@ -0,0 +1 @@
v1 5b4f5a390f4e346336e86af6abba22fb5903be6c78fe10b9e78945cd3aa4cec5 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323506324600409

View File

@@ -0,0 +1 @@
v1 5b529f5a223f29f3aa56b52fac4aa129cb4c39fc26ef06abd3aea27662d8e476 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323120356058430

View File

@@ -0,0 +1 @@
v1 5b5301acf4e36926c8ba1da428e652c4be7e5d5bb36b988a110db078d4f5bb4c 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323121440784624

View File

@@ -0,0 +1 @@
v1 5b5e7579b8400e9abd27ed7f00f6cdd59b9fadee41ec4317904ae1bb40072a4a 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324482018894541

View File

@@ -0,0 +1 @@
v1 5b6c9a4fbf61e8f0121e954c4f30bab28bf0763b86cbe4a8801e9e9fcbfb4545 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324482440918553

View File

@@ -0,0 +1 @@
v1 5b6d10db3f27e9104e13505a2c56cfc4ada08fcea1c0701f1cd5940a15144587 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760324486409004960

View File

@@ -0,0 +1 @@
v1 5b6da99629cfbe67fe9ad7c31ea25fe61c1b3ab0208b95063d259cab352292b4 294bb8c27d074bf8617db2da6bfdf950728b0851eb34fba7445fe7ccdeab1423 5881 1760323144217826987

View File

@@ -0,0 +1 @@
v1 5b791a24e25003df0f91a6c0b1bc770d9dc35e51c145ada3a00e86bac965c786 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323128026049293

View File

@@ -0,0 +1 @@
v1 5b8385a2f59f8b3b3dbc15ccc2709bd4ea78b8281af8a28d36981d45d074946f 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323126743598852

View File

@@ -0,0 +1 @@
v1 5b8f30fa50f69726ca5bd7a310f80577037bfbbd9fb94c46dcc14e73b22d3307 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323504397451981

View File

@@ -0,0 +1 @@
v1 5bb433aa320872e5aba28eb037096435d5b67aba72996c11626671b9df13612c 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323119168736235

View File

@@ -0,0 +1 @@
v1 5bd9156bd4a150187748a13db1269ead1346cfa184c0086ecd7685c227b56784 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323117097069696

View File

@@ -0,0 +1 @@
v1 5bde5671e8461d371209322b19708ca6f2a3685ecf233574a3e3e45505e77913 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323121867997696

View File

@@ -0,0 +1 @@
v1 5bdff8e29fd1c6db8523d168d2d9fcdb268ab1ea7a436307a7c86c87b62f9462 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323128024012785

View File

@@ -0,0 +1 @@
v1 5bec112f8d887b47641e30d186344fd880638001ae14284cb7c8cd1338e9fe4f 557069598b8a7fd4858f116aabb7a5c5ed4e84219274689285c350359218c3cc 55 1760323124927083890

View File

@@ -0,0 +1 @@
v1 5bf0555f1fb3973d4aa84ccabf7318817f67504c2dbb9a840aa9db638f81ad0d 8f566bc6331eb960ad061d2a5fdbfb6b261c60ba2f2daf4fdac63f1c061082b2 1643 1760324695854099681