There is nothing inherently wrong with generating code using AI coding assistants. Most engineering teams rely on LLMs daily for scaffolding, refactors, and test generation.

The real architectural bottleneck is review throughput versus generation velocity - specifically how different language ecosystems absorb unverified dependencies, dynamic import patterns, and silent failure wrappers when pull request volume scales up.

While maintaining the SlopCodeMonitor empirical observatory (7,135 open-source repositories, ~3.8B lines of code), one cross-language divergence stood out sharply in the static supply-chain heuristic indices.

Cross-Language Supply-Chain Review Index (0-100 Heuristic Scale)

Across uniform schema and scoring versions (1.0.0 / 2.0.0 / heuristic-density-v1), here is how the largest ecosystems compare on static dependency and supply-chain review prompts:

(Full 121-language distribution available in the Supply-Chain Pattern Signals by Language table.)

Methodology caveat: These scores are deterministic static heuristics meant to prioritize human code review and dependency verification - not proof of AI authorship and not confirmed malicious or hallucinated package incidents.

Why Python Scores ~8x Higher Than Rust and Go

Three structural properties explain why Python repositories surface dramatically higher static dependency-review density than Go (1.40) or Rust (1.71):

  1. Runtime Import Resolution vs Compile-Time Module Graphs: In Rust (Cargo.lock + rustc) and Go (go.sum + explicit module paths), unresolved or undeclared transitive imports fail compilation immediately. In Python, optional imports nested inside try / except ImportError: branches, importlib.import_module() calls, and plugin registries routinely defer resolution to runtime.
  2. Rapid AI Agent & Glue-Code Concentration: Python hosts the overwhelming majority of newly created LLM orchestration, RAG, and skill-wrapper repositories, where contributors frequently copy multi-provider SDK snippets without pruning unused imports or pinning transitive hashes.
  3. Namespace vs Package-Name Mismatches: PyPI distribution names (scikit-learn, pillow, pyyaml, beautifulsoup4) frequently differ from top-level import identifiers (sklearn, PIL, yaml, bs4), creating fertile ground for slopsquatting when coding assistants hallucinate plausible package names in requirements.txt.

Reference Baselines Across Well-Known Repositories

You can inspect individual repository pattern breakdowns directly (or search any of the 7,135 repositories interactively via the Hugging Face Explorer Space):

(See also the Lowest-Signal Cohort Shortlist and full scoring methodology.)

Practical Takeaways for Engineering Leads & AppSec Teams

If your organization runs polyglot services, applying identical PR review gates across Go, Rust, and Python wastes reviewer attention:

  • On Python services: Enforce strict lockfile-to-AST import reconciliation (pyproject.toml / uv.lock vs ast.Import / ast.ImportFrom), ban bare silent exception handlers (except Exception: pass), and require explicit review on any newly added PyPI package.
  • On TypeScript / Node: Audit postinstall scripts (--ignore-scripts in CI where feasible) and flag dynamic require() / import() expressions.
  • On Go & Rust: Focus reviewer budget less on phantom imports and more on cognitive ownership (unsafe blocks in Rust, goroutine lifecycle/context cancellation leaks in Go).

All underlying CSVs are openly licensed (CC-BY-4.0) on Hugging Face at Evan-Mercer-Dev/slopcodemonitor-oss-benchmark. Feedback on false positives or edge cases in specific ecosystems is very welcome via the public tracker.