feat(wallet_screening): unify TRM/scam tx risk index for analysis#140
Conversation
|
Thanks @Hendobox, strong work on 2.2a (#138 / #115). The tx-risk index at init, TRM merge into Code: Looks good to merge once the commit metadata is fixed. Scope is correct (skill + tests only). Additive Blocker, co-author trailer: The commit includes
Please amend the commit (same branch/PR is fine) so the message has only your authorship, no Cursor co-author line. Then comment here and we’ll merge. How to fix (recommended)
git config user.name
git config user.emailUse the email tied to your GitHub account (or GitHub noreply). Check https://github.com/settings/emails
git commit --amendRemove the
git log -1 --format=fullShould show only you as author, no
git push --force-with-lease origin feat/issue-115-2-2a-tx-risk-indexNo need to close the PR or open a new branch if the diff stays the same, amend + force-push is the cleanest path I believe, but consult with your Cursor agent for best path also. Once that’s done, I’ll merge and we’ll mark 2.2a done on the #115 tracker. Thanks again for carrying 2.1 and 2.2a. <3 |
Merge malicious contracts and TRM-normalized ETH addresses into a tx-risk index built at init, and use it for malicious interaction detection during tx analysis. Add targeted regression tests to verify TRM counterparty detection and index merging across core and additional sources. Closes ARPAHLS#138 Relates to ARPAHLS#115
a43932d to
bc3e9fc
Compare
|
Commit amended. Ready for merge. |
Summary
malicious_scs_2025.jsonrecords0x+ 40 hex addresses are indexed.source_file,sources) for tx risk hits.Why
Phase 2.2a under #115 requires extending tx screening coverage beyond the small core malicious list so TRM/scam counterparties are detected during transaction analysis.
Tests
python3 -m pytest tests/skills/finance/test_wallet_screening.py -vtest_tx_risk_detects_uniswap_trm_counterpartytest_tx_risk_index_merges_core_and_additional_sourcesScope confirmation
This PR is intentionally scoped to 2.2a only:
Closes #138
Relates to #115