Gem #76: Tokeneer Discovery Lesson 6 Author: Dean Kuo and Angela Wallenburg, Praxis High Integrity Systems Abstract: In the previous Gem in this series, we saw how to deal with overflow errors, based on source code from Tokeneer. In this Gem, we show how to ensure secure information flow. This Gem brings us to the end of this series on Tokeneer, and we would like to say a big thank you to the SPARK team at Praxis HIS for providing these resources. Let s get started ¦ Error message information leak occurs when secure data is leaked, through error messages, to unauthorised users, and is one of the top twenty-five most dangerous programming errors according to SANS Institute. The general problem is ensuring that information flow adheres to certain policies for example, certain data should never be written in an error message to a log file that may be accessible by unauthorised users. The objective of this Gem is to demonstrate that the Examiner detects information flow violations. Step-by-Step Instructions Step 1: Study a Contract from an Information Flow Perspective The code below is from the procedure Verify in bio.adb. The out variable MatchResult returns the
/lp/association-for-computing-machinery/gem-73-tokeneer-discovery-lesson-6-o73ZF50RoW