signalgrid_codesign_inspect
Check whether a Mac app or binary is properly signed and notarized. Inspect its code signature, Gatekeeper assessment, and signing authority.
Instructions
Inspect the code signature, signature validity, and Gatekeeper assessment of a bundle or binary on this Mac.
Use to answer "is this app properly signed and notarized, and by whom?". Reads only; never executes the target.
Args: path: Absolute path to the .app or binary to inspect.
Returns:
dict with keys:
- path: the inspected path
- signature: codesign -dv --verbose=4 output (authority chain,
team identifier, hashes)
- verify: codesign --verify --deep --strict result ("valid on disk"
style output, or the specific failure)
- assessment: spctl --assess --verbose=4 Gatekeeper verdict
(accepted/rejected and the source, e.g. "Notarized Developer ID")
A missing path yields codesign/spctl error text in those fields rather
than an exception.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "signalgrid_codesign_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an .app bundle or Mach-O binary, e.g. '/Applications/Safari.app' or '/usr/local/bin/some-tool' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||