Repository navigation
Add the official mods - #1
Merged
Merged
Conversation
Replaces the two draft placeholders. Every entry points at release
`mods-2026.10.23` of Blockheads-Club/mod-sdk (to be created after approval),
with sha256 and size of the packages built by scripts/build-official-mods.sh
(commit 84b8171 of mod-sdk branch feat/official-mods). testdata/packages holds
those exact files, so scripts/check-local.sh passes offline (10 mods, labels
needs-security-review + new-mod, which this review answers).
| id | version | sha256 | size |
| chat-filter | 0.1.0 | 75ad57615eb2da03e64957ce95d5d8cce4d84e5fd1bca662e056af94fa92050e | 1853 |
| chat-filter-rust | 0.1.0 | 643b4490f4cf612e611aa5684bd16f05e0961b47135adfd8d278b1c3b97be7a8 | 39131 |
| economy | 1.0.0 | cb0420c30794366e801cfaefacb5eaa3df80e0b8390182255997a66ac7b5b88c | 2379 |
| hello-lua | 0.1.0 | f5ba606a82aabf2406b9c1476c76e5cc7162e6f0abb05a00d2350a35190bca53 | 1408 |
| hello-rust | 0.1.0 | 96574b9b91edd678d3e145c5f41264ba39aad636d04029e0442d14e2ec33a9c3 | 34529 |
| landclaim | 1.0.0 | 48c635dd0128a2fe815b9c098030f36de4b46a4592402417ee9343223d816068 | 1950 |
| perms | 1.0.0 | c2d0a32d8cf1989c7d4e1acb8efabb5e339c9e6554edd4b28eb2fb1c62d4e471 | 1972 |
| scheduler-lua | 0.1.0 | ddaaa95811674dcaafe049892a8de18cb55e0cc4f51f3dd109cc8f6206a49848 | 1746 |
| scheduler-rust | 0.1.0 | 2a858990018ad30a5ff2278c00769162685e0b6e876966bb1545690b4283f35b | 58507 |
| shop-rust | 0.1.0 | f589c36c964bdf35fafcdef4aeebca53ce07006015f1eb54f91ca6ccb1404a52 | 31191 |
Security review (every source file read: all .luau, all four lib.rs, both
.wit files, mod.toml and LICENSE of each package; Rust Cargo.lock reviewed)
Common: no native code, no .so/.jar, no net-http, no world permissions, no
channels. Rust packages import only blockheads:api interfaces and sandboxed
WASI cli/clocks/io (no sockets, filesystem or http); build-only crates (syn,
wit-bindgen macros) are not linked in. Lua mods run in the Luau sandbox (no io,
os.execute, loadstring). Only permission asked anywhere: `players:chat`
(broadcast), for hello-*, scheduler-*. Sending a chat line to one player needs
no permission in the host (checked in bhmod-core host.rs), so the others
correctly ask for nothing.
- chat-filter / chat-filter-rust: APPROVED. No permissions needed. Cancels
blocked links, masks two words, optional /chatfilter on|off (moderator+).
Fixed word lists, no pattern injection (plain find / literal replace). Logs
only the alias, never message text. Link blocking is trivially bypassed:
a functional limit, not a safety issue.
- economy: APPROVED. Storage only. /pay validates whole positive amounts,
rejects self-pay, withdraws before deposit, errors are caught by pcall.
/eco-give is admin only. No permissions needed.
- perms: APPROVED. Storage only; /perm is admin only; admins/owner have all
nodes by design. Wildcard match compares an exact prefix.
- landclaim: APPROVED. Needs economy ^1, soft perms ^1. Cancels block and
object edits in claimed 16x16 plots for non-owners; bypass for admin/owner
or node landclaim.bypass (service call wrapped in pcall, fail closed).
Claims are keyed by player id, not name.
- hello-lua / hello-rust: APPROVED. players:chat is justified by /hello
broadcast; greeting counter in storage.
- shop-rust: APPROVED. Needs economy ^1. Hand-rolled CBOR encodes constants
only; no user data reaches the encoder except through fixed price table; the
call fails closed ("shop is closed"). No unsafe code.
- scheduler-lua / scheduler-rust: APPROVED AFTER FIXES (mod-sdk commit
84b8171, included in these hashes). Review found two player-triggerable
problems in the first draft: /countdown 2.5 (or NaN in Rust) never reached 0
and broadcast every second until restart; /remind with a negative or huge
delay raised a Luau error (a fault; 3 faults in 60 s disable the mod), and
hitting the per-mod task limit did the same. Now: whole-second countdown,
finite check, delay clamped to 0..86400 s, task-limit error answered
politely. Regression test added to the SDK. players:chat justified by the
broadcast tip and countdown. Remaining low risk: any player can start the
(single, max 10 s) countdown and queue reminders until the task limit.
Known limits, not blockers: mod descriptions are English only; the index has no
licence field (licence is MIT OR Apache-2.0, stated in each package's mod.toml
and LICENSE).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W7Xy6GoKedKNc6gmiBACBA
Mod index checkFailed. Fix the errors below and push again.
|
Contributor
Author
|
Official mods go straight to dev; pushed as f890662. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the two draft placeholders. Every entry points at release
mods-2026.10.23of Blockheads-Club/mod-sdk (to be created after approval),with sha256 and size of the packages built by scripts/build-official-mods.sh
(commit 84b8171 of mod-sdk branch feat/official-mods). testdata/packages holds
those exact files, so scripts/check-local.sh passes offline (10 mods, labels
needs-security-review + new-mod, which this review answers).
| id | version | sha256 | size |
| chat-filter | 0.1.0 | 75ad57615eb2da03e64957ce95d5d8cce4d84e5fd1bca662e056af94fa92050e | 1853 |
| chat-filter-rust | 0.1.0 | 643b4490f4cf612e611aa5684bd16f05e0961b47135adfd8d278b1c3b97be7a8 | 39131 |
| economy | 1.0.0 | cb0420c30794366e801cfaefacb5eaa3df80e0b8390182255997a66ac7b5b88c | 2379 |
| hello-lua | 0.1.0 | f5ba606a82aabf2406b9c1476c76e5cc7162e6f0abb05a00d2350a35190bca53 | 1408 |
| hello-rust | 0.1.0 | 96574b9b91edd678d3e145c5f41264ba39aad636d04029e0442d14e2ec33a9c3 | 34529 |
| landclaim | 1.0.0 | 48c635dd0128a2fe815b9c098030f36de4b46a4592402417ee9343223d816068 | 1950 |
| perms | 1.0.0 | c2d0a32d8cf1989c7d4e1acb8efabb5e339c9e6554edd4b28eb2fb1c62d4e471 | 1972 |
| scheduler-lua | 0.1.0 | ddaaa95811674dcaafe049892a8de18cb55e0cc4f51f3dd109cc8f6206a49848 | 1746 |
| scheduler-rust | 0.1.0 | 2a858990018ad30a5ff2278c00769162685e0b6e876966bb1545690b4283f35b | 58507 |
| shop-rust | 0.1.0 | f589c36c964bdf35fafcdef4aeebca53ce07006015f1eb54f91ca6ccb1404a52 | 31191 |
Security review (every source file read: all .luau, all four lib.rs, both
.wit files, mod.toml and LICENSE of each package; Rust Cargo.lock reviewed)
Common: no native code, no .so/.jar, no net-http, no world permissions, no
channels. Rust packages import only blockheads:api interfaces and sandboxed
WASI cli/clocks/io (no sockets, filesystem or http); build-only crates (syn,
wit-bindgen macros) are not linked in. Lua mods run in the Luau sandbox (no io,
os.execute, loadstring). Only permission asked anywhere:
players:chat(broadcast), for hello-, scheduler-. Sending a chat line to one player needs
no permission in the host (checked in bhmod-core host.rs), so the others
correctly ask for nothing.
blocked links, masks two words, optional /chatfilter on|off (moderator+).
Fixed word lists, no pattern injection (plain find / literal replace). Logs
only the alias, never message text. Link blocking is trivially bypassed:
a functional limit, not a safety issue.
rejects self-pay, withdraws before deposit, errors are caught by pcall.
/eco-give is admin only. No permissions needed.
nodes by design. Wildcard match compares an exact prefix.
object edits in claimed 16x16 plots for non-owners; bypass for admin/owner
or node landclaim.bypass (service call wrapped in pcall, fail closed).
Claims are keyed by player id, not name.
broadcast; greeting counter in storage.
only; no user data reaches the encoder except through fixed price table; the
call fails closed ("shop is closed"). No unsafe code.
84b8171, included in these hashes). Review found two player-triggerable
problems in the first draft: /countdown 2.5 (or NaN in Rust) never reached 0
and broadcast every second until restart; /remind with a negative or huge
delay raised a Luau error (a fault; 3 faults in 60 s disable the mod), and
hitting the per-mod task limit did the same. Now: whole-second countdown,
finite check, delay clamped to 0..86400 s, task-limit error answered
politely. Regression test added to the SDK. players:chat justified by the
broadcast tip and countdown. Remaining low risk: any player can start the
(single, max 10 s) countdown and queue reminders until the task limit.
Known limits, not blockers: mod descriptions are English only; the index has no
licence field (licence is MIT OR Apache-2.0, stated in each package's mod.toml
and LICENSE).
🤖 Generated with Claude Code
https://claude.ai/code/session_01W7Xy6GoKedKNc6gmiBACBA