Create Minecraft bots with a powerful, stable, and high level JavaScript API.
This report summarizes scanner evidence for PrismarineJS/mineflayer, a JavaScript project with 7,693 GitHub stars. SynthScan examined 39,112 lines of code across 240 source files, recording 44 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 3.2 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 24 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 9 finding(s).
Which changes need focused human review? 44 finding(s).
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.
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.
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.
The scanner identified 44 distinct pattern matches across 14 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | examples/telegram.js | 29 | if (ctx.update.message.chat.id.toString() === process.argv[3]) { | CODE |
| CRITICAL | examples/crossbower.js | 36 | const isEnchanted = bot.heldItem.nbt.value.Enchantments ? bot.heldItem.nbt.value.Enchantments.value.value.find(encha | CODE |
| CRITICAL | examples/book.js | 59 | book.nbt.value.pages.value.value.forEach((page, i) => bot.chat(`Page ${i + 1}: ${page.replace(/§[a-z0-9]/g, '')}`)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/python/chatterbox.py | 77 | bot.chat(f"I am at {p.toString()}") | CODE |
| HIGH | examples/python/chatterbox.py | 80 | bot.chat(f"You are at {p.toString()}") | CODE |
| HIGH | examples/python/chatterbox.py | 103 | bot.chat(f"Spawn is at {bot.spawnPoint.toString()}") | CODE |
| HIGH | examples/python/chatterbox.py | 149 | bot.chat(f"I have been forced to move to {p.toString()}") | CODE |
| HIGH | examples/python/chatterbox.py | 226 | console.log(f"Look out! A {entity.displayName} spawned at {p.toString()}") | CODE |
| HIGH | examples/python/chatterbox.py | 231 | console.log(f"There's a {entity.displayName} at {p.toString()}") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/zh/README_ZH_CN.md | 227 | * [scaffold](https://github.com/andrewrk/mineflayer-scaffold) - 到达目标目的地,即使您必须建造或破坏块才能这样做 [YouTube 演示](http://youtu.be/jk | COMMENT |
| MEDIUM | docs/br/README_BR.md | 192 | * [scaffold](https://github.com/andrewrk/mineflayer-scaffold) - ir para um destino específico mesmo que seja necessário | COMMENT |
| MEDIUM | docs/fr/README_FR.md | 197 | * [scaffold](https://github.com/PrismarineJS/mineflayer-scaffold) - trouver le meilleur chemin vers une destination pré | COMMENT |
| MEDIUM | docs/es/README_ES.md | 191 | * [scaffold](https://github.com/andrewrk/mineflayer-scaffold) - ir a un destino específico incluso si es necesario cons | COMMENT |
| MEDIUM | docs/tr/README_TR.md | 193 | * [scaffold](https://github.com/andrewrk/mineflayer-scaffold) - bir hedefe blok koyarak | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/book.js | 31 | print() | CODE |
| HIGH | examples/book.js | 54 | print() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | docs/update_to_1_21_5.md | 261 | ### Step 2: Run Current Tests | COMMENT |
| LOW⚡ | docs/update_to_1_21_5.md | 267 | ### Step 3: Investigate Specific Issues | COMMENT |
| LOW⚡ | docs/update_to_1_21_5.md | 276 | ### Step 4: Implement Fixes | COMMENT |
| LOW⚡ | docs/update_to_1_21_5.md | 282 | ### Step 5: Validate Fixes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/python/chatterbox.py | 1 | # ========================================================================== | COMMENT |
| MEDIUM | examples/python/chatterbox.py | 14 | # =========================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/plugins/game.js | 21 | function getBrandCustomChannelName () { | CODE |
| LOW | lib/plugins/entities.js | 340 | function handleEntityTeleportLegacy (packet) { | CODE |
| LOW | lib/plugins/entities.js | 355 | function handleEntityTeleportRelative (packet) { | CODE |
| LOW | lib/plugins/entities.js | 464 | function handleBotUsedFireworkRocket (fireworkEntityId, fireworkInfo) { | CODE |
| LOW | lib/plugins/inventory.js | 823 | function playerInventorySlotToWindow (slotId) { | CODE |
| LOW | lib/plugins/physics.js | 141 | function sendPacketPositionAndLook (position, yaw, pitch, onGround) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/api.md | 1361 | COMMENT | |
| LOW | docs/update_to_1_21_5.md | 81 | ```javascript | COMMENT |
| LOW | docs/ru/api_ru.md | 1341 | COMMENT | |
| LOW | docs/ru/api_ru.md | 1361 | #### "entityCrouch" (entity) | COMMENT |
| LOW | examples/python/chatterbox.py | 1 | # ========================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/externalTests/book.js | 8 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | test/externalTests/book.js | 8 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna | CODE |
| LOW | examples/book.js | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | examples/book.js | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/commands.yml | 18 | # NOTE: You must specify a Personal Access Token (PAT) with repo access here. While you can use the default GITH | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/ci.yml | 88 | # TRACE is cheap (<1% runtime) and only written by the harness bot, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/python/chatterbox.py | 15 | CODE | |
| LOW | examples/python/chatterbox.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/python/chatterbox.py | 40 | CODE | |
| LOW | examples/python/chatterbox.py | 223 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/python/chatterbox.py | 49 | except Exception: | CODE |