# US 2016/0259718 A1 · Identifying implicit assumptions associated with a software product

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0259718 A1
- Document ID: US20160259718A1
- Status: Published application
- Kind: A1
- Application number: 15/156,223
- Filed: 2016-05-16
- Published: 2016-09-08
- Earliest claimed: 2013-03-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Rui WANG; Yuchen ZHOU; Shuo CHEN; Shaz QADEER; Yuri GUREVICH
- Web page: https://patentgrep.com/patent/US20160259718A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/73: Program documentation
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 21/55: Detecting local intrusion or implementing counter-measures
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A framework is described herein for identifying implicit assumptions associated with an SDK and its accompanying documentation (e.g., dev guide). An implicit assumption is information that is not expressly stated in the documentation, but which would be useful in assisting an application developer in building an application. The framework also describes a systematic approach for identifying one or more vulnerability patterns based on the identified implicit assumptions. An application developer may run a test on an application that is being developed to ensure that it does not have any deficiency which matches a vulnerability pattern.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
obtaining a test suite associated with a software development kit (SDK), the test suite identifying a plurality of vulnerability patterns, wherein the plurality of vulnerability patterns are identified based at least in part on associated documentation for the SDK; and
using the test suite to analyze an application produced using the SDK.

### Claim 22 (depends on 21)

The method of claim 21, wherein using the test suite comprises running a test on the application for each of the plurality of vulnerability patterns.

### Claim 23 (depends on 21)

The method of claim 21, further comprising:
when the application exhibits an individual vulnerability pattern, identifying a corresponding vulnerability in the application.

### Claim 24 (depends on 21)

The method of claim 21, wherein using the test suite to analyze the application comprises dynamically analyzing the application.

### Claim 25 (depends on 21)

The method of claim 21, wherein using the test suite to analyze the application comprises statically analyzing the application.

### Claim 26 (depends on 21)

The method of claim 21, wherein using the test suite to analyze the application comprises testing functionality performed by a client device executing the application.

### Claim 27 (depends on 21)

The method of claim 21, wherein using the test suite to analyze the application comprises testing functionality performed by a server executing the application.

### Claim 28

A system comprising:
one or more processing devices; and
at least one computer readable storage medium storing computer readable instructions which, when executed by the one or more processing devices, cause the one or more processing devices to:
provide a test suite associated with a software product, the test suite identifying a plurality of vulnerability patterns, wherein the plurality of vulnerability patterns are identified based at least in part on associated documentation for the software product;
obtain an application produced using the software product; and
identify at least one vulnerability pattern present in the application by using the test suite to perform an analysis of the application.

### Claim 29 (depends on 28)

The system of claim 28, wherein the computer readable instructions, when executed by the one or more processing devices, cause the one or more processing devices to:
simulate message exchanges involved in executing the application in an actual execution environment.

### Claim 30 (depends on 28)

The system of claim 28, wherein the computer readable instructions, when executed by the one or more processing devices, cause the one or more processing devices to:
simulate operation of attack functionality on the application.

### Claim 31 (depends on 28)

The system of claim 28, wherein the computer readable instructions, when executed by the one or more processing devices, cause the one or more processing devices to:
behave as a malicious client application that executes with the application on a client device.

### Claim 32 (depends on 28)

The system of claim 28, wherein the associated documentation comprises a natural language developer's guide for the software product.

### Claim 33 (depends on 32)

The system of claim 32, wherein the software product is a software development kit (SDK).

### Claim 34

A system comprising:
a processing device configured via computer readable instructions to implement a testing environment,
wherein the testing environment is configured to:
obtain an application produced using a software product; and
perform a test on the application to identify a particular vulnerability pattern present in the application,
wherein the particular vulnerability pattern is identified in an instance when the application has been constructed consistently with an assumption expressed in a natural language developer's guide for the software product.

### Claim 35 (depends on 34)

The system of claim 34, wherein the application calls various functions of the software product.

### Claim 36 (depends on 35)

The system of claim 35, wherein the application calls the various functions in accordance with a skeleton expressed in the natural language developer's guide for the software product.

### Claim 37 (depends on 34)

The system of claim 34, wherein the software product is a software development kit.

### Claim 38 (depends on 34)

The system of claim 34, wherein the test indicates that the application adds a security-sensitive item to a knowledge pool.

### Claim 39 (depends on 38)

The system of claim 38, wherein the security-sensitive item is an access token.

### Claim 40 (depends on 38)

The system of claim 38, wherein the security-sensitive item is a session identifier.
