Introduction

Nitrite has been extensively used in food or environmental areas including food preservation, flavour enhancement and fertilizer application. It has also appeared in water distribution systems such as in groundwater, lakes, and seas [1]. Thus, it easily accumulates in vegetables, fruits, poultry, processed meats, and drinking water and is present in our daily diets [2]. Excessive nitrite intake by people can result in the onset of severe diseases. Nitrite induces the irreversible reaction of haemoglobin to form methemoglobincarbon polyhedron, which disrupts the oxygen delivery system. Furthermore, it combines with amines to form N-nitrosamines which are likely to cause gastric cancer [3]. The International Agency for Cancer Research has classified nitrite as a probable carcinogen (Group 2 A) to humans [4]. The maximum contamination level of nitrite in drinking water is 3 mg·L−1, defined by the World Health Organization [5]. Therefore, the sensitive and efficient analysis of nitrite in food and the environment is of particularly interest.

Traditional analytical techniques including spectrophotometry, chromatography and capillary electrophoresis, have been adopted to monitor nitrite in various food commodities and precise detection results have been obtained [6]. However, the limitations of these conventional methods cannot be ignored. For example, the most widely adopted spectrophotometric method for nitrite analysis is the Griess Assay. However, this method is slow and has low sensitivity due to interference by other ions [7]. Chromatography has the benefit of high sensitivity, but the need for sample pre-treatment, complicated operation procedures, well-trained operators and expensive instruments make this approach costly [3]. Regarding capillary electrophoresis, the limited capacity of the capillary columns causes low sensitivity and hinders reproducibility. The method also requires prior sample preparation and a complex apparatus [8]. The disadvantages of conventional methods are a key limitation for the measurement of nitrite. On the contrary, the use of a sensor for the detection of nitrite has drawn increasing attention because of its simplicity, high effectiveness, rapid detection, and low cost. With recent advances in nanotechnology, nanomaterials with outstanding features play an important role in sensor development [9,10,11]. Over the past decade, many nanomaterials like graphene [12], quantum dots [13, 14], noble metal nanoparticles (NPs) [15] and polymers [16] have been successfully used in sensors for nitrite analysis with greatly improved detection performances. Among the various kinds of nanomaterials, metal-organic frameworks (MOFs) have emerged as a crystalline material with significant promise for application in sensor development [17].

MOFs are advanced highly porous materials built from diverse metal ions or clusters and organic ligands. Beyond traditional porous materials like zeolites and mesoporous silicas, MOFs possess organized porosity, superior internal surface area, tailorable structure, and ease of modification [18]. Moreover, they can serve as good supports to be integrated with other functional substances and excellent templates to be pyrolyzed, creating novel MOF composites and MOF derivatives [19]. Thus, increasing efforts have been devoted to the applications of MOF-based materials in various fields including catalysis [20], drug delivery [21], energy storage [22], and gas separation [23]. Besides these applications, research on the design of MOFs-based sensors towards diverse objects has rapidly expanded in the last few years. Although plenty of MOF-based sensors have been summarized in previous reviews [24,25,26], there is a lack of a systematic overview of MOF-based sensors focusing on the analysis of nitrite. To address this, a short article summarizing the emerging applications of MOFs for the control of nitrite is highly required.

Generally, the analytical strategies can be divided into two categories: MOF-based electrochemical sensors and MOF-based optical sensors. In this review, we first summarize the design of MOF-based electrochemical sensors for nitrite analysis. For electrochemical sensing, the selection of suitable electrocatalysts is the key factor to ensuring high sensitivity [27]. MOF-based electrocatalysts are mainly classified into three types: pristine MOFs, MOF composites and MOF derivatives. Several studies have shown that pure MOFs such as MOF-525 [28] and MIL-53 [29] exhibit good catalytic capabilities, originating from the active sites of organic linkers or metal nodes. Besides this, the high porosity of MOFs allows them to be constructed as MOF composites with other active materials [30]. These well-designed MOF composites have improved or even new features when compared to single components because of the cooperative effect. In addition, MOF derivatives can be fabricated through carbonization. They also possess high catalytic activity due to the partially maintained frame structure and novel active sites formed from the precursors [31]. Secondly, the recent applications of MOF-based sensors including luminescent MOFs (LMOFs) and MOF composites in the optical detection of nitrite are summarized and discussed. For optical sensing, it is important to prepare efficient nitrite recognition materials. As a branch of MOFs, LMOFs have attracted much attention since their adjustable structures and high porosity can provide high sensitivity and good selectivity in the field of optical sensing [32]. Apart from the fluorescence produced by LMOFs, other optical components can be incorporated into MOFs to trigger fluorescence and provide a response to nitrite [33]. Finally, personal viewpoints on the challenges and prospects for future studies are given. We expect that this review can provide guidance for scientists to design novel MOF-based sensors for the determination of nitrite and to foster the cooperation between food analysts and material researchers.

MOF-based electrochemical sensors

The electrochemical method has gained immense popularity for sensor fabrication owing to its quick response time, high sensitivity, good selectivity, and cost-effectiveness [34,35,36,37]. This method always involves the redox reactions of the target at the electrode surface [38,39,40,41]. Nitrite is electroactive with platinum, gold, copper, and glassy carbon electrodes. However, the utilization of these electrodes is unsatisfactory owing to the high oxidation potential of nitrite on the bare electrodes. The excellent properties of MOF-based materials as electrode modifiers have boosted the development of many electrochemical nitrite sensors, (Fig. 1) and a summary of these sensors is listed in Table 1.

Fig. 1
figure 1

Different MOF-based materials in the electrochemical sensing of nitrite

Table 1 MOF-based electrochemical sensors for nitrite

Pristine MOFs

In general, the intrinsic electrochemical activity and the number of active sites of a pristine MOF are of vital importance in its detection performance. The electrocatalysis behaviour of pristine MOFs can be modulated by the careful selection of the metal node and organic linker. Porphyrins are a class of naturally occurring macrocycles in the form of enzyme active sites that are used as building ligands in MOF synthesis [42]. Porphyrin-related MOFs with highly porous structures retain the activity of porphyrin and grant analytes and electrolyte ions access to the activity centres [43]. In 2015, Kung et al. first prepared uniform porphyrin MOF-525 films on fluorine-doped tin oxide substrates [44]. The fabricated MOF-525 films showed high electrocatalytic activity for the oxidation of nitrite, which could be ascribed to the generation of the cation radical state of the porphyrin. In addition, MOF-525 was a Zr-based MOF that exhibited high water stability, indicating potential applicability for nitrite analysis in aqueous systems. Benefiting from their numerous accessible active sites, large surface areas, and short diffusion distances, two-dimensional (2D) MOFs that exhibit excellent electrocatalytic activity have attracted extensive interest in the construction of sensors [45]. Zhao et al. investigated the application of a porphyrin-based 2D Zn-TCPP (TCPP= 4,4,4,4-(Porphine-5,10,15,20-tetrayl)tetrakis(benzoic acid)) nano-disk toward the sensing of nitrite [46]. The size of the synthesized material could be effectively regulated with the help of 4,4’-biphenyldicarboxylic acid (Fig. 2a). The good distribution of the porphyrin ligand and the unique structure of the developed nano-disk exposed more active sites, leading to higher activity. The prepared electrochemical sensor resisted interference from K+, Na+, SO42−, SO32−, and NO3 and showed high selectivity, good reproducibility, and fast response toward nitrite.

Fig. 2
figure 2

a Illustration of the synthesis of Zn-TCPP nano-disk. Reprinted with permission [46]. Copyright 2018, Royal Society of Chemistry. b Schematic illustration of the development of analytical platform depending on Au/Cu-MOF composites and the quantification of nitrite. Reprinted with permission [51]. Copyright 2019, Elsevier. c Illustration of the construction of MOFs-derived α-Fe2O3/carbon nanotubes. Reprinted with permission [63]. Copyright 2018, Elsevier

Aside from the use of the organic linkers of MOFs as catalytic active sites, active centres can also be imported by metal nodes. Because of their outstanding electrochemical properties, Cu-based MOFs have been extensively studied by scientists. An electrochemical sensing platform comprised of a carbon paste electrode decorated with a redox-active Cu-MOF was first constructed for nitrite determination through an amperometry technique [47]. The high surface area and abundant micropores of the Cu-MOF provided good accumulation efficiency and abundant active sites (copper active centres) for nitrite oxidation. Meanwhile, Fe(CN)63+ absorbed on the Cu-MOF could promote the catalytic behaviour of nitrite to magnify the measurement signal. Therefore, the prepared Cu-MOF decorated electrode could significantly improve the detection signal and showed high electrocatalytic ability and good selectivity.

Although the aforementioned instances illustrate that several pristine MOFs can be directly utilized in electrode decoration for the measurement of nitrite, it is worth noting that most MOFs demonstrate unsatisfactory detection performance owing to their low conductivity, relatively poor chemical stability and limited electro-catalytic activity, which would hinder their practical application.

MOF composites

To overcome the inherent defects of pristine MOFs and achieve improved detection performance, incorporating MOFs with guests to form MOF composites is a common strategy. These composites not only compensate for the drawbacks of pure MOFs but also inherit the nature of the guest material, thereby endowing the sensors with higher sensitivity, specificity, and stability [48].

Noble metal NPs are excellent materials for electrochemical analysis due to their high catalytic ability towards nitrite oxidation, high active area, and good electrical conductivity. However, they usually suffer from aggregation issues, causing the degradation of catalytic properties [49]. Incorporating noble metal NPs with MOFs is regarded as a useful way to solve this problem [50]. This maximizes the interfacial area of noble metal NPs and MOFs, enhancing the interaction and electronic transfer between them, and improving their detection properties. For example, Chen et al. coated Au NPs via electrodeposition on the surface of a Cu-MOF to prepare Au/Cu-MOF composites, which integrated both the electrocatalytic activity of Au NPs and the huge surface area of Cu-MOFs (Fig. 2b) [51]. The porosity of Cu-MOF favoured the adsorption of nitrite and made the Au NPs monodisperse distribution. Also, it exhibited a long-term stability, good reproducibility, and anti-interference. The proposed method was successfully applied for the measurement of nitrite and provided satisfactory results.

Carbon-based nanomaterials are promising candidates for supporting MOFs because of their various structures (e.g., 0D quantum dot, 1D carbon nanotube and 2D graphene structures) and can remove the weakness of MOFs through their high electrical conductivity, superior mechanical strength, and good chemical and thermal robustness [52]. A multi-walled carbon nanotubes (MWCNTs)-Zr-MOF composite was prepared and its performance in sensing nitrite is investigated [53]. The introduction of MWCNTs facilitated electron transfer, resulting in better conductivity, and contributed to the improved stability of the electrode. The developed sensor exhibited suitable stability, repeatability, and selectivity for the recognition of nitrite. The spiked samples demonstrated good recovery results and the relative standard deviation (RSD) was 0.34%. In another case, with the help of ultrasonic treatment, Cu-MOF anchored graphene oxide (GO) hybrids were synthesized for the determination of nitrite [54]. Taking advantage of the sufficient oxygen-containing functional groups of GO, Cu-MOFs were size-controllably synthesized and possessed colloidosome-like morphology. The original properties of each component in this composite were preserved, while the synergistic effects of Cu-MOFs and GO can promote the quantification performance. The modified electrode improved the oxidation current signal by two-fold as compared to the electrode without surface modification and showed a fast response (less than 3 s) to nitrite.

Benefiting from the extremely large surface area and high porosity of MOFs, multiple functional components can be simultaneously combined with them to broaden the scope of MOF composites and achieve enhanced electrochemical sensing performance [55]. An analysis platform was introduced to monitor nitrite levels by encapsulating Au NPs and electrochemically reduced graphene oxide (ERGO) within the Cu-TDPAT (TDPAT=2,​4,​6-​tris(3,​5-​dicarboxylphenylamino)​-​1,​3,​5-​triazine) [56]. Electron transport between nitrile and the electrode surface was significantly enhanced with the assistance of Au NPs and ERGO. The oxidation signal of nitrite on the decorated electrode was enhanced by 1.83 times compared to the bare electrode and showed a low oxidation potential of 0.77 V. Due to the cooperative effect of the Au NPs, ERGO, and Cu-TDPAT, the presented sensor exhibited good stability, wide linear range, low detection limit, and could quantify nitrite in tap water, milk, sausage, and pickled vegetable samples with recoveries in the range of 91.4-100.2%.

There are growing interests in the building of biosensors for nitrite detection due to their high selectivity and specificity. Generally, a redox electroactive protein or enzyme like cytochrome c (Cyt c), myoglobin, or haemoglobin should be integrated [57]. Nevertheless, their intrinsically fragile nature limits their practical application. Employing porous MOFs as the matrices for protein immobilization can improve the stability of the proteins and facilitate nitrite transport without negative effects on activity. Tong et al. prepared an electrochemical sensor for the determination of nitrite by a Co-TCPP/ionic liquid/Cyt c bio-composite [58]. In their study, Cyt c was absorbed onto Co-TCPP followed by the deposition of ionic liquid. Co-TCPP not only had a large surface area to immobilize more Cyt c, leading to high sensitivity, but also enhanced the repeatability and reusability of the developed biosensor. After storage for 14 days at 4℃ at pH 7.0, the constructed sensor retained 91% of its initial response, indicating its high stability.

MOF derivatives

An alternative strategy to overcome the poor conductivity and instability of common MOFs is pyrolyzing MOFs to obtain their derivatives. These materials not only preserve the inherited structural properties of the parent MOFs but also enhance several of their features including electric conductivity, stability and catalytic activity, demonstrating their great potential in electrochemical analysis [59].

Generally, when carbonizing MOFs in an inert atmosphere, the organic ligands will transform into carbons that serve as a reductant to reduce the metal nodes in situ. This occurs because of the confinement effect of MOFs, which causes the generation of carbon-supported metal composites [60]. These novel composites possess highly ordered structures and high electrocatalytic activity with the presence of well-dispersed metallic NPs, which contribute to nitrite detection. By directly carbonizing ZIF-67 in argon, a magnetic Co@carbon hybrid was prepared and then deposited on the electrodes for electrochemical detection of nitrite [61]. The developed hybrid retained its original rhombic dodecahedral shape, with uniformly distributed cobalt nanoparticles in the porous carbon. Benefiting from its porous structure and high activity, the Co@carbon hybrid showed an outstanding electrochemical response. The reproducibility of the sensor was investigated by employing five independent electrodes (RSD = 3.4%).

If the thermal decomposition of precursor MOFs is conducted under an air atmosphere, porous metal oxides with intriguing properties will form [62]. Such MOF-derived metal oxides and carbons exhibit large surface areas and interlinked pores, which make them desirable for application in electrochemical sensing. An α-Fe2O3/carbon nanotubes nanocomposite was fabricated using MIL-101(Fe) as both a template and as a precursor assembled onto carbon nanotubes for the quantification of nitrite (Fig. 2c) [63]. Thanks to the high electrocatalytic activity of α-Fe2O3, the good conductivity of the carbon nanotubes, and the synergistic effect between them, the electrochemical performance of the studied α-Fe2O3/carbon nanotubes decorated electrode for the oxidation of nitrite displayed high responsivity, good linearity, outstanding selectivity, and superior stability. In tap water and pond water, the recoveries were 97.4-102.2% and 96.1-103.6% respectively, demonstrating the potential application of this method in real samples.

To further improve the performance of the MOF derivatives-based sensors, post-modification appeared to be an attractive strategy. In a recent study, Zhang et al. reported Co, N co-doped carbon polyhedron (CP) obtained from ZIF-8@ZIF-67 by carbonization under argon, followed by the electrodeposition of Ni NPs onto them to produce a Ni/Co, N-CP composite as an absorbing platform for analysing nitrite [64]. The high porous Co, N-CP nanoparticles could effectively immobilize Ni NPs without aggregation and provide plenty of active sites for electrochemical detection. Meanwhile, the introduction of Ni NPs could facilitate electron transportation and improve electronic conductivity. The proposed strategy in this work revealed that the Ni/Co, N-CP modified electrode showed good performance for monitoring nitrite.

MOF-based optical sensors

Optical sensors have gained huge interest by virtue of their good sensitivity, convenient operation, fast response time, low cost, and easy visualization [65]. In light of their exceptional characteristics, MOFs as fluorescent probes are also taken into account in the construction of luminescent sensors for nitrite measurement (Table 2). Generally, the fluorescence can originate from LMOFs themselves or luminescent guests on MOFs (Fig. 3).

Table 2 MOF-based optical sensors for nitrite
Fig. 3
figure 3

Different MOF-based materials in the optical sensing of nitrite

LMOFs

Lanthanide MOFs (Ln-MOFs), a specific subset of LMOFs constructed from lanthanide ions and organic linkers, have been widely employed as promising luminescent probes in analytical chemistry, combining the unique structural properties of MOFs and the intrinsic luminescent properties of lanthanide ions [66]. Recent studies indicated that energy transfer between some lanthanide ions and nitrite causes a quenching effect on the luminescence, making Ln-MOFs ideal candidates for nitrite detection. Among different lanthanide ions, Tb3+ is the most frequently used. In a recent report, a novel Tb-MOF was prepared using terbium(III) nitrate hexahydrate, o-phenanthroline and pyridine-3,5-dicarboxylic acid [67]. This Tb-MOF showed a strong green emission when excited at 242 nm. The emission intensity of Tb-MOF was quenched upon the introduction of nitrite (Fig. 4a). The probe could distinguish nitrite from other anions such as NO3, CO32− and HCO3, demonstrating its function as a promising sensor. The Tb-MOF also exhibited tolerance to some organic solvents and acid-base solutions. Interestingly, the sensor showed similar behaviour for ferric ions.

Fig. 4
figure 4

a Schematic illustration of the preparation of Tb-MOF and the quantification of nitrite. Reprinted with permission [67]. Copyright 2021, Elsevier. b Illustration of the quantification of nitrite by Tb3+@In-MOF. Reprinted with permission [68]. Copyright 2018, American Chemical Society. c Illustration of the quantification of nitrite by Rh110@MOF-801. Reprinted with permission [69]. Copyright 2019, Springer

MOFs with luminescent guests

The intriguing porous structure of MOFs allows for the incorporation of emissive guests dispersedly to prevent aggregation-induced quenching and form novel photofunctional probes. As mentioned above, Tb3+ is used to distinguish nitrite in most cases. Apart from studies on LMOFs fabricated with Tb3+ as the metal centre, the development of luminescent sensing can also be achieved by doping Tb3+ into the MOF framework via post-synthetic modification. 2,2’-bipyridine-5,5’-dicarboxylic acid and In(NO3)3·6H2O were reported to synthesize In(OH)bpydc, an In-MOF [68]. After coordinating Tb3+ with the uncoordinated sites of bipyridine in the framework, the developed Tb3+@In-MOF emits green light and could be applied to monitor nitrite through fluorescence quenching (Fig. 4b). Apart from sensing, the prepared material was also examined for nitrite absorption behaviour and showed a good adsorption capacity (3.45 mg·g−1).

Besides lanthanide ions, fluorescent dyes can also be encapsulated in the MOFs to produce luminescent nitrite sensors. Huang et al. reported the immobilization of rhodamine 110 (Rh110) dye in MOF-801 through a one-pot route [69]. The strong interactions between MOF-801 and the dye offered strong support for Rh110 to prevent it from escaping. Because of the porous nature of MOF-801, the aggregation of dyes can be inhibited and allows for contact with nitrite. The emission intensity of Rh110@MOF-801 was gradually quenched upon the incremental addition of nitrite (Fig. 4c). Compared with Rh110 alone, the Rh110@MOF-801 showed a higher quenching constant and a faster response time.

Conclusions and further perspectives

Food safety is closely related to human health. Among numerous food hazards, nitrite is known to be one of the most common because of its toxicity to humans. Therefore, developing highly efficient analytical methods for the detection of nitrite is an important scientific pursuit. Conventional spectroscopic analysis remains the predominant approach in monitoring nitrite since it is cheap and feasible, but it is always hampered by interferences and long operation times. While chromatography and capillary electrophoresis provide high sensitivity, they need high-cost devices. MOF-based sensors address many of the shortcomings of conventional analytical methods and have recently become a competitive alternative for the rapid, sensitive, and cost-effective quantification of nitrite. In this review, state-of-the-arts of MOF-based electrochemical and optical sensors for nitrite were summarized and discussed. Although much progress has been made in the use of MOFs for nitrite pollution control, the following obstacles remained to be taken into account in the near future.

A current literature survey indicated that some pristine MOFs with electrocatalytic activity were employed in the construction of sensors for nitrite analysis. However, their performances are still far from satisfactory, as most detection limits can only reach the micromolar level. To develop electrochemical sensors with the needed sensitivity, regulation of the morphology of MOFs is a promising strategy to improve their surface area. This would expose more catalytic active sites and promote analyte-catalyst interaction, thereby resulting in higher activity. Another potential strategy is to construct bimetallic MOFs to strengthen their catalytic and electronic properties. Such a strategy is also feasible for the design of MOF derivatives. In recent years, numerous attempts have been made to design high-stability and highly conductive MOFs. However, attention was only focused on material synthesis while the applicability of these materials in the field of food safety was ignored. Bridging nanotechnology and food science would create more possibilities and may lead to more directed approaches.

Emerging studies have employed MOF composites in the construction of sensors owing to their superior properties and have achieved fairly good results. However, the accurate control of composite preparation is difficult. A deeper fundamental understanding of the interaction between MOFs and guest materials is needed in the design of MOF composites to maximize their synergistic effects, leading to better detection performance. In addition, we observed that noble metals are widely used as guests while other metals or metal oxide NPs are rarely reported. Previous reports have illustrated the possibility of the use of different metals and metal oxide NPs such as Cu, NiO and CeO2 for the electroanalysis of nitrite. The fabrication of nanohybrids between these and MOFs and them is an attractive alternative as it can reduce costs.

Compared with pure MOFs, MOF derivatives not only offer some of the same merits as MOFs, such as tuneable catalytic active sites and high porosity but also possess a higher conductivity and better stability. However, studies on MOF derivatives-based electrochemical nitrite sensors are few and recent. How their composition, structure and morphology influence the detection performance remain unexplored. For example, by carefully designed regulation means, MOF derivatives in different structures such as hollow, core-shell, and yolk-shell structures can be obtained. It is difficult to predict which is most suitable for monitoring nitrite. Moreover, single-site atom catalysis, which can also be prepared by MOF derivation, may improve detection performance, and should receive attention in this regard.

Compared with electrochemical sensing, there are relatively few studies on optical sensors. Most optical sensors are depending on LMOFs rather than MOFs with luminescent guests. However, pure LMOFs are sometimes unstable in water or harsh conditions. The strategy of combining luminescent guests with carefully selected water-stable MOFs may solve this problem and needs further exploration. Until now, almost all the reported sensors function through a “turn-off” mechanism. Luminescence enhancement (signal-on) is preferable over luminescence quenching (signal-off) when the detection process is carried out in a dark background. Considering the advantages of higher sensitivity and practicability, developing sensors based on the “turn-on” mechanism deserves more attention. Other analytical modes such as colourimetric assay and ratiometric assay should also be investigated. For instance, the ratiometric method can eliminate environmental interference and enhance the accuracy of the determination method. Furthermore, a survey of the literature revealed that some studies did not carry out simulated real sample analysis. Thus, it is difficult to evaluate the feasibility of these sensors in practical applications. Future research should include the application of fabricated sensors in real samples to evaluate their practicality.