Debugging, that is, identifying and fixing bugs in software, is a central part of software development. Developers are therefore often confronted with the task of deciding whether a given code snippet contains a bug, and if yes, where. Recently, data-driven methods have been employed to learn this task of bug detection, resulting (amongst others) in so called neural bug detectors. Neural bug detectors are trained on millions of buggy and correct code snippets. Given the “neural learning” procedure, it seems likely that neural bug detectors – on the specific task of finding bugs – have a performance similar to human software developers. For this work, we set out to substantiate or refute such a hypothesis. We report on the results of an empirical study with over 100 software developers, targeting the comparison of humans and neural bug detectors. As detection task, we chose a specific form of bugs (variable misuse bugs) for which neural bug detectors have recently made significant progress. Our study shows that despite the fact that neural bug detectors see millions of such misuse bugs during training, software developers – when conducting bug detection as a majority decision – are slightly better than neural bug detectors on this class of bugs. Altogether, we find a large overlap in the performance, both for classifying code as buggy and for localizing the buggy line in the code. In comparison to developers, one of the two evaluated neural bug detectors, however, raises a higher number of false alarms in our study.
On average, 71% of the code in typical Java projects comes from open-source software (OSS) dependencies, making OSS dependencies the dominant component of modern software code bases. This high degree of OSS reliance comes with a considerable security risk of adding known security vulnerabilities to a code base. To remedy this risk, researchers and companies have developed various dependency scanners, which try to identify inclusions of known-to-be-vulnerable OSS dependencies. However, there are still challenges that modern dependency scanners do not overcome, especially when it comes to dependency modifications, such as re-compilations, re-bundlings or re-packagings, which are common in the Java ecosystem. To overcome these challenges, we present Jaralyzer, a bytecode-centric dependency scanner for Java. Jaralyzer does not rely on the metadata or the source code of the included OSS dependencies being available but directly analyzes a dependency’s bytecode. Our evaluation across 56 popular OSS components demonstrates that Jaralyzer outperforms other popular dependency scanners in detecting vulnerabilities within modified dependencies. It is the only scanner capable of identifying vulnerabilities across all the above mentioned types of modifications. But even when applied to unmodified dependencies, Jaralyzer outperforms the current state-of-the-art code-centric scanner Eclipse Steady by detecting 28 more true vulnerabilities and yielding 29 fewer false warnings.
The phage shock protein A (PspA), a bacterial member of the ESCRT-III superfamily, forms rod-shaped helical assemblies that internalize membrane tubules. The N-terminal helix α0 of PspA (and other ESCRT-III members) has been suggested to act as a membrane anchor, the detailed mechanism, however, of how it binds to membranes and eventually triggers membrane fusion and/or fission events remains unclear. By solving a total of 15 cryo-electron microscopy (cryo-EM) structures of PspA and a truncation lacking the N-terminal helix α0 in the presence of EPL membranes, we show in molecular detail how PspA interacts with and remodels membranes: binding of the N-terminal helix α0 in the outer tubular membrane leaflet induces membrane curvature, supporting membrane tubulation by PspA. Detailed molecular dynamics simulations and free energy computations of interactions between the helix α0 and negatively charged membranes suggest a compensating mechanism between helix/membrane interactions and the energy contributions required for membrane bending. The energetic considerations are in line with the membrane structures observed in the cryo-EM images of tubulated membrane vesicles, fragmented vesicles inside tapered PspA rods, and shedded vesicles emerging at the thinner PspA rod ends. Our results provide insights into the molecular determinants and a potential mechanism of vesicular membrane remodeling mediated by a member of the ESCRT-III superfamily. Summary: The rods of bacterial ESCRT-III protein PspA internalize and thin membrane tubules by overcoming the required bending energy through progressive membrane binding of the N-terminal helix in the PspA assembly.