A bumbling TSA agent “playing around” with a pepper-spray container at Kennedy Airport fired the caustic liquid at five fellow screeners yesterday, sending all six to the hospital, a source told The Post.

The agent, Chris Yves Dabel, discovered the device at the Terminal 2 security checkpoint and tried to determine if it was real, a source told The Post.

He told Port Authority cops that he “found the canister on the floor and thought it was a laser pointer.”

“They were playing around with it,” said one Kennedy Airport official.

The screener sprayed five other TSA agents around him, sending all six to Jamaica Hospital and halting security checks at Kennedy for at least 15 minutes, police said.

No passengers reported injuries. Dabel refused medical attention.

TSA officials scrambled to keep the embarrassing incident under wraps yesterday — until The Post began inquiring about it, a source said.

The agency has been plagued with a rash of humiliating incidents at area airports — including the failure of Newark screeners in February to catch an undercover fed with a fake explosive stuffed in his pants at either of two checkpoints.

Authorities have called for a top-to-bottom review of that airport’s procedures.