130 research outputs found
How Effective Are Neural Networks for Fixing Security Vulnerabilities
Security vulnerability repair is a difficult task that is in dire need of
automation. Two groups of techniques have shown promise: (1) large code
language models (LLMs) that have been pre-trained on source code for tasks such
as code completion, and (2) automated program repair (APR) techniques that use
deep learning (DL) models to automatically fix software bugs.
This paper is the first to study and compare Java vulnerability repair
capabilities of LLMs and DL-based APR models. The contributions include that we
(1) apply and evaluate five LLMs (Codex, CodeGen, CodeT5, PLBART and InCoder),
four fine-tuned LLMs, and four DL-based APR techniques on two real-world Java
vulnerability benchmarks (Vul4J and VJBench), (2) design code transformations
to address the training and test data overlapping threat to Codex, (3) create a
new Java vulnerability repair benchmark VJBench, and its transformed version
VJBench-trans and (4) evaluate LLMs and APR techniques on the transformed
vulnerabilities in VJBench-trans.
Our findings include that (1) existing LLMs and APR models fix very few Java
vulnerabilities. Codex fixes 10.2 (20.4%), the most number of vulnerabilities.
(2) Fine-tuning with general APR data improves LLMs' vulnerability-fixing
capabilities. (3) Our new VJBench reveals that LLMs and APR models fail to fix
many Common Weakness Enumeration (CWE) types, such as CWE-325 Missing
cryptographic step and CWE-444 HTTP request smuggling. (4) Codex still fixes
8.3 transformed vulnerabilities, outperforming all the other LLMs and APR
models on transformed vulnerabilities. The results call for innovations to
enhance automated Java vulnerability repair such as creating larger
vulnerability repair training data, tuning LLMs with such data, and applying
code simplification transformation to facilitate vulnerability repair.Comment: This paper has been accepted to appear in the proceedings of the 32nd
ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA
2023), and to be presented at the conference, that will be held in Seattle,
USA, 17-21 July 202
Physiochemical properties, antibacterial and antioxidant activities of Terminalia catappa seed oils from two extracting processes
Terminalia catappa is a widespread medium tree species in many tropical countries. While the majority of the studies up to date focuses on the aerial part of the plant such as leaf, stem bark and fruit, information about the phytochemical property as well as the biological property of the edible seed is still scarce. This study was the first to explore the fatty acid composition, antibacterial and antioxidant activities of the seed oil from T. catappa grown in Vietnam. The results showed that both the hot-pressed and cold-pressed oils contained a high level of unsaturated fatty acids such as oleic (~32%) and linoleic acids (28.38%-29.2%), as well as saturated fatty acids such as palmitic acid (~33.3%-33.61%). The presence of eicosadienoic acid in T. catappa seed oils was reported in this study for the first time. These oils displayed antibacterial activity against 5 out of 12 tested strains such as Bacillus cereus, Staphylococcus aureus, Escherichia coli, Pseudomonas aeruginosa and Vibrio parahaemolyticus. The antioxidant activity of the oils was also recorded by DPPH radical scavenging assays with IC50 values of 950 µg/ml and 2529 µg/ml for cold-pressed oil and hot-pressed oil respectively. This study has provided promising extracting methods and resulted in oils that could be good candidates for developing food sources with valuable fatty acids, antioxidant and antibacterial capacities against both Gram-positive and negative bacteria in the human diet
Hydrogen-rich Syngas Production from Ethanol Dry Reforming on La-doped Ni/Al2O3 Catalysts: Effect of Promoter Loading
Ethanol dry reforming has been studied over La-promoted Ni catalysts supported on Al2O3 with different promoter loadings at varying CO2 partial pressure of 20-50 kPa. Catalysts were prepared via co-impregnation technique and characterized using BET surface area, X-ray diffraction measurement, temperature-programmed calcination and scanning electron microscopy. Doped and undoped catalysts possessed high surface area of about 86-108 m2 g-1 and La promoter was well-dispersed on support surface. Xray
diffraction measurements indicated the formation of La2O3, NiO and NiAl2O4 phases in line with temperature-programmed
calcination results. La-addition enhanced the dispersion of NiO particles and reduced the agglomeration of metal oxides. Both C2H5OH and CO2 conversions improved with increasing CO2 partial pressure rationally due to the growing secondary CO2 reforming of CH4 reaction. The ratio of H2/CO produced from ethanol dry reforming varied from 1.1 to 1.4 favored for usage as feedstocks of Fischer-Tropsch synthesis. The yield of H2 and CO also enhanced with increasing CO2 partial pressure whilst the optimal La loading in terms of C2H5OH conversion was observed at 3%La and catalytic activity increased with promoter addition
reasonably owing to the redox properties of La promoter. CO2 reforming of ethanol reaction appeared via ethanol decomposition to CH4 intermediate product, which was subsequently converted to CO and H2 mixture through CH4 dry reforming reaction
Orange Peel Essential Oil Nanoemulsions Supported by Nanosilver for Antibacterial Application
This study is devoted to the synthesis of King Orange peel essential oil in water nanoemulsions combined with nanosilver by ultrasonic method supported by mechanical stirring for antibacterial application. The samples were characterized by Gas chromatography-mass spectrometry (GC-MS), Ultraviolet–visible (UV-Vis), Transmission electron microscopy (TEM), and Dynamic light scattering (DLS) methods. According to the above-experimental results, it was found that the emulsions based on orange essential oil (without nanosilver) and the ones combined with nanosilver have the average particle size from 66.2 nm and 42.9 nm, respectively. The obtained nanoemulsions were also tested to examine their antibacterial ability against Escherichia coli (E. coli) by the disc diffusion method. It has been also found that nanoemulsions based on orange essential oil supported by nanosilver have the superior antibacterial ability, compared with individual components of the materials
The novel method to reduce the silica content in lignin recovered from black liquor originating from rice straw
Difficulties in the production of lignin from rice straw because of high silica content in the recovered lignin reduce its recovery yield and applications as bio-fuel and aromatic chemicals. Therefore, the objective of this study is to develop a novel method to reduce the silica content in lignin from rice straw more effectively and selectively. The method is established by monitoring the precipitation behavior as well as the chemical structure of precipitate by single-stage acidification at different pH values of black liquor collected from the alkaline treatment of rice straw. The result illustrates the significant influence of pH on the physical and chemical properties of the precipitate and the supernatant. The simple two-step acidification of the black liquor at pilot-scale by sulfuric acid 20w/v% is applied to recover lignin at pH 9 and pH 3 and gives a percentage of silica removal as high as 94.38%. Following the developed process, the high-quality lignin could be produced from abundant rice straw at the industrial-scale
Village Baseline Study – Site Analysis Report Ma village-Yen Binh district, Vietnam
Ma village, Vinh Kien commune, Yen Binh district, Yen Bai province has been
selected to be one of Climate Smart Villages (CSVs) under the CGIAR Research Program on
Climate Change, Agriculture and Food Security (CCAFS) in Southeast Asia. The village
baseline survey (VBS) of Ma village, was therefore conducted as part of the baseline effort.
This VBS aimed to provide baseline information at the village level about some basic
indicators of natural resource utilization, organizational landscapes, and information
networks for weather and agricultural information, which can be compared across sites and
monitored over time. The study was conducted using the method developed and provided by
CCAFS. The study’s findings show that Ma Village is rich and diverse in natural resources.
There are three main resources of vital importance for the local people livelihoods, namely
farmland, forest and water resources. However, improper exploitation and management have
caused negative impacts on these resources. As mentioned by farmers, in the past, farmland
of the village used to be very fertile, but has now become severely degraded due to overexploitation
and improper management. Regarding forest resources: before 1980s, natural
forests existed in large areas and consisted of valuable timber and wild animals. Today, much
of the forest area has been converted to production forests or to food crop production land.
Water resources, including lakes, rivers and streams have been severely polluted with
pollutants from processing cassava, wood and also from animal husbandry and crop
production. Degradation of water, farmland and forest resources are causing increasing
challenges to agricultural production and also to other human activities. Results of farmer
group discussions also demonstrate that there are 34 organizations operating in the village.
Most of them are governmental. Very few are private or non-governmental organizations.
The number of organizations involving in food security accounts for nearly 50%, the figure
for those involving food crisis is 41.6% and in natural resources management is 25%. Those
organizations working in food security and food crisis focus mainly on providing support
(financial, seed and agricultural inputs) to local farmers to implement some production
activities. Insufficient attention and input spent for sustainable development by these 34
organizations, especially those working in the area of natural resources management, could
be one of the main reasons for the degradation and erosion of natural resources. There was no
activity supporting Ma Village to develop production systems which can respond well to
climate change. The study findings however show that local people are very flexible and
creative, especially in exploitation of information. Among media channels, television is the
most popular. Nevertheless, organizations, in particular, extension networks, Farmers’ Union,
local authorities, etc., also have an important role in information dissemination. Exploitation
of information from the internet and mobile phones has also been given attention, but mostly
by young people only
Chemical composition and antibacterial activities of essential oils from Homalomena pierreana (Araceae)
30-37Homalomena is a genus of the Araceae family which contains several remedies used extensively in traditional Vietnamese medicine. H. pierreana is a rare plant species of Homalomena genus and found only in Phu Quoc National Park, Phu Quoc Island, Kien Giang Province, Vietnam. Therefore, the number of studies about this species is limited and the bioactivity of this species is still unknown. In this study, the chemical composition of essential oils was investigated which was isolated from leaves and rhizomes of H. pierreana at the first time by GC-MS. Eight and twelve compounds were identified from the essential oils of rhizomes and leaves, respectively. The major component from both the rhizomes and the leaves was aromadendrene (44 and 48%, respectively). Furthermore, the antibacterial activity of essential oils collected from leaves and rhizomes of H. pierreana was investigated and it was observed that the essential oil of rhizomes could inhibit the growth of Staphylococcus aureus, Escherichia coli and Pseudomonas aeruginosa, while the essential oil of leaves exhibited an inhibitory effect against Staphylococcus aureus and Escherichia coli.</em
Spatiotemporal analysis of historical records (2001-2012) on dengue fever in Vietnam and development of a statistical model for forecasting risk
Background: Dengue fever is the most widespread infectious disease of humans transmitted by Aedes mosquitoes. It is the leading cause of hospitalization and death in children in the Southeast Asia and western Pacific regions. We analyzed surveillance records from health centers in Vietnam collected between 2001–2012 to determine seasonal trends, develop risk maps and an incidence forecasting model.
Methods: The data were analyzed using a hierarchical spatial Bayesian model that approximates its posterior parameter distributions using the integrated Laplace approximation algorithm (INLA). Meteorological, altitude and land cover (LC) data were used as predictors. The data were grouped by province (n = 63) and month (n = 144) and divided into training (2001–2009) and validation (2010–2012) sets. Thirteen meteorological variables, 7 land cover data and altitude were considered as predictors. Only significant predictors were kept in the final multivariable model. Eleven dummy variables representing month were also fitted to account for seasonal effects. Spatial and temporal effects were accounted for using Besag-York-Mollie (BYM) and autoregressive (1) models. Their levels of significance were analyzed using deviance information criterion (DIC). The model was validated based on the Theil’s coefficient which compared predicted and observed incidence estimated using the validation data. Dengue incidence predictions for 2010–2012 were also used to generate risk maps.
Results: The mean monthly dengue incidence during the period was 6.94 cases (SD 14.49) per 100,000 people. Analyses on the temporal trends of the disease showed regular seasonal epidemics that were interrupted every 3 years (specifically in July 2004, July 2007 and September 2010) by major fluctuations in incidence. Monthly mean minimum temperature, rainfall, area under urban settlement/build-up areas and altitude were significant in the final model. Minimum temperature and rainfall had non-linear effects and lagging them by two months provided a better fitting model compared to using unlagged variables. Forecasts for the validation period closely mirrored the observed data and accurately captured the troughs and peaks of dengue incidence trajectories. A favorable Theil’s coefficient of inequality of 0.22 was generated.
Conclusions: The study identified temperature, rainfall, altitude and area under urban settlement as being significant predictors of dengue incidence. The statistical model fitted the data well based on Theil’s coefficient of inequality, and risk maps generated from its predictions identified most of the high-risk provinces throughout the country
Chemical profiles and biological activities of acetone extracts of nine Annonaceae plants
This study investigated the chemical components and bioactivities of acetone leaf extracts of nine Annonaceae plants collected in the Binh Chau-Phuoc Buu Nature Reserve, Vietnam. A total of 182 constituents were identified, with linolenic acid, diaeudesmin, germacrene D, 1-octadecenoic acid, 8-(3-octyl-2-oxiranyl)-1-octanol, oleic acid, and phenylmethyl ester being the major compounds. The antimicrobial activity of the extracts was evaluated using a disc diffusion assay. Eight of the nine extracts, except for the Mitrephora thorelii extract, showed an inhibition effect against Bacillus cereus and Staphylococcus aureus. The antioxidant activity of the extracts was determined using DPPH assay, and the cytotoxic activity was deter mined using SRB assay. The results showed that the acetone extracts of Artabotrys hexapetalus, Uvularia grandiflora, Polyalthia luensis, Xylopia pierrei, Sphaerocoryne affinis, Desmos cochinchinensis, Uvaria littoralis, Mitrephora thorelii, and Goniothalamus touranensis had significant activity with IC50 for the DPPH radical scavenging activity ranging from 18.56 to 702.33 ÎĽg/mL, and the IC50 for the cytotoxic effects ranged from 5.39 to 251.77 ÎĽg/mL. Overall, the results obtained provide experimental evidence for the potential use of these plants in medicine and other related fields
- …