To put it simply: hardcode edits are 100% impossible to do by accident, you need specialized software like decompilers and hex editors and whatnot. There’s mods already that do things like increase stash/inventory/cube size, as long as you don’t try to join a multiplayer game with modded files you’re fine.
No, that’d be a softcode edit and it’s safe.