Lets KubeJS scripts change how the Sanity mod works.
4 of 4 current files checked, code read in all 4. Last check 16 Oct 2026. Across its releases since 2024, Modgrade checked all 9 of its files and found no malware in any of them. Below, the checks of one current file: SanityJS-1.1.2.jar
The resultPassed
The checks look for known signs of harm and cannot prove that a file is harmless. How Modgrade checks
SanityJS connects KubeJS scripts with Sanity: Descent Into Madness, letting modpack authors customize sanity behavior without maintaining a separate compatibility mod. It exposes server-side hooks for sanity changes, ticks, triggers, item sources, and equipped sources, along with an event API that provides current and previous sanity values and lets scripts set or adjust a player's sanity. Startup registries cover sanity-source items and source-equipped helmets, chestplates, leggings, and boots, while helper registries can attach sources to existing vanilla or modded items. Scripts can also use source-definition builders and bindings for SanityHelper, SanityEventType, SanityConfig, and SanityProcessor, as well as helper functions for normalizing and approximating values. Client-side indicator render hooks allow scripts to customize sanity indicators, and registered item or equipped sources consume cooldowns or durability only when they actually change sanity.
Written from CurseForge and the GitHub README.
KubeJS Sanity only changes the player area of the game and does not connect to the internet.
Written from Modgrade's checks of its files.
Modgrade looked for code that connects to the internet, uses folders outside the game, starts other programs, updates itself, turns on your webcam or microphone, or contacts an AI service, and found none.
No sign it sends data in its 4 current filesThe newest release or beta for each Minecraft version and loader, from its official source..
Modgrade finds the web addresses its code can contact, but cannot see everything a mod does while it runs.
Changes the game's code in 1 area.