Forum Discussion

MissingLink's avatar
MissingLink
New Member
10 hours ago

1Password CLI environment-related commands fail on Intel Mac, possibly due to signature validation

I’m seeing an issue where the 1Password CLI does not correctly run environment-related commands on an Intel-based Mac. The failure appears to be related to binary/code signing validation.

> op run --environment ... -- printenv
fish: Job 1, 'op environment read 2bmx7zkychv…' terminated by signal SIGKILL (Forced quit)

Here is the crash log (remove some thread backtrace due to limit):

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               op [59910]
Path:                  /usr/local/Caskroom/1password-cli@beta/2.35.0-beta.01/op
Identifier:            op
Version:               2.35.0-beta.01
Code Type:             X86-64 (Native)
Parent Process:        fish [59375]
Responsible:           kitty [14560]
User ID:               501

Date/Time:             2026-05-02 18:05:51.2642 +0800
OS Version:            macOS 15.7.5 (24G624)
Report Version:        12
Bridge OS Version:     10.4 (23P4242)
Anonymous UUID:        844DB6FD-8F63-7D9C-3083-40414E0A20BD

Sleep/Wake UUID:       B00B71FC-964D-4477-A51E-A9935E498590

Time Awake Since Boot: 29000 seconds
Time Since Wake:       28548 seconds

System Integrity Protection: enabled

Crashed Thread:        6

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x0000000156f8e180
Exception Codes:       0x0000000000000032, 0x0000000156f8e180

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x156f8e180 is in 0x156f8e000-0x156f8f000;  bytes after start: 384  bytes before end: 3711
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      VM_ALLOCATE                 156f8d000-156f8e000    [    4K] r-x/rwx SM=PRV  
--->  VM_ALLOCATE                 156f8e000-156f8f000    [    4K] r-x/rwx SM=PRV  
      VM_ALLOCATE                 156f8f000-156fcf000    [  256K] rw-/rwx SM=PRV  

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff813de46f6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff813e242ae _pthread_cond_wait + 988
2   op                            	       0x10b826c30 0x10b7a3000 + 539696
3   op                            	       0x10b824a9d 0x10b7a3000 + 531101
4   op                            	       0x10b80741e 0x10b7a3000 + 410654
5   op                            	       0x10b8071ce 0x10b7a3000 + 410062
6   op                            	       0x10b7e1b8e 0x10b7a3000 + 256910
7   op                            	       0x10b7bb4bd 0x10b7a3000 + 99517
8   op                            	       0x10b7ec94c 0x10b7a3000 + 301388
9   op                            	       0x10b7ee753 0x10b7a3000 + 309075
10  op                            	       0x10b7ef7d1 0x10b7a3000 + 313297
11  op                            	       0x10b7efdf8 0x10b7a3000 + 314872
12  op                            	       0x10b80159a 0x10b7a3000 + 386458

...

Thread 6 Crashed:
0   ???                           	       0x156f8e180 ???
1   op                            	       0x10bd97727 0x10b7a3000 + 6244135
2   op                            	       0x10bd96fa5 0x10b7a3000 + 6242213
3   op                            	       0x10bee5233 0x10b7a3000 + 7610931
4   op                            	       0x10bee5b49 0x10b7a3000 + 7613257
5   op                            	       0x10c091e71 0x10b7a3000 + 9367153
6   op                            	       0x10c0919c5 0x10b7a3000 + 9365957
7   op                            	       0x10c0933b5 0x10b7a3000 + 9372597
8   op                            	       0x10c092ee5 0x10b7a3000 + 9371365
9   op                            	       0x10c093006 0x10b7a3000 + 9371654
10  op                            	       0x10c09e8be 0x10b7a3000 + 9418942
11  op                            	       0x10c388358 0x10b7a3000 + 12473176
12  op                            	       0x10c37b507 0x10b7a3000 + 12420359
13  op                            	       0x10b9abad4 0x10b7a3000 + 2132692
14  op                            	       0x10b9ac40f 0x10b7a3000 + 2135055
15  op                            	       0x10c3b5145 0x10b7a3000 + 12656965
16  op                            	       0x10c3dceef 0x10b7a3000 + 12820207
17  op                            	       0x10b7e7bbd 0x10b7a3000 + 281533

...


Thread 6 crashed with X86 Thread State (64-bit):
  rax: 0x000000c005a14c68  rbx: 0x000000c006dcdd60  rcx: 0x000000c005a14c68  rdx: 0x000000c002797e80
  rdi: 0x000000c006dcdd60  rsi: 0x0000000000000000  rbp: 0x000000c005e86e58  rsp: 0x000000c005e86e20
   r8: 0x000000c005e5d7f0   r9: 0x000000c005a14c68  r10: 0x000000c005e87160  r11: 0x0000000156f8e180
  r12: 0x0000000000000000  r13: 0x000000c005e5d7f0  r14: 0x0000000157012c60  r15: 0xffffffffffffffff
  rip: 0x0000000156f8e180  rfl: 0x0000000000010206  cr2: 0x0000000156f8e180
  
Logical CPU:     9
Error Code:      0x00000015 (invalid protections for user instruction read)
Trap Number:     14


Binary Images:
       0x10b7a3000 -        0x10c677fff op (*) <b94e596f-db17-3310-e7fa-6792df4da5ad> /usr/local/bin/op
    0x7ff813de1000 -     0x7ff813e1db1f libsystem_kernel.dylib (*) <36476b44-ed17-3c77-a077-7bd570a2be54> /usr/lib/system/libsystem_kernel.dylib
    0x7ff813e1e000 -     0x7ff813e29fd7 libsystem_pthread.dylib (*) <6dab85b5-cac6-3724-b54a-4a4bc952faac> /usr/lib/system/libsystem_pthread.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff813cc2000 -     0x7ff813d4ab67 libsystem_c.dylib (*) <af8eeb1e-b5f3-3c5d-bd68-5843267048b1> /usr/lib/system/libsystem_c.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=411.2M resident=0K(0%) swapped_out_or_unallocated=411.2M(100%)
Writable regions: Total=957.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=957.6M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           647.2M       39 
MALLOC guard page                   24K        6 
STACK GUARD                       56.1M       19 
Stack                            152.6M       20 
Stack Guard                          4K        1 
VM_ALLOCATE                        1.3G       87 
__DATA                            16.4M      279 
__DATA_CONST                      33.9M      300 
__DATA_DIRTY                       436K       90 
__FONT_DATA                        2352        1 
__LINKEDIT                       161.8M        2 
__OBJC_RO                         61.3M        1 
__OBJC_RW                         2396K        3 
__TEXT                           249.4M      305 
__TPRO_CONST                         16        2 
mapped file                       32.7M        3 
shared memory                       36K        4 
===========                     =======  ======= 
TOTAL                              2.6G     1164 
No RepliesBe the first to reply