Check report Stockyard v1.2.0
What an automated read of this exact file found. It is a list of facts about the code, not a safety verdict. Read it, then read the config, then test on a throwaway server.
Compile check
Compiled on the live game box against Rust build 25670169 (game files dated 2026-10-02, Carbon files dated 2026-10-02), 2026-10-04 (4 days ago). "Without shims" means the plugin does not lean on Carbon's compatibility layer for APIs the game has removed, which is the version most likely to keep working after the next Rust update and to run on Oxide.
Stockyard.cs
- With Carbon's shims: compiles
- Without shims: compiles
Hot-path hooks (these run very often; what each one does inside):
| Hook | Line | Does |
|---|---|---|
OnPlayerDeath | 625 | nothing heavy found |
Walks every entity on the server: 1 place.
SHA-256 of this file
797ac2fbaf4faf4bf6501f1a2d3cb0b068ae3846feba2cdb22fdda3efc1250f1
Hooks it registers 8
Findings 16
Network 2
| Level | What | Where | Line |
|---|---|---|---|
| note | URL in source | Stockyard/Stockyard.cs:46 | private const string DefaultArtUrl = "https://directory.mixapps.store/static/mods/stockyard/ui/"; |
| note | Oxide/Carbon web request | Stockyard/Stockyard.cs:1384 | webrequest.Enqueue(url, body, DiscordCallback, this, RequestMethod.POST, DiscordHeaders); |
Steam IDs and admin 7
| Level | What | Where | Line |
|---|---|---|---|
| note | changes or checks admin status | Stockyard/Stockyard.cs:1432 | private bool IsAdmin(BasePlayer player) => player.IsAdmin || permission.UserHasPermission(player.UserIDString, PermAdmin); |
| note | changes or checks admin status | Stockyard/Stockyard.cs:1434 | private bool Allowed(ConsoleSystem.Arg arg) => arg.Connection == null || arg.Player() != null && IsAdmin(arg.Player()); |
| note | changes or checks admin status | Stockyard/Stockyard.cs:1779 | if (IsAdmin(player)) |
| note | changes or checks admin status | Stockyard/Stockyard.cs:2220 | bool admin = IsAdmin(player); |
| note | changes or checks admin status | Stockyard/Stockyard.cs:3282 | private float Inset(BasePlayer player) => IsAdmin(player) ? 48f : 8f; |
| note | changes or checks admin status | Stockyard/Stockyard.cs:4509 | private bool AdminView(BasePlayer player) => IsAdmin(player) && !viewAsPlayer.Contains((ulong)player.userID); |
| note | changes or checks admin status | Stockyard/Stockyard.cs:4517 | if (!IsAdmin(player) || !panelOpen.Contains(id)) return; |
Game control 5
| Level | What | Where | Line |
|---|---|---|---|
| note | Harmony patch | Stockyard/Stockyard.cs:1470 | [HarmonyPatch(typeof(LivestockVendor), nameof(LivestockVendor.PickItems))] |
| note | Harmony patch | Stockyard/Stockyard.cs:1495 | [HarmonyPatch(typeof(LivestockVendor), nameof(LivestockVendor.Server_SelectAnimal))] |
| note | Harmony patch | Stockyard/Stockyard.cs:1532 | [HarmonyPatch(typeof(LivestockVendor), nameof(LivestockVendor.Server_SelectWool))] |
| note | Harmony patch | Stockyard/Stockyard.cs:1553 | [HarmonyPatch(typeof(LivestockVendor), nameof(LivestockVendor.Server_AcceptOffer))] |
| note | Harmony patch | Stockyard/Stockyard.cs:1578 | [HarmonyPatch(typeof(LivestockVendor), nameof(LivestockVendor.ProcessAnimalTransaction))] |
Config writes 2
| Level | What | Where | Line |
|---|---|---|---|
| note | writes the config file | Stockyard/Stockyard.cs:1938 | SaveConfig(); |
| note | writes the config file | Stockyard/Stockyard.cs:1961 | SaveConfig(); |
"blocks": the file is not served until a person looks. "look": worth reading the line. "note": common in honest plugins (a URL, a config write); listed so you know it is there.
What was checked
Outbound network use and URLs, Discord webhooks, process and shell use, native imports, dynamic assembly loading and code generation, unsafe blocks, Base64 decoding and long encoded literals, file writes and deletes, server config and RCON references, hardcoded Steam IDs, admin flag changes, Harmony patches, console commands and server stops, repeating timers, config writes, and the hook names registered. The compile check above builds the file on the live game box against the current Rust and Carbon files, publicized the way Carbon does at boot, with Carbon's compat shims and without them. Not checked: whether the logic is correct or kind, or whether the config it ships with points anywhere.
Versions
| Version | Kind | Size | Findings | Status | Uploaded |
|---|---|---|---|---|---|
| 1.2.0 current | upload | 73 KB | 16 | checked | 2026-10-04 (4 days ago) |
| 1.1.3 | upload | 31 KB | 14 | checked | 2026-10-02 (6 days ago) |
| 1.1.2 | upload | 30 KB | 11 | checked | 2026-10-02 (6 days ago) |
| 1.1.1 | upload | 30 KB | 11 | checked | 2026-10-02 (6 days ago) |
| 1.1.1 | upload | 30 KB | 11 | checked | 2026-10-01 (7 days ago) |
| 1.1.0 | upload | 29 KB | 11 | checked | 2026-10-01 (7 days ago) |
| 1.0.0 | upload | 21 KB | 5 | checked | 2026-09-30 (8 days ago) |
