Apple could not verify “dsc” is free of malware
Summary of the new feature / enhancement
Apple doesn't like binaries not notarized so ./dsc will not launch on MacOS. This is after downloading the release files via github.
Proposed technical implementation details (optional)
From Claude:
This error message is appearing because macOS's security features (Gatekeeper) are preventing the DSC executable from running because it hasn't been notarized by Apple. This is a common security protection on newer macOS versions.
Here's how to resolve this issue:
Method 1: Using System Preferences (recommended)
- Instead of clicking "Move to Trash", click "Done"
- Open System Preferences (or System Settings on newer macOS)
- Go to "Security & Privacy" or "Privacy & Security"
- In the "General" tab, you should see a message about "dsc" being blocked
- Click "Allow Anyway" or "Open Anyway"
- Try running the DSC command again, and you'll get a prompt asking if you're sure - click "Open"
Method 2: Using Terminal to bypass Gatekeeper for this specific app
- Open Terminal
- Run the following command (assuming the DSC tool is in your downloads folder):
Replace "/path/to/dsc" with the actual path to the DSC executablexattr -d com.apple.quarantine /path/to/dsc
Method 3: Temporarily reduce security settings (not recommended)
If you're still having issues, you can temporarily allow apps from anywhere:
- Open Terminal
- Run:
sudo spctl --master-disable - Use the app
- Re-enable security:
sudo spctl --master-enable
The first method is usually the safest and most straightforward. After allowing the app once, you shouldn't see this warning again for this particular application.
This is also true for runcommandonset