AI Slop Code RIsk Monitor

bmoscon/cryptofeed

Cryptocurrency Exchange Websocket Data Feed Handler

32.1 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for bmoscon/cryptofeed, a Python project with 2,920 GitHub stars. SynthScan examined 16,800 lines of code across 167 source files, recording 204 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 32.1 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

32.1
Adjusted Signal
32.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
2.9K
Stars
Python
Language
16.8K
Lines of Code
167
Files
204
Pattern Hits
2026-10-12
Scan Date
0.52
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 85 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.4/100 · LOW

Are imports declared and package/API names verified? 19 finding(s).

Agent Over-Engineering Ratio 73.1/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 117 finding(s).

PR Review Velocity Impact 85.4/100 · CRITICAL

Which changes need focused human review? 204 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 87MEDIUM 4LOW 113

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 204 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition75 hits · 375 pts
SeverityFileLineSnippetContext
HIGHtests/util.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/unit/test_exchange.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/unit/test_binance_depth_stream.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/unit/test_symbol_normalization.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_redis.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/conftest.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_kafka.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_socket.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_http.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_mongo.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_zmq.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_influxdb.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_questdb.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHtests/backend/test_postgres.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHexamples/record.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHexamples/demo.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/_json.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/callback.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/config.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/log.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/connection_handler.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchange.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/__init__.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/feed.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/nbbo.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/connection.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/symbols.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exceptions.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/feedhandler.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/capture/playback.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/capture/_zstd.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/capture/recorder.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/capture/__init__.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/util/time.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/okx.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/kraken_futures.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/upbit.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/cryptodotcom.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/hyperliquid.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bybit.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/binance_futures.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/kraken.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/kucoin_futures.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/independent_reserve.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/htx_swap.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/binance_us.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bitfinex.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bitstamp.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/poloniex.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/__init__.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/gemini.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/coinbase.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/kucoin.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/binance_delivery.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bithumb.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bitget.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/gate.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/htx.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/bitflyer.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
HIGHcryptofeed/exchanges/phemex.py0copyright (c) 2017-2026 bryant moscon - bmoscon@gmail.com please see the license file for the terms and conditions assocSTRING
15 more matches not shown…
Deep Nesting68 hits · 68 pts
SeverityFileLineSnippetContext
LOWcryptofeed/config.py50CODE
LOWcryptofeed/connection_handler.py76CODE
LOWcryptofeed/connection_handler.py136CODE
LOWcryptofeed/exchange.py93CODE
LOWcryptofeed/feed.py184CODE
LOWcryptofeed/feed.py225CODE
LOWcryptofeed/feed.py367CODE
LOWcryptofeed/feed.py486CODE
LOWcryptofeed/connection.py336CODE
LOWcryptofeed/capture/playback.py87CODE
LOWcryptofeed/capture/pcap.py484CODE
LOWcryptofeed/exchanges/okx.py70CODE
LOWcryptofeed/exchanges/okx.py114CODE
LOWcryptofeed/exchanges/okx.py346CODE
LOWcryptofeed/exchanges/okx.py382CODE
LOWcryptofeed/exchanges/kraken_futures.py265CODE
LOWcryptofeed/exchanges/cryptodotcom.py109CODE
LOWcryptofeed/exchanges/cryptodotcom.py264CODE
LOWcryptofeed/exchanges/cryptodotcom.py353CODE
LOWcryptofeed/exchanges/hyperliquid.py147CODE
LOWcryptofeed/exchanges/bybit.py91CODE
LOWcryptofeed/exchanges/bybit.py239CODE
LOWcryptofeed/exchanges/bybit.py269CODE
LOWcryptofeed/exchanges/bybit.py299CODE
LOWcryptofeed/exchanges/bybit.py340CODE
LOWcryptofeed/exchanges/kraken.py141CODE
LOWcryptofeed/exchanges/kraken.py248CODE
LOWcryptofeed/exchanges/independent_reserve.py91CODE
LOWcryptofeed/exchanges/htx_swap.py128CODE
LOWcryptofeed/exchanges/htx_swap.py179CODE
LOWcryptofeed/exchanges/bitfinex.py115CODE
LOWcryptofeed/exchanges/bitfinex.py351CODE
LOWcryptofeed/exchanges/bitfinex.py384CODE
LOWcryptofeed/exchanges/bitfinex.py412CODE
LOWcryptofeed/exchanges/bitstamp.py129CODE
LOWcryptofeed/exchanges/poloniex.py94CODE
LOWcryptofeed/exchanges/gemini.py106CODE
LOWcryptofeed/exchanges/coinbase.py207CODE
LOWcryptofeed/exchanges/kucoin.py146CODE
LOWcryptofeed/exchanges/kucoin.py194CODE
LOWcryptofeed/exchanges/kucoin.py229CODE
LOWcryptofeed/exchanges/bitget.py67CODE
LOWcryptofeed/exchanges/bitget.py283CODE
LOWcryptofeed/exchanges/bitget.py348CODE
LOWcryptofeed/exchanges/gate.py152CODE
LOWcryptofeed/exchanges/gate.py179CODE
LOWcryptofeed/exchanges/gate.py261CODE
LOWcryptofeed/exchanges/htx.py177CODE
LOWcryptofeed/exchanges/deribit.py299CODE
LOWcryptofeed/exchanges/bitflyer.py35CODE
LOWcryptofeed/exchanges/bitflyer.py126CODE
LOWcryptofeed/exchanges/phemex.py96CODE
LOWcryptofeed/exchanges/phemex.py292CODE
LOWcryptofeed/exchanges/dydx.py97CODE
LOWcryptofeed/exchanges/dydx.py132CODE
LOWcryptofeed/exchanges/mexc.py35CODE
LOWcryptofeed/exchanges/mexc.py169CODE
LOWcryptofeed/exchanges/binance.py55CODE
LOWcryptofeed/exchanges/binance.py151CODE
LOWcryptofeed/exchanges/binance.py288CODE
8 more matches not shown…
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHtests/backend/test_kafka.py45except TopicAlreadyExistsError:CODE
HIGHtests/backend/test_influxdb.py45except aiohttp.ClientError:CODE
HIGHcryptofeed/exchanges/bitfinex.py433except IndexError:CODE
HIGHcryptofeed/backends/backend.py156except asyncio.QueueFull:CODE
HIGHcryptofeed/backends/backend.py186except asyncio.QueueFull:CODE
Excessive Try-Catch Wrapping19 hits · 23 pts
SeverityFileLineSnippetContext
LOWexamples/demo.py55 except Exception as e:CODE
LOWcryptofeed/connection_handler.py62 except Exception:CODE
LOWcryptofeed/connection_handler.py115 except Exception as e:CODE
LOWcryptofeed/connection_handler.py143 except Exception:CODE
MEDIUMcryptofeed/connection_handler.py76def run(self):CODE
LOWcryptofeed/exchange.py139 except Exception as e:CODE
LOWcryptofeed/feed.py257 except Exception as e:CODE
LOWcryptofeed/feed.py284 except Exception as e:CODE
LOWcryptofeed/feed.py339 except Exception:CODE
LOWcryptofeed/feedhandler.py218 except Exception:CODE
MEDIUMcryptofeed/feedhandler.py215def _run_feed(self, feed):CODE
LOWcryptofeed/capture/playback.py456 except Exception:CODE
MEDIUMcryptofeed/capture/playback.py448def _missing_symbol_routes(self, feed) -> list:CODE
LOWcryptofeed/capture/recorder.py53 except Exception:CODE
MEDIUMcryptofeed/capture/recorder.py49def _version() -> str:CODE
LOWcryptofeed/exchanges/okx.py65 except Exception as e:CODE
LOWcryptofeed/backends/backend.py243 except Exception as e:CODE
LOWcryptofeed/backends/quest.py45 except Exception:CODE
LOWcryptofeed/backends/http.py25 except Exception:CODE
Cross-Language Confusion7 hits · 18 pts
SeverityFileLineSnippetContext
HIGHcryptofeed/exchanges/htx_swap.py134 "estimated_rate": null,STRING
HIGHcryptofeed/exchanges/deribit.py140 "volume" : null,STRING
HIGHcryptofeed/exchanges/deribit.py141 "low" : null,STRING
HIGHcryptofeed/exchanges/gate_futures.py76 "error": null,STRING
HIGHcryptofeed/exchanges/gate_futures.py106 "error": null,STRING
HIGHcryptofeed/exchanges/gate_futures.py194 "error": null,STRING
HIGHcryptofeed/exchanges/gate_futures.py309 "error": null,STRING
Hyper-Verbose Identifiers13 hits · 13 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_exchange.py26def test_no_missing_sample_data():CODE
LOWtests/unit/test_poloniex.py15async def test_trade_uses_base_quantity_and_emits_each_batch_entry(batch_size):CODE
LOWtests/backend/test_kafka.py60async def test_illegal_topic_is_rejected(kafka):CODE
LOWtests/backend/test_socket.py146async def test_udp_chunks_oversized_messages(udp):CODE
LOWtests/backend/test_socket.py163async def test_unknown_protocol_is_rejected():CODE
LOWtests/backend/test_http.py75async def test_rejection_is_dropped_not_retried(server):CODE
LOWtests/backend/test_http.py87async def test_server_error_is_retried(server):CODE
LOWtests/backend/test_influxdb.py61async def test_bad_token_is_not_retried(influx):CODE
LOWtests/backend/test_postgres.py67async def test_missing_table_is_reported(postgres):CODE
LOWcryptofeed/exchange.py211 def exchange_symbol_to_std_symbol(self, symbol: str) -> str:CODE
LOWcryptofeed/exchange.py221 def std_symbol_to_exchange_symbol(self, symbol: Union[str, Symbol]) -> str:CODE
LOWcryptofeed/feed.py470 def check_bid_ask_overlapping(self, data) -> bool:CODE
LOWcryptofeed/exchanges/bybit.py411 async def _ticker_open_interest_funding_index(self, msg: dict, timestamp: float, conn: AsyncConnection, market: str)CODE
Unused Imports12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/backend/test_redis.py10CODE
LOWcryptofeed/__init__.py9CODE
LOWcryptofeed/capture/__init__.py7CODE
LOWcryptofeed/capture/__init__.py7CODE
LOWcryptofeed/capture/__init__.py7CODE
LOWcryptofeed/capture/__init__.py7CODE
LOWcryptofeed/capture/__init__.py8CODE
LOWcryptofeed/capture/__init__.py9CODE
LOWcryptofeed/capture/__init__.py9CODE
LOWcryptofeed/capture/__init__.py9CODE
LOWcryptofeed/capture/__init__.py9CODE
LOWcryptofeed/exchanges/__init__.py7CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWcryptofeed/feed.py72CODE
LOWcryptofeed/capture/playback.py473CODE
LOWcryptofeed/capture/playback.py501CODE
LOWcryptofeed/backends/postgres.py53CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcryptofeed/__init__.py12__all__ = ['FeedHandler']CODE