I’ve tried to search for this book using keywords and quotes on Google, but I couldn’t find it.
In this book, three teenagers, a boy and two girls, find a lost spaceship that was camouflaging itself. They find four headsets in the spaceship, and put the first three on. Over the next few days, they gain special powers from the alien ship.
The boy gets a kind of super strength. One of the girls gains the ability to do math super well, and the last girl... well I forgot. They all have exceptional strength and intelligence as a result of the headsets; its just that they have a specialty.
Another human, the antagonist in the story, had made a black hole, and theorized that the only way to get rid of it was to put it through a portal into another world, but he was under influence from some alien race, which were waiting at the other side of the portal to take over humanity. The three teenagers, with their superpowers and the training of some mentor, stop the aliens from taking over Earth, and also are able to shove the black hole through, destroying the aliens’ world. The girl whose power I didn’t know dies, though.
And also the aliens have nanobots in their bodies.