chain-insights 0.80.0 → 0.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -428,13 +428,16 @@ not yet proven to have lost money) and `:OnMoneyTrail` (on the trail the
428
428
  evidence walk followed from an accused address). Beside the marks, sorted
429
429
  lists say why: `risk_claims` on `:Scam`, `:Poisoned` and `:Sanctioned`,
430
430
  `protection_claims` on `:Victim` and `:Targeted`, `traced_claims` on
431
- `:OnMoneyTrail`, and `suspect_labels` for an address that used a mixer pool.
431
+ `:OnMoneyTrail`, and `suspect_labels` for a warning or a record that accuses
432
+ nobody: an address that used a mixer pool, or a token that copies a listed
433
+ token's name (`FAKE_TOKEN` there is a copied name, never a scam).
432
434
  The values and their meaning are in
433
435
  [Graph tools](graph-tools.md#judgement-marks-and-their-claims).
434
436
 
435
437
  | Form | Result |
436
438
  | ------------------------------------------------------------- | ---------------------------------------- |
437
439
  | `MATCH (a:Scam) WHERE "FAKE_TOKEN" IN a.risk_claims RETURN a.address, a.risk_claims LIMIT 25` | ✅ the mark is the anchor |
440
+ | `MATCH (a:Token) WHERE "FAKE_TOKEN" IN a.suspect_labels RETURN a.address, a.suspect_labels LIMIT 25` | ✅ the mark is the anchor |
438
441
  | `MATCH (a:Address {address: "0x1111111111111111111111111111111111111111"}) RETURN a.protection_claims LIMIT 1` | ✅ anchored on one address |
439
442
  | `MATCH (a:Address) WHERE "FAKE_TOKEN" IN a.risk_claims` | refused: no mark and no address |
440
443
 
@@ -426,14 +426,15 @@ sorted list on the node, beside the mark.
426
426
  | `:Victim` | `protection_claims` | `VICTIM` |
427
427
  | `:Targeted` | `protection_claims` | `ADDRESS_POISONING_TARGET`, an older value |
428
428
  | `:OnMoneyTrail` | `traced_claims` | the trail values below |
429
- | none | `suspect_labels` | `MIXER_DEPOSITOR`, `MIXER_WITHDRAWER` |
429
+ | none | `suspect_labels` | `FAKE_TOKEN`, `MIXER_DEPOSITOR`, `MIXER_WITHDRAWER` |
430
430
 
431
431
  What each value means:
432
432
 
433
433
  | Value | Meaning |
434
434
  | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
435
- | `FAKE_TOKEN` | A fake token: a spoof contract that imitates a real token. |
436
- | `FAKE_TOKEN_DEPLOYER` | The creator of a fake token. |
435
+ | `FAKE_TOKEN` on `:Scam`, in `risk_claims` | A fake-token scam: a token that copies a listed token and was sent to holders of the real token, or used as poisoning bait. |
436
+ | `FAKE_TOKEN` in `suspect_labels` | A copied name: a token that copies the name of a listed token. A record that accuses nobody: no `:Scam`, no `is_scam`, never called a scam. |
437
+ | `FAKE_TOKEN_DEPLOYER` | The sender of the transaction that created a fake-token scam, even through a factory. |
437
438
  | `FAKE_TOKEN_LP` | The wallet that seeded a fake token's pool and pulled its liquidity after the buyers paid. |
438
439
  | `ADDRESS_POISONING` | A poisoner: a look-alike address that sent worthless dust so the target copies it from its history. `:Poisoned`, never `:Scam`. |
439
440
  | `INBOUND_IMPERSONATION` | A look-alike address that paid the target to get into its history. |
@@ -456,7 +457,10 @@ What each value means:
456
457
  | `MIXER_WITHDRAWER` | It took money out of a mixer pool. A warning, not a theft. |
457
458
 
458
459
  - Ask by mark, `MATCH (a:Scam) WHERE "FAKE_TOKEN" IN a.risk_claims` for fake
459
- tokens, or anchor on one full address. The mark is the anchor, and a
460
+ tokens, or anchor on one full address.
461
+ - A fake-token list asks both lists and keeps them apart: the scams on
462
+ `:Scam`, then the copied names, `MATCH (a:Token) WHERE "FAKE_TOKEN" IN
463
+ a.suspect_labels`. A copied name is a record, never a scam. The mark is the anchor, and a
460
464
  `WHERE` on its own properties is allowed. A `WHERE` with no mark and no
461
465
  address is refused.
462
466
  - The graph holds no link from an accused address to its victims. Answer per
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chain-insights",
3
- "version": "0.80.0",
3
+ "version": "0.80.1",
4
4
  "description": "AML investigation CLI and MCP proxy for blockchain risk screening and Chain Insights Graph access",
5
5
  "homepage": "https://chain-insights.ai",
6
6
  "repository": {
@@ -221,7 +221,7 @@ Marks say what an address is. They sit beside the kind and are never an anchor:
221
221
  MATCH (a:Address {address: "0xc33acc93942105c57602e59e8e448c20ba718a85"})-[w:SWAPPED]->(a)
222
222
  RETURN w.swap_count AS swap_count, w.sold_usd AS sold_usd, w.bought_usd AS bought_usd, w.pools AS pools LIMIT 1
223
223
  ```
224
- - `:Scam` (`is_scam`), `:Poisoned`, `:Victim` (`is_victim`), `:Targeted` and `:OnMoneyTrail` are judgement marks from the labels layer. Why the mark is there sits in a sorted list on the node: `risk_claims` beside `:Scam`, `:Poisoned` and `:Sanctioned`, `protection_claims` beside `:Victim` and `:Targeted`, `traced_claims` beside `:OnMoneyTrail`. `suspect_labels` says the address itself used a mixer pool, and has no mark of its own. See [Judgement marks](#judgement-marks-scams-victims-and-trails).
224
+ - `:Scam` (`is_scam`), `:Poisoned`, `:Victim` (`is_victim`), `:Targeted` and `:OnMoneyTrail` are judgement marks from the labels layer. Why the mark is there sits in a sorted list on the node: `risk_claims` beside `:Scam`, `:Poisoned` and `:Sanctioned`, `protection_claims` beside `:Victim` and `:Targeted`, `traced_claims` beside `:OnMoneyTrail`. `suspect_labels` holds a warning or a record that accuses nobody: the address used a mixer pool, or it is a token that copies a listed token's name. It has no mark of its own. See [Judgement marks](#judgement-marks-scams-victims-and-trails).
225
225
  - A basket is a Robinhood stock-basket token: one token that holds several stock tokens in near-equal USD weights. One factory, `0xe78b036bd6da158cd61a3dac3f67e18f62ecddfd`, creates every basket, and one router, `0xb672a5d825f82dea8574711d1da696fcc48d2ae0`, mints and redeems them. A basket is `:Protocol` and `:Token`, and its `labels` carry the word `Basket`. The factory is `:Protocol` and its `labels` carry `BasketFactory`. The router has no mark of its own beyond `:Contract`. See [Baskets](#baskets-is-this-a-basket-and-what-does-it-trade).
226
226
 
227
227
  **Ask by mark.** A question that names a kind of thing (mixers, launchpad pools, NFT collections, tokens of one standard, arbitrage bots) is a label match on the mark, a probe the server answers from the label index: nine `:Mixer` rows come back in 13 ms, a count of 2.4 million `:Token` in 4 s.
@@ -285,13 +285,15 @@ A mark says what the labels layer judged. The claims list beside it says why. Th
285
285
 
286
286
  | Mark | List | Value: what it means |
287
287
  | --- | --- | --- |
288
- | `:Scam` | `risk_claims` | `FAKE_TOKEN`: a fake token, a spoof contract that imitates a real token. `FAKE_TOKEN_DEPLOYER`: its creator. `FAKE_TOKEN_LP`: the wallet that seeded its pool and pulled the liquidity after the buyers paid. `INBOUND_IMPERSONATION`: a look-alike address that paid the target to get into its history. `PHANTOM_TRANSFER`, `PHANTOM_TRANSFER_EMITTER`, `PHANTOM_ENTRYPOINT`: a contract that writes fake transfer events, claiming a transfer from a look-alike that never happened. `SWEEPER_DELEGATE`: an EIP-7702 delegate that empties the accounts that delegate to it. `SWEEP_BENEFICIARY`: where it sends the funds. `UNSAFE_DELEGATE`: a delegate any caller can use to empty the account. `APPROVAL_DRAINER`: a spender that moved the tokens of at least three owners with their approval or Permit2 within 72 hours of the grant, and paid nothing back. `APPROVAL_DRAIN_BENEFICIARY`: the receiver of those tokens. |
288
+ | `:Scam` | `risk_claims` | `FAKE_TOKEN`: a fake-token scam, a token that copies a listed token and was sent to holders of the real token, or used as poisoning bait. `FAKE_TOKEN_DEPLOYER`: the sender of the transaction that created it, even through a factory. `FAKE_TOKEN_LP`: the wallet that seeded its pool and pulled the liquidity after the buyers paid. `INBOUND_IMPERSONATION`: a look-alike address that paid the target to get into its history. `PHANTOM_TRANSFER`, `PHANTOM_TRANSFER_EMITTER`, `PHANTOM_ENTRYPOINT`: a contract that writes fake transfer events, claiming a transfer from a look-alike that never happened. `SWEEPER_DELEGATE`: an EIP-7702 delegate that empties the accounts that delegate to it. `SWEEP_BENEFICIARY`: where it sends the funds. `UNSAFE_DELEGATE`: a delegate any caller can use to empty the account. `APPROVAL_DRAINER`: a spender that moved the tokens of at least three owners with their approval or Permit2 within 72 hours of the grant, and paid nothing back. `APPROVAL_DRAIN_BENEFICIARY`: the receiver of those tokens. |
289
289
  | `:Poisoned` | `risk_claims` | `ADDRESS_POISONING`: a poisoner, a look-alike address that sent worthless dust so the target copies it from its history. Never `:Scam`. |
290
290
  | `:Sanctioned` | `risk_claims` | `SANCTIONED`: on a sanctions list. |
291
291
  | `:Victim` | `protection_claims` | `VICTIM`: it lost money to a scam the evidence walk traced. It paid the accused, was swept, or was drained after the attempt. Receiving a fake token or dust never makes a victim. |
292
292
  | `:Targeted` | `protection_claims` | `ADDRESS_POISONING_TARGET`, an older value a lane may still hold: a poisoning target the walk has not proven lost money. Never call it a victim. |
293
293
  | `:OnMoneyTrail` | `traced_claims` | The trail the evidence walk followed from an accused address. `LAUNDERED`: it received the accused's money along the walk and moved it on. `RECEIVED`: it received that money and still holds it (it becomes `LAUNDERED` when it forwards it). `FUNDER`: it funded the accused address. `MIXED`: it received that money and paid it into a mixer pool, where the walk ends. |
294
- | none | `suspect_labels` | `MIXER_DEPOSITOR`, `MIXER_WITHDRAWER`: it put money into, or took money out of, a mixer pool. A warning, not a theft. |
294
+ | none | `suspect_labels` | `FAKE_TOKEN`: a copied name, a token that copies the name of a listed token. A record that accuses nobody: no `:Scam`, no `is_scam`. `MIXER_DEPOSITOR`, `MIXER_WITHDRAWER`: it put money into, or took money out of, a mixer pool. A warning, not a theft. |
295
+
296
+ `FAKE_TOKEN` means two things, by the list it sits in. On `:Scam`, in `risk_claims`, it is a fake token with a proven act: it was sent to holders of the real token, or used as poisoning bait. In `suspect_labels` it is a copied name: it accuses nobody, and it is never called a scam. Say "a token that copies the name of a listed token", never "a fake-token scam", for that one.
295
297
 
296
298
  Ask by mark, or anchor on the full address. Never scan a claims list with no mark and no address: it reads every address and times out. A lane that has not written the lists yet returns null for them: name the mark, and say the graph gives no reason yet.
297
299
 
@@ -303,6 +305,14 @@ MATCH (a:Scam) WHERE "FAKE_TOKEN" IN a.risk_claims
303
305
  RETURN a.address AS address, a.risk_claims AS risk_claims, a.labels AS labels LIMIT 25
304
306
  ```
305
307
 
308
+ A fake-token list asks both lists and keeps them apart. After the scams, ask the copied names, anchored on the `:Token` mark, and list them under their own heading as records, not scams:
309
+
310
+ ```cypher
311
+ USE topology
312
+ MATCH (a:Token) WHERE "FAKE_TOKEN" IN a.suspect_labels
313
+ RETURN a.address AS address, a.suspect_labels AS suspect_labels, a.labels AS labels LIMIT 25
314
+ ```
315
+
306
316
  Is this address a victim, and of what? Read its marks and lists first, anchored on the address:
307
317
 
308
318
  ```cypher