<p>A method (100) for implementing program execution integrity (PEI) for a communication-based sensor (102) includes receiving an output communication message (118) from the sensor, the output communication message (118) including sensor output data internally processed within the sensor. The output communication message (118) further includes raw data (116) used by the sensor in internally processing the sensor output data. The raw data (116) is independently processed, and the results thereof are compared with the internally processed sensor output data so as to verify the processing integrity of the sensor to a desired tolerance.</p>