1 Introduction

Globally, food safety is a critical aspect of daily lives, affecting everyone from consumers to producers (De Boeck et al. 2019). It has emerged as one of the most difficult social problems that must be addressed in the majority of low- to middle-income nations, including Nigeria (Onyeaka et al. 2021). The diseases linked to the consumption of contaminated food affect millions of people every year, notably in developing countries (WHO 2021a; b). Children and other vulnerable populations, such as pregnant women and the elderly, are disproportionately affected by these illnesses (GAIN 2020; WHO 2021a; b). WHO estimates 600 million people, or nearly 1 in 10, get sick after eating tainted food, resulting in 420,000 deaths per year (WHO 2021a; b; Havelaar et al. 2015; GAIN 2020). The consumption of unsafe food is of great concern in Africa. The WHO (2015) reported that 1 out of every 10 people is affected by foodborne diseases every year and that the highest incidents of foodborne diseases are in Southeast Asia and sub-Saharan Africa, where 91 million fall sick every year due to foodborne-related issue and 137,000 die (WHO 2017).

In Nigeria, foodborne pathogens cause more than 200,000 deaths yearly from food poisoning (Ezirigwe 2018; WHO 2021a, b). The global food supply chain and processing methods are complex, making it challenging to ensure the safety of every product from farm to table (Sewell and Farber 2001; Lazou et al. 2012). However, implementing good hygiene practices, following food safety guidelines, and monitoring food quality can significantly reduce the risk of foodborne illness (Al-Ghazali et al. 2020; Wallace et al. 2022). The WHO names 5 essential elements to achieve safer food. Some of these practices include ensuring everything is clean, separating raw food from cooked food, thoroughly cooking food, maintaining food at safe temperatures, and using clean water and raw materials (Fontannaz-Aujoulat et al. 2019).

The federal government of Nigeria launched the Home-Grown School Feeding (HGSF) Programme in 2016 to lower the nation's out-of-school children population, alleviate temporary hunger and boost nutritional condition (UNICEF 2020). As a result, the government employs approximately 107,550 food vendors cooking for about 9.9 million pupils in over 56,000 public primary schools across 33 Nigerian states (WFP 2019; NHGSFP 2020). However, studies on food safety knowledge conducted in Nigeria revealed that vendors lack knowledge of pathogens and hygienic food safety practices relevant to tropical environments (Iwu et al. 2017; Madaki and Bavorova 2019). There was a lack of understanding on how a sick person that cooks or handles food could expose others to risk and/or result in foodborne illness (Onyeneho and Hedberg 2013). Similarly, Pepple (2017) discovered a general lack of knowledge about food safety, contamination, poisoning, control measures, and hygiene practices among formal and informal food vendors in Abuja, Nigeria. In many rural and suburban areas of Nigeria, there are severe deficiencies in terms of basic infrastructure and adequate education or sensitization regarding the significance of food safety (Egbule et al. 2020; Anyogu et al. 2021).

Despite the benefits of SFP to improve pupils' nutritional status (Zenebe et al. 2018), the program still possesses a high risk of food contamination. This is because in the global south, most schools participating in SFP have no or an insufficient system to monitor food quality and safety (Bigson et al. 2020; WFP 2012), and they lack the proper infrastructure to support skilled food vendors (Rendall-Mkosi et al. 2013). Foodborne disease outbreaks in SFPs can result in serious illnesses, astronomical medical bills, and the spread of infection to other pupils and staff, disrupting school instruction (Scharff 2012). For example, 3 pupils in South Africa’s Gauteng and Limpopo provinces reportedly died after consuming contaminated school-feeding meals (Nzimande 2014; Sibanyoni et al. 2017). In a Chilean SFP, a case of Bacillus cereus in dried milk products was reported (Reyes et al. 2007). In North Dakota, 504 pupils reportedly suffered of nausea, stomach pains, vomiting, or diarrhea after eating their school lunch (Steinberg et al. 2006), while 3 students died in Nigeria after eating contaminated food (Premium Times 2018). Similarly, 120 children from a secondary school in Doma, Gombe State, Nigeria experienced acute gastroenteritis after consuming pesticide-contaminated bean cake (Onyeaka et al. 2021).

In Nigeria, Madaki and Bavorova (2021) found that food safety knowledge, attitudes and economic and social control affected the food safety behaviour of the food vendors in educational institutions. Madaki and Bavorova (2019) also reported a positive effect of age, literacy, and years of education on food safety knowledge of food vendors. The expansion and comprehensive coverage of radio, television, and internet service have led to its usage by all levels of government and non-governmental organizations to mobilize the public and raise awareness and preventive measures for the disease outbreak such as cholera and Lassa fever (Wogu et al. 2019). Similarly, Effiong et al. (2020) reported that the use of TV and radio for disseminating food and health safety guides has proved effective, considering its coverage among the citizen of Nigeria. Furthermore, Obi-Ani et al. (2020) reported that social media usage in Nigeria has grown significantly with the introduction of affordable Android smartphones and the availability of Internet services.

However, Wogu et al. (2019) noted that the Nigerian mass media's coverage of diseases and infections has been constrained in terms of content and undermined by a poor network connection, unreliable power supply, the time of day the broadcasts are produced, and the general public's indifference. The country has a National Environmental Health Practice Regulation (NEHPR) that consists of the Food Safety Act (FSA), which specifies the guidelines for the food processing environment, equipment, personal hygiene, and raw foods for food business operation. The FSA gave the mandate and responsibility of enforcement to the state Ministry of Health and Environment. Adebitan (2011) uncovered poor compliance with the FSA in the hospitality industry. Hotel staff were not aware of the FSA and no regular inspection from the concerned institutions.

So far, no study has focused on vendors participating in SFP in Nigeria and to our knowledge, no studies have focused on the effect of information sources on food safety knowledge, attitude, and practices, despite the foodborne-related incidences reported in the country. Therefore, this study investigates the factors influencing food safety knowledge, attitude, and practices among food vendors participating in the SFP. It attempts to answer three questions:

  1. i.

    What is the vendors' food safety knowledge, attitude and practices score?

  2. ii.

    How do information sources affect vendor's food safety knowledge, attitude and practices score?

  3. iii.

    What is the relationship between food vendors’ knowledge, attitude and practices?

Our research emphasizes food vendors that participate in the ongoing SFP in northeast Nigeria, focusing on how their socio demographic factors and information source influence their food safety knowledge, attitude, and practice. Findings will provide policy makers with methods for best food safety information dissemination methods in Nigeria and other countries with similar SFPs. By addressing research gaps, scholars can further enhance food safety knowledge and attitude, leading to the development of more targeted and effective interventions to promote safe food practices and protect public health.

1.1 Theoretical framework and literature review

1.1.1 Theoretical background

The theoretical foundation for the development of a hypothesized model was food safety knowledge (K), food safety attitude (A), and food safety practice (P). The KAP model argues that attitudes toward food safety are influenced by knowledge of food safety and can change behavior. Essentially, food vendors’ safety knowledge influences their attitudes and, as a result, their hygiene, kitchen hygiene, and disease prevention practices. Several studies have attempted to use the KAP model to investigate food vendors’ attitudes and practices in various contexts over the years. For example, findings from (Madaki and Bavorova 2021; Asmawi et al. 2018; Stratev et al. 2017) revealed that food safety knowledge, attitudes and economic and social control affected the food safety behaviour of the food vendors of educational institutions. Similarly, Asmawi et al. (2018) study in Malaysia discovered that food vendors' lack of safety knowledge negatively impacted their handling behavior, while training and experience may mitigate the negative effects of a lack of safety knowledge. A study conducted among food vendors participating in the Brazil and South African SFPs by da Cunha et al. (2013) and Sibanyoni et al. (2017) discovered that their food safety knowledge improved their food safety attitude and practice. However, a study by Stratev et al. (2017) found that increasing food safety knowledge has no significant impact on food handling practices.

Media play a significant impact in how society’s knowledge, attitudes, and practices are shaped and influenced (Ortiz et al. 2019). It has a significant impact on disseminating information and forming public opinion through various platforms, including television, radio, newspapers, magazines, and the Internet. Its influence goes beyond merely providing information because it actively influences how people perceive the world, develop attitudes toward particular issues, and take on new behaviors (Boles et al. 2014; Ortiz et al. 2019). As such, the media serves as a key source of knowledge, providing a platform for the exchange of information and ideas (Fig. 1). News outlets and educational programs deliver current affairs, scientific discoveries, and public awareness of disease outbreak prevention methods (Liu et al. 2020).

Fig. 1
figure 1

The conceptual framework of food safety knowledge, attitude, and practice show the model through which practices can be changed

1.1.2 Food safety knowledge

To effectively implement food safety measures among food vending sites, it is necessary to have adequate food safety knowledge (Cortese et al. 2016). For example, Kunadu et al. (2016) and Nkosi and Tabit (2021) revealed that food vendors had insufficient food safety knowledge in Ghana and South Africa, as such it affected their food safety practices like washing their hands when handling and serving food and using soap and warm running water for cleaning their hands. Similarly, Osaili et al. (2018) in their study in Jordan revealed that vendors had insufficient food safety knowledge, with a mean score of 60.42 on a 100-maximum score, vendors scored 9.74 mean scores on a maximum score of 13 on their hygiene knowledge and food storage knowledge vendors scored a mean of 11.77 on a maximum score of 22. However, several studies from Nigeria, Pakistan, South Africa and the USA have found that providing access to food safety information and training to food vendors is critical in ensuring that they comply with food safety standards as it increases food safety knowledge (Madaki and Bavorova 2019; Moreb et al. 2017; Chuang et al. 2021).

1.1.3 Food safety attitude

Food vendors’ attitudes regarding implementing food safety standards strongly influence the incidence of foodborne illnesses. Several studies conducted in Pakistan, Ghana, Turkey, Brazil and Malaysia showed poor food safety attitudes and practices for food vendors (Baser et al. 2017; da Vitória et al. 2021; Kunadu et al. 2016). For example, Baser et al. (2017) reported that hotel staff in Turkey were unlikely to boil and refrigerate milk, or store and refrigerate food leftovers within 2 h, and checking the expiration date of food. New et al. (2017) reported that food vendors did not wash their hands before preparing a meal because they believed it is a waste of time, and also because they are unaware of the consequences of dirty hands. It is important to note that food safety attitudes do not always change only by improving food safety knowledge (Sani and Siow 2014; Al-Shabib et al. 2016). It is rather age, gender, education, and information (from internet, TV, and radio) that affect food safety attitudes (Sibanyoni et al. 2017; Siddiky et al. 2022; Tiozzo et al. 2019).

1.1.4 Food safety practice

Although factors that influence food safety practice are well identified, which include years of vending experience, source of information, age, and gender (Siddiky et al. 2022; Teffo and Tabit 2020; Chi et al. 2017). Food vendors must have adequate knowledge of food safety, and the ability to apply that knowledge when handling food (Cunha et al. 2018). Food contamination is linked to poor hygiene practices, improper food temperatures, and an inability to follow proper food preparation techniques (Monney et al. 2013). For example, a study conducted in Bulgaria by Stratev et al. (2017) reported that 44.4% of food vendors frequently taste and dish out food with unprotected hands, and only 48.9% stated that they frequently read the condition of use and storage of packaged food. Moreb et al. (2017) revealed that vendors had an average level of food safety practices on food storage, yielding a mean score of 3.5 points (from a range of 0–6), and the average score for food handling practice was 2.1 points (from a range of 0–4), usage and maintenance of kitchen facilities had a mean score of 3.7 points (from a range of 0–6) and personal hygiene scored 3.5 points (from a range of 0–5). Studies conducted in Brazil reported that food vendors were found to be insufficiently engaged in good hygiene practices such as hand washing, hair covering, and maintaining cold storage in studies investigating foods from street vendors (Cortese et al. 2016), vendors ascribed inadequate adoption of food safety practices to their inability to acquire (economic factor) the necessary equipment (Madaki and Bavorova 2021).

2 Materials and methods

2.1 Study area

In 2021, Nigeria’s total population was 211.4 million, with a 3.2% annual growth rate and a mortality rate of 101 per 1000 live births for children under 5 years (NBS 2021). More than 41% of the population is under 14 years old, and the country is expected to have a population of 410 million by 2050 (NBS 2020). Northeast Nigeria comprises six states: Adamawa, Bauchi, Borno, Gombe, Taraba, and Yobe. It covers slightly less than 1/3 of Nigeria’s total land area and has 23 million people (13.5%) of the nation’s population (NBS 2020). In May 2022, the Nigerian government began documenting and training food vendors nationwide for its national homegrown school feeding program (Balogun 2022). A needs assessment was carried out prior to training food vendors to determine the exact areas in which vendors needed training. Food vendors are trained in food safety and hygiene practices to ensure that the meals they prepare and serve meet the required standards. This training includes instruction on proper food handling, storage, cooking temperatures and hygiene (Balogun 2022).

In northeast Nigeria, Islam is the predominant religion, influencing dietary habits and food safety practices through halal dietary laws that prohibit the consumption of pork and alcohol. The region has a diverse range of traditional dishes, including tuwo shinkafa (rice pudding) and suya (spiced meat on a stick), which require specific cooking methods and ingredients that require special attention to food safety (Tyrone et al. 2000). The distribution of the population, many of whom live in rural areas, often lack access to clean water, refrigeration and modern food preservation techniques, posing challenges to maintaining food safety (Obioha 2008). Inadequate infrastructure in both rural and urban areas leads to problems such as poor personal hygiene, improper waste disposal and waterborne diseases that can affect food safety. In addition, traditional food preservation techniques such as sun drying, smoking, and fermentation are common but require proper practices to prevent contamination and spoilage (Ojo et al. 2018).

Food Safety Standard Legislations (Laws) relating to food safety in Nigeria include the following (1). Public Health Ordinance Cap 164 of 1958 replaced the Public Health Laws of 1917 (2). 1974’s Food and Drugs Decree No. 35 (3). The Standards Organizations of Nigeria (SON) Decree, No. 56 of 1971 (4). The 1988 Animal Disease Control Decree No. 10 (5). Decree No. 41 of 1990 on the Marketing of Breast Milk Substitutes (WHO 2017).

2.2 Sampling procedure and sample size

To begin, a list of registered food vendors was received from the Federal Ministry of Humanitarian Affairs, Disaster Management and Social Development of Nigeria which is in charge of overseeing the school feeding program. A multi-stage sampling procedure was used to choose the food vendors. At the first stage, 3 of 6 states in northeastern Nigeria were purposively selected (Fig. 2): Adamawa, Bauchi, and Gombe, as those states we are less vulnerable to Boko Haram terrorist attacks. Stage 2 involved a purposive selection of four local government areas from each selected state to avoid local government areas where kidnappings and banditry attacks were rampant. At the third stage, 5 wards were randomly selected from the initial list of local government areas. At the fourth stage, the sampling approach consists of selecting (proportionate sampling) 50% of the registered food vendors participating in the SFP and using systematic random sampling to select four SFP food vendors from a readily available list in each district, resulting in a total of 240 respondents. It is important to note that the basis for calculating the sample size was the list of registered food vendors in the programme, which defined the inclusion and exclusion part of the criteria. In addition, food vendors in communities with a high risk of Boko Haram attacks and kidnappings were among those excluded from the sample.

Fig. 2
figure 2

Map of Nigeria showing the study area

2.3 Data collection

The researcher and trained enumerators conducted face-to-face pen and paper interviews to collect data. The majority of the interviews happened in Hausa (the study area’s native language) and were on-site translated into English. From December 2020 to February 2021, data was collected with a 100% response rate. A pilot survey was conducted with 24 food vendors in the study sites before the primary survey, as 10% of the study sample size is recommended (Hertzog 2008). To assess the reliability and validity of the questionnaire, we conducted a preliminary survey of 24 food vendors. Two sections were used in the questionnaire, each section containing items related to five different scales for assessing food safety attitudes and practices. These scales were designed to capture guides and adherence to food safety attitudes and practices among food vendors (Tables 2 and 3). The internal consistency of the five scales for food safety attitudes and practices were calculated by the Cronbach alpha coefficient. The results showed that with individual food vendors as the unit of analysis was within the range of 0.82–0.64, which is generally considered satisfactory.

2.4 Instruments

The questionnaire was developed by using the KAP model with the food safety KAP questionnaire based on the WHO's “five keys to safer food” (Luo et al. 2019; Fontannaz-Aujoulat et al. 2019; Madaki and Bavorova 2021), combined with the socio-demographic characteristics of the food vendors (gender, age, school education level, household size, years of experience, and information sources).

Twelve items were used to assess food safety knowledge; an item was scored 1 if the answer was correct, 0 if the answer was incorrect or if answered with “I don’t know”. The total score was between 0 and 12, the latter indicating a high level of subject knowledge. Questions were adapted from previous studies. Eight items were used to assess food vendors’ attitudes towards food safety. Each item had five levels, with a score ranging from 1 to 5, with 1 for “strongly disagree” to 5 for “strongly agree”. The total score was between 8 and 40, with a higher score indicating more significant concern about food safety. Questions were adapted from previous studies, and nine items were used to evaluate food safety practices. Participants were asked to rate the frequency with which they used food safety practices: 5 = always, 4 = often, 3 = sometimes, 2 = rarely, and 1 = never. The total scores ranged from 9 to 45, with a high score indicating good food safety practices. Questions were adapted from previous studies (Luo et al. 2019; Madaki and Bavorova 2021; Osailiet al. 2018).

It's crucial to note that the KAP model does not inherently provide universal cut-off points or predefined categories to differentiate between ‘poor’ and ‘good,’ or ‘high’ and ‘low’ scores in individual KAP assessments. The interpretation of KAP scores and the establishment of cut-off points are typically context-dependent and can vary based on the specific goals of a study or program. In our case, we considered any score within the average range and below as ‘poor’ due to the severe health risks associated with food contamination. This decision was made with a keen awareness of the critical implications for human health.

2.5 Data analysis

Descriptive statistics such as percentages, standard deviation and mean were used to summarize respondents' socio-demographic characteristics, food safety knowledge, attitudes, and practice scores. Linear regression models were used to analyze the factors influencing vendors' knowledge, attitudes, and practices in food safety and the association between the respondents' food safety knowledge, attitudes, and practices were tested using Spearman's correlation coefficient. The data were analyzed using STATA 14 software.

2.5.1 Linear regression

$${\text{Models specification: Y}} = {\text{b}}_{0} + {\text{b}}_{{1}} {\text{X}}_{{1}} + {\text{b}}_{{2}} {\text{X}}_{{2}} + \cdots + {\text{b}}_{{\text{n}}} {\text{X}}_{{\text{n}}} + {\text{e}}\ldots$$
(1)

Y is the dependent variables (food safety knowledge mean score ranges from 0–12 (model 1), food safety attitude mean score that ranges from 8–40 (model 2), and food handling practice mean score from 9 to 45 (model 3). Similar independent variables were used for the 3 models (Table 1); b0-bn is the regression coefficients; X1–Xn is the independent variables (age, gender, marital status, household size, years of experience, education and information sources); e is the error term.

Table 1 Description variables imported into the multiple linear regression model (n = 240)

The model was tested for multi-collinearity using correlation, coefficients of tolerance, and a variance inflation factor (VIF), which indicated that the variables were independent. The Durbin-Wu-Hausman test did not reveal any effect of potential endogeneity.

3 Result and discussion

3.1 Demographic characteristics of the food vendors

Most vendors from the study area of the SFP are females and under the age of 40 (Table 2). This is attributed to the tradition of the study area where females are responsible for cooking. This may have an implication for their food-handling experience. The majority of the vendors are married and have 5–10 people in their household who are expected to be responsible towards food safety. Almost all the food vendors have some level of education and may read and understand the written food safety act. Most of the food vendors have never attended food handling training before and during the recruitment of the program and have no medical certificate. This is contrary to the National Food Control system that ask every food handler to undergo certain training and must be free from any form of communicable disease (Omojokun 2013). This can be the genesis of food contamination due to a lack of food handling training and the source disseminating communicable diseases like tuberculosis when the food vendor is a carrier. This is consistent with Madaki and Bavorova (2019) study conducted in Nigeria, which reported that the majority of food vendors lack food handling training. A majority (78.75%) of the food vendors had no medical certificate in Nigeria.

Table 2 Socio-economic characteristics of food vendors (n = 240)

3.2 Food safety knowledge of food vendors

The food vendors answered questions on food safety with the greatest accuracy (Table 3):

  1. I.

    Microorganisms are frequently found in hands (89.6% of respondents knew);

  2. II.

    Using expired food can't cause health disorders (88.3% of respondents knew);

  3. III.

    Food tasting should be done with a different spoon (84.2% of respondents knew).

Table 3 Descriptive result of food safety knowledge of food vendors (n = 240)

However, food vendors had relatively low or average knowledge of the questions:

  1. i.

    Unaccredited, off-brand bulk products should not be purchased (42.9% of respondents knew);

Generally, food vendors showed a good knowledge in food safety; however, most needed to be taught that unaccredited, off-brand, and bulk products should not be purchased. Therefore, the National Agency for Food and Drugs Administration and Control (NAFDAC) may need to create better awareness on the standard certifications for effective control of food quality as part of their mandate. This may reduce the chance of food contamination among food vendors.

3.3 Attitude towards food safety

The responds of food vendors regarding food safety attitudes revealed that most believed that safe food handling is an integral part of their job, with a mean score of 4.41 as the highest result for the level of food safety attitude compliance (Table 4). Furthermore, majority of the food vendors reported that learning more about food safety is essential, with a mean score of 4.36. This implies that food vendors would like to learn more on food safety related issues, which is an opportunity for food safety institutions like NAFDAC, Ministry of Agriculture, Health, and Standard Organization to guide vendors on standard food handling practices. Furthermore, most food vendors knew that raw food should be kept separate from cooked food, with a mean score of 4.36. Average food vendors knew that using masks, protective gloves, caps and adequate clothing reduces the risk of food contamination (mean score 3.92). Also, most reported that improper food storage might be hazardous to health (mean score 4.37). More awareness about food safety among the food vendors in the Nigerian SFP should be created e.g. by the Ministry of Health, to understand the role of using caps, gloves, and mask in reducing food contamination.

Table 4 Responses on food safety attitude questions among food vendors (n = 240)

3.4 Food safety practices of food vendors

Food vendors reported that safe food handling is an integral part of their job with a mean score of 4.41, ranking highest in their procedures for food safety practices (Table 5). Vendors answered that they pay concerned about hygienic foodstuff sources with a mean score of 4.54, ranking second in their food safety practices. Third ranking in food safety practices were the answers regarding disposal of food that developed an odor, which most vendors reported is the right thing to do (mean score 4.52). Food inspection institution should motivate and encourage food vendors to maintain these practices. On the other hand, vendors scored poorly when asked about if they use gloves when touching or distributing unwrapped food (mean score 2.86), ranking it the lowest in their food safety practices. Likewise, low scores where reached regarding the use of protective clothing when touching or distributing unwrapped foods (mean score 2.90). National inspections should make sure that food vendors comply with the National Food Safety Act and make it compulsory to food handlers to use protective clothes.

Table 5 Responses on food safety practices among food handlers (n = 240)

3.5 Factors affecting food safety knowledge of food vendors engaged in the SFP

3.5.1 Knowledge

Socio-demographic characteristics had little effect on food safety knowledge of food vendors involved in SFP (Table 6), while education attainment showed a significant effect (p < 0.05). Because the more educated the individual, the more likely that they can read and understand written food safety information easily (Osaili et al. 2018; Madaki and Bavorova 2019). This is in line with studies of Sibanyoni et al. (2017), Luo et al. (2019), Moreb et al. (2017), and Siddiky et al. (2022), that found that education had a positive influence of on food safety knowledge of food vendors. Information sources could have an effect food safety knowledge of food vendors in the SFP. Vendors using radio and TV as a source of food safety information showed a significantly higher food safety knowledge scores than food vendors that were not using these information sources (p < 0.10 and p < 0.05). This indicates the role of radio and television in dissemination of food safety information because of the large coverage and easy to comprehend the information as most of the information is in local language. This is in line with studies of Liu and Ma (2016) and Tiozzo et al. (2019), who reported that access to food safety information via radio and TV improves the food safety knowledge of food vendors. Food vendors who received food safety information from food inspection institutions have significantly (p < 0.01) higher food safety knowledge scores than those who did not receive it. This highlighted the important role of food safety inspections for providing the reliable and credible food safety information as well as correcting false food safety information. The result is consistent with previous studies (Azanaw et al. 2019; Sibanyoni et al. 2017; Woh et al. 2016), who identified receiving food safety information from institutions improve vendors’ food safety knowledge. This indicated that radio, television, and food safety institutions could improve the food safety knowledge of food vendors under the SFP, which translates to food safety practices. This implies that by utilizing the reach and influence of radio, television, and food safety institutions, it is possible to improve food safety knowledge among the general public significantly. These platforms can serve as effective tools for disseminating information, promoting best practices, and empowering individuals to make informed decisions regarding food safety.

Table 6 Multiple Linear Regression of the food safety KAP scores of food vendors in Northeastern Nigeria (n = 240)

3.5.2 Attitude

Regarding socio-demographic characteristics, the result revealed that an increase in the age of food vendors significantly (p < 0.01) increased food safety attitudes of the food vendors (Table 6). This implies that considering certain age during recruitment of food vendors in the program may help in avoiding cross contamination of food. This is consistent with Luo et al. (2019), Sterniša et al. (2018), Siddiky et al. (2022) and Liu and Ma (2016), who reported that older food vendors had better food safety attitudes. The plausible reason is that as age increases, so do maturity and sound decision to take responsibility. Male food vendors had significantly (p < 0.05) higher food safety attitude scores than their female counterparts. This is in line with Luo et al. (2019). It is possible that the males may have received more exposure to food safety information or education, leading to better awareness and understanding of safe food handling practices. This increased knowledge may result in more positive attitudes towards food safety. Also, an increase in food vendors’ years of vending significantly (p < 0.10) increased the food safety attitude score. The plausible reason is that vendors gain more knowledge on food safety and handling over time (Teffo and Tabit 2020; Siddiky et al. 2022; Al Banna et al. 2021). This indicates using food handling experience can be used as selection criteria of the food vendors during recruitment in the program to minimize cross contamination of food.

Radio is the predominant means of information dissemination in Nigeria (BBG 2014). Vendors receiving food safety information on the radio had a significantly (p < 0.05) higher food safety attitude score. This is consistent with the results by Tiozzo et al. (2019) and Woh et al. (2016). Furthermore, food vendors using food inspection institutions as a source of information have a significantly (p < 0.10) higher food safety attitude score, in line with (Azanaw et al. 2019; Woh et al. 2016). The plausible reason is that food inspection institutions are the most trusted, precise, and dependable source of information for food vendors. In summary, our findings revealed that by utilizing radio platforms and working in conjunction with food safety institutions, food vendors can receive essential information, visual training via television, and support to for the positive attitude toward food safety.

3.5.3 Practices

The years of vending experience significantly (p < 0.05) impact food safety practices in a positive way (Table 6). This corroborates with Siddiky et al. (2022), Teffo and Tabit (2020), Al Mamun et al. (2019) and Al Banna et al. (2021). With more experience, food vendors can learn from past mistakes and incidents, identify the areas with low food safety and take corrective actions to prevent similar issues in the future.

There is an increase in internet services and food safety teaching platforms online providing content on food safety practices. Using the internet as a source of food safety information significantly influences vendors’ food safety practices positively (p < 0.05), in line with Burke et al. (2016) and Chi et al. (2017). Likewise, information provided by food inspection institutions for food safety significantly (p < 0.05) impacted food safety practices in a positive way (Table 6). Food inspection institutions have developed quality information and continuous improvement, which has instilled trust in food vendors. This is in line with the literature (Azanaw et al. 2019; Woh et al. 2016), which reported that vendors who receive food safety information from food inspection institutions have better food safety practices. The internet enables food vendors to connect with food inspection institutes, health authorities, and other professionals in the food industry. They can seek guidance, clarification, and advice on food safety regulations and practices.

3.6 Correlations between food safety KAP

Food safety knowledge and attitude are weakly and non-significantly associated (Table 7). Nevertheless, a sizable positive correlation between food safety attitudes and food safety practices scores with a medium correlation coefficient (45%). This suggests that food vendor practices are associated with food safety attitudes. Likewise, food vendors’ attitudes towards food safety are associated with their actual food safety practices. This aligns with other studies (Kunadu et al. 2016; Azanaw et al. 2019) that reported a positive correlation between food safety attitudes and practices. In summary, a favorable food safety attitude influences food vendors' mindsets, actions, and commitment to maintaining high food safety standards. It encourages awareness, compliance, continuous learning, and improvement, ultimately resulting in safer food handling practices and the well-being of consumers.

Table 7 Relationship between food safety knowledge, attitudes and practices

4 Conclusion and recommendations

This study examined food safety KAP of vendors involved in the SFP in Nigeria, and the factors affecting them. The influence of socio-economic characteristics and sources of food safety information on food safety KAP was investigated using multiple linear regression. Since an increase in education increases food safety knowledge, and years of vending experience increases the food safety attitude score. Thus, as a selection criterion, food vendors should have excellent primary education and years of vending experience. This is because as food vendors gain experience over the years, they become more attuned to the significance of food safety and its impact on their customers’ health.

Using the radio and internet as information sources increased food safety knowledge and attitude scores. They enable food vendors to connect with food inspection institutes, health authorities, and other professionals in the food industry, giving guidance, clarification, and advice on food safety regulations and practices.

Vendors in the study area have moderate food safety knowledge showing poor food safety practices in some areas, which can endanger pupils' life. Thus, we recommend that food vendors focus on food safety training, access to information and resources, regulatory compliance, and effective monitoring and enforcement mechanisms. A combination of education, experience, and these additional factors can collectively shape an individual's food safety knowledge and attitude.

National Food Regulatory Agencies such as NAFDAC, Standard Organization, Consumer Protection Council, Ministry of Health and Agriculture should make food safety training mandatory using food safety guide published by FAO (2023) for all vendors participating in Nigeria SFP. We also recommend that vendors should have access to the manual of the National Policy for Food System and Implementation Strategy (NPFSIS) (WHO 2021a, b). Finally, an inspection (monitoring unit) of practices is needed to implement food safety practices effectively and impose punishment on not-complying vendors.

It is important to note that the KAP model recognizes that knowledge and attitude alone may not always translate into behavioral change. Other factors, such as external influences, social support, access to resources, and individual motivation, can also impact an individual's ability and willingness to practice safe food handling. Therefore, interventions based on the KAP model should consider these additional factors and address barriers to behavioral change to promote food safety practices effectively.

The study's findings only apply to the food vendors of the SFP in northeastern Nigeria. Perhaps food vendors from different regions in the country would show different ratings. Also, a self-reporting study design may be a source of bias; therefore, observational would be useful research for future studies.