Analyze the protocol implementation for correctness and security.
Context
Protocol-related files:
!find . -name "*protocol*" -o -name "*mqtt*" -o -name "*coap*" -o -name "*modbus*" -o -name "*ble*" -o -name "*can*" 2>/dev/null | head -15
Target: $ARGUMENTS
Instructions
- •Identify the protocol being implemented
- •Map the state machine (states, transitions, events)
- •Check for missing error states and timeout handling
- •Verify security measures (encryption, authentication, replay protection)
- •Assess standards compliance
- •Generate protocol analysis report