The key here is understanding what is happening. Typically, this is occurring in a young kitten, in a single cat household in which the owner leads a busy lifestyle. This means that the cat is understimulated. It has minimal outlets for its natural need to play. The result is a cat who stalks the owner jumping out at them when the owner is least expecting it. Or, running across a room at the owner and jumping at his face. These attacks can seem quite vicious and must be dealt with appropriately before they turn serious. Often the owner is an elderly person who does not recognize the need for play and is also at high risk for infection and injury from a bite.
You must provide the opportunities. This can be in the form of individual play or owner interactive play. There are many toys which can be purchased or made which will help you encourage your cat to play. "Cat Dancer" type toys (fishing pole type apparatus with various toys attached) make wonderful devices to entice your cat to play. cardboard boxes and paper bags make great exploration areas which most kittens cannot resist. Playing catch or chase with toy balls or aluminum foil rolled into a ball works great. There are "Cat Trax" toys which is a ring with a moveable toy inside which the cat tries to get at. I did a similar thing for my cat by cutting holes in a shoe box and placed some kibble inside. Kept her busy for an hour! You are only limited by imagination. The key is to regularly (2-3, 15-20 minute sessions per day) interact with your cat to provide the stimulation he needs.
Be aware that not all people should have a kitten or solitary cat. If your schedule is such that you are not home much or are not able to play with your cat, think about a pair of adult cats or, get a stuffed one!