Heat oven to 300 degrees. Pour 2 inches of oil in a smallpan; add shallots. Place over medium heat, and fry, stirring occasionally, until golden brown, about 18 minutes. Remove to a paper-towel-lined plate.Advertisement
Combine sugar, salt, and spices in a small bowl. Whisk egg white in a medium bowl; add cashews, and stir to coat. Sprinkle spice mixture over nuts, stirring to coat evenly. Transfer to a parchment-lined rimmed baking sheet; bake until fragrant and golden brown, about 28 minutes. Scatter shallots over hot cashews; let cool. Store in an airtight container up to 2 weeks.