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.

CSRutils
Fields
Systems, network & security
Interests
Infrastructure & security
Language
Python
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_FS

to 0x6

to csr-active-config: 06000000?

Look no further, this repository has the answer!

Guide

  1. Use csrstat (compile using clang csrstat.c or gcc csrstat.c) to remap csrutil arguments to CSR_ALLOW constants
  2. Use python3 BitmaskDecode.py to get the 0xXXX hex value for your combination of chosen constants
  3. Use python3 sip-convert.py 0xXXX which uses code taken from OCLP to convert hex to csr-active-config; replace 0xXXX with your hex value
  4. Use Xplist, ProperTree or similar software to edit your OpenCore config.plist configuration with your newly obtained value for csr-active-config in NVRAM > Add > 7C436110-AB2A-4BBB-A880-FE41995C9F82. Don't use Notepad/TextEdit/vi/nano/... because editing the file raw exposes the csr-active-config value in a different (unsupported) format.
  5. Enjoy!

Sources

This repository is a partial compilation from following unaffiliated repositories:

See LICENSE for a list of all licenses. This product includes software developed by Dortania and OpenCore Legacy Patcher contributors.

Related work

2025 4fork

APFS FUSE for FreeBSD

Prompt-driven port of a file system driver

Prompt engineering & AISystems, network & securityC++

2026 2

presshaven.io

Honeypot digital twin

Systems, network & securitySoftware & webLua

2024 2

shortcut

"Add to Home Screen" for macOS

Software & webSystems, network & securityShell

All projects

Loading…

Open original