the heat from the pasta will cook the raw eggs. you can also use pasteurized eggs; they've been heated just below the "scrambling point," killing any salmonella that may have been present.