Inflammation can affect the progression of cancer at tumor sites, such as in osteosarcoma, by intensifying metastasis and complicating outcomes. The current diagnostic methods lack the specificity and sensitivity required for early and accurate detection, particularly in differentiating between inflammation-induced changes and tumor activities. To address this, a novel "hedgehog ball"-shaped nanoprobe, Fe3O4@Au-pep-CQDs, was developed and designed to enhance the detection of caspase-1, a key marker of inflammation. This magnetic nanoprobe facilitates simultaneous fluorescence (FL) and electrochemiluminescence (ECL) detection. Magnetic separation minimizes the quenching of nanoparticles in solution and eliminates the need for frequent electrode replacement in ECL tests, thereby simplifying diagnostic procedures. The experimental results showed that in the detection of caspase-1, the nanoprobe had a detection limit of 0.029 U/mL (FL) and 0.033 U/mL (ECL) and had a dynamic range of 0.05 to 1.0 U/mL. Additionally, the nanoprobe achieved high recovery rates of 94.36 to 102.44% (FL) and 94.36-100.12% (ECL) in spiked biological samples. Furthermore, the nanoprobe's capabilities were extended to in vivo bioimaging to provide direct, intuitive visualization of biological processes. These novel nanoprobes were able to significantly enhance the accurate detection of inflammation at tumor sites, thereby optimizing both diagnostic and therapeutic strategies.