You should take proper safety precautions when building a magnet-powered generator. Generate low voltages to avoid electric shocks. Avoid pinch points on coils that could trap fingers. Don’t directly connect coils to outlets. Incorporate protection circuitry to prevent overloads.
With care, magnet generators can safely light LEDs for innovation and discovery.