The genetics
The film's weapon, Project Heracles, is a form of genetically targeted killing: nanobots that spread by touch like a virus and kill only the person, or family, whose DNA they are coded to recognise. It was developed in secret by MI6 under M, so the threat originates in a government programme that creates a weapon of mass destruction, which is then stolen. Its scientist, Valdo Obruchev, is amoral: he secretly works for Safin and reprograms the nanobots for him, and Safin plans to distribute them worldwide. Genetics also shapes the ending: because the nanobots in Bond's body are coded to the DNA of Madeleine and her daughter, who is also his daughter, he can never touch them again, which gives his sacrifice its meaning. The heredity element is sound, since relatives share part of their DNA, but no technology exists that can recognise a person's genome and kill selectively in this way.
The story
Five years after leaving MI6, James Bond is living in Jamaica when the CIA asks him to help find Valdo Obruchev, a scientist kidnapped from an MI6 laboratory together with Project Heracles, a bioweapon made of nanobots that can be programmed to kill people with a specific DNA. Bond discovers that Obruchev is secretly working for Lyutsifer Safin, who wants revenge on the criminal organisation SPECTRE and its leader Blofeld. At a SPECTRE gathering in Cuba, a mist of nanobots meant for Bond kills the SPECTRE members instead. Safin forces Bond's former lover Madeleine Swann to carry nanobots coded to kill Blofeld, and Bond, after touching her, transmits them to Blofeld, who dies. Safin then kidnaps Madeleine and her daughter, Mathilde, and plans to release the nanobots worldwide from his island factory. Bond destroys the factory but is infected with nanobots coded to Madeleine and Mathilde, so he can never touch them again, and he dies in a missile strike.