CSRutils
Pick a safe csr-active-config
Utilities that help work out the right SIP / csr-active-config value for your use case without leaving the system exposed.

- Fields
- Interests
- Language
- Year
- 2024 · last push 2024-11-19
- GitHub
- 1 (2026-11-07)
README
Straight from the project’s GitHub repository. (2026-11-07) · GitHub
CSR (SIP) Utilities for not only OpenCore configuration
This is a set of utilities, so you don't have to leave your system exposed and misbehaving: Set the correct SIP for your use-case instead of completely disabling it.
Ever wondered how to turn something like
csrutil enable --without debug --without fs(example from unaffiliated MacForge software)to
CSR_ALLOW_TASK_FOR_PID & CSR_ALLOW_UNRESTRICTED_FSto
0x6to
csr-active-config: 06000000?Look no further, this repository has the answer!
Guide
- Use
csrstat(compile usingclang csrstat.corgcc csrstat.c) to remapcsrutilarguments toCSR_ALLOWconstants - Use
python3 BitmaskDecode.pyto get the0xXXXhex value for your combination of chosen constants - Use
python3 sip-convert.py 0xXXXwhich uses code taken from OCLP to convert hex tocsr-active-config; replace0xXXXwith your hex value - Use Xplist, ProperTree or similar software to edit your OpenCore
config.plistconfiguration with your newly obtained value forcsr-active-configinNVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82. Don't use Notepad/TextEdit/vi/nano/... because editing the file raw exposes thecsr-active-configvalue in a different (unsupported) format. - Enjoy!
Sources
This repository is a partial compilation from following unaffiliated repositories:
- https://github.com/JayBrown/csrstat-NG under MIT License: Update of Pike R. Alpha's original csrstat CLI by Joss Brown
- https://github.com/corpnewt/BitmaskDecode under MIT License by CorpNewt
- https://github.com/dortania/OpenCore-Legacy-Patcher by Dhinak G, Mykola Grymalyuk, and individual contributors.
See LICENSE for a list of all licenses. This product includes software developed by Dortania and OpenCore Legacy Patcher contributors.


