Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
System disruptions
There are recurring service disruptions on some of the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
Link to record
Permanent link

Direct link
Publications (2 of 2) Show all publications
Ghosal, S., Jonsson, B. & Rümmer, P. (2023). An Active Learning Approach to Synthesizing Program Contracts. In: Ferreira, C; Willemse, TAC (Ed.), Software Engineering and Formal Methods, SEFM 2023: . Paper presented at 21st International Workshop on Software Engineering and Formal Methods (SEFM), November 06-10, 2023, Eindhoven, Netherlands (pp. 126-144). Springer, 14323
Open this publication in new window or tab >>An Active Learning Approach to Synthesizing Program Contracts
2023 (English)In: Software Engineering and Formal Methods, SEFM 2023 / [ed] Ferreira, C; Willemse, TAC, Springer, 2023, Vol. 14323, p. 126-144Conference paper, Published paper (Refereed)
Abstract [en]

Contracts capture assumptions (preconditions) and guarantees (postconditions) of functions in a software program, and are an important paradigm for documenting program code, for program understanding, and to enable modular program verification. In this paper, we focus on contracts for stateful software modules, for instance modules implementing data-structures like queues. Such modules offer different kinds of functions to their environment: observers, which are pure functions used to query the state of the module; and mutators, which can change the module state. We present a novel technique to synthesize contracts for the mutators of a module, in which pre- and postconditions are expressed as Boolean combinations of the observers. Our method builds on existing algorithms for active learning of register automata to model the possible behaviours of the stateful module. We then present techniques for synthesizing contracts from a learned register automaton. The entire method is fully black-box and automated. Based on our proposed approach, we develop a tool called CoGent that generates a set of contracts for a mutator from a given register automaton of a module. Finally, we evaluate our tool using the APIs for various data structures.

Place, publisher, year, edition, pages
Springer, 2023
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 14323
National Category
Computer Sciences Computer Systems
Identifiers
urn:nbn:se:uu:diva-539620 (URN)10.1007/978-3-031-47115-5_8 (DOI)001293530200008 ()9783031471148 (ISBN)9783031471155 (ISBN)
Conference
21st International Workshop on Software Engineering and Formal Methods (SEFM), November 06-10, 2023, Eindhoven, Netherlands
Funder
Swedish Foundation for Strategic ResearchSwedish Research CouncilKnut and Alice Wallenberg Foundation
Available from: 2024-10-02 Created: 2024-10-02 Last updated: 2024-10-02Bibliographically approved
Ghosal, S. & Shyamasundar, R. K. (2022). Preventing Privacy-Violating Information Flows in JavaScript Applications Using Dynamic Labelling. In: Venkata Ramana Badarla, Surya Nepal & Rudrapatna K. Shyamasundar (Ed.), Information Systems Security: 18th International Conference, ICISS 2022, Tirupati, India, December 16–20, 2022, Proceedings. Paper presented at 18th International Conference on Information Systems Security (ICISS), DEC 16-20, 2022, Indian Inst Technol, Tirupati, INDIA (pp. 202-219). Springer Nature
Open this publication in new window or tab >>Preventing Privacy-Violating Information Flows in JavaScript Applications Using Dynamic Labelling
2022 (English)In: Information Systems Security: 18th International Conference, ICISS 2022, Tirupati, India, December 16–20, 2022, Proceedings / [ed] Venkata Ramana Badarla, Surya Nepal & Rudrapatna K. Shyamasundar, Springer Nature, 2022, p. 202-219Conference paper, Published paper (Refereed)
Abstract [en]

Web browser-based applications deal with humongous user information using applications of web scripts. In particular, JavaScript applications access information through built-in browser APIs that dynamically load remote scripts and execute with the same privilege as that of the applications - usually referred to as mashup model. Unfortunately, this allows malicious JavaScripts to manipulate the given browser functionalities leading to various web attacks violating users' privacy. Moreover, with the rapid growth of e-commerce sectors, malicious scripts pose a significant challenge to digital transactions. In this paper, we propose an approach that prevents various web-based attacks such as code injection, cross-site scripting (XSS). The approach adopts a Dynamic Labelling algorithm that generates information flow security policies automatically for local variables in JavaScript based on the given policies for sensitive variables. Unlike existing solutions that are too conservative primarily due to the generic flow policies leading to false-alarms, our solution leads to realizing conditions as to when a script accepts the parameters returned by a dynamic script; thus enabling us to build an automatic platform for preventing information flows to malicious scripts without explicit characterization by programmers or users.

Place, publisher, year, edition, pages
Springer Nature, 2022
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13784
National Category
Software Engineering Computer Sciences
Identifiers
urn:nbn:se:uu:diva-498072 (URN)10.1007/978-3-031-23690-7_12 (DOI)000922665000012 ()978-3-031-23689-1 (ISBN)978-3-031-23690-7 (ISBN)
Conference
18th International Conference on Information Systems Security (ICISS), DEC 16-20, 2022, Indian Inst Technol, Tirupati, INDIA
Available from: 2023-03-13 Created: 2023-03-13 Last updated: 2023-03-13Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-3063-6080

Search in DiVA

Show all publications