Skip to content

v2.9.0

Latest

Choose a tag to compare

@SalyyS1 SalyyS1 released this 18 Nov 10:59

What's New in MinecraftKit v2.9.0

  • mc_audit_packet_codec MCP Tool (NETTY-001 through NETTY-008): Audits Minecraft 1.20.5 through 26.3+ StreamCodec, CustomPacketPayload, PacketEvents/ProtocolLib listeners, and Velocity plugin messaging channels. Computes exact LEB128 VarInt and worst-case UTF-8/collection wire-byte budgets against ServerboundCustomPayloadPacket (32,767 B), ClientboundCustomPayloadPacket (1,048,576 B), and proxy caps; detects unbounded serverbound decode DoS, wire-budget overflow, Netty EventLoop world/blocking calls, ByteBuf ref-count leaks, invalid ResourceLocation channel keys, asymmetric manual read/write order, CONFIGURATION vs PLAY phase mismatches, and plain FriendlyByteBuf usage with registry-backed codecs, with optional OASIS SARIF v2.1.0 output.
  • mc_audit_sql_persistence MCP Tool (SQL-001 through SQL-007): Audits Paper, Folia, and Velocity plugin SQL persistence layers and HikariCP configurations. Computes fleet MySQL connection budgets (maximumPoolSize * server_count) and maxLifetime vs wait_timeout safety margins; catches synchronous tick-thread JDBC calls, SQLite multi-pool SQLITE_BUSY contention without WAL, unclosed Connection/PreparedStatement leaks, SQL string interpolation, direct Bukkit/Folia mutations inside async DB completion callbacks, and missing MySQL/MariaDB server prepared-statement cache properties, with optional OASIS SARIF v2.1.0 output.
  • Diagnostics Lab Browser Upgrade (https://salyys1.github.io/minecraftkit/playground.html): Added client-side Netty StreamCodec wire-budget and HikariCP/SQL persistence auditor alongside Spark flamegraph and Folia 4-domain trace verification with zero network calls.
  • Verification: 19 read-only MCP tools validated across 83/83 Python tests, 17/17 Node CLI tests, and deterministic kit validation.