Investigators are trying to determine who built a realistic-looking “hoax device” that brought a bomb squad to the Hull peninsula for the second time in a little more than a month.

Officials say the device, which police described as a cylinder wrapped in tape with a wire coming out of one end, was clearly designed to look like a homemade bomb and cause panic. It was discovered in the middle of a road through Fort Revere Park around 9:45 a.m. Sunday and prompted police to evacuate the park and call in the State Police bomb squad, which examined the device with a robot before determining that it was harmless.

“Somebody deliberately made this look like a device and placed in it in the middle of the roadway,” said Sgt. Neil Reilly of the Hull Police Department.

The device, which Reilly said was roughly the size of a one-liter soda bottle, is being analyzed by State Police investigators. Jennifer Mieth, spokesman for the state’s Department of Fire Service, declined to say what materials were used to make the device, but said in an email that the object “was definitely a hoax device – designed to look like a real one.”

Reilly said the bomb squad had to use a jet of water to break through the exterior of the device and get a look at what was inside. He said the object was filled with rolls of masking tape.

Reilly said investigators are looking at whether the device could be related to another object found on the beach near Kenberma Street on June 11. That device, which Reilly said looked like a beer keg with brass piping, prompted police to close off the beach and call in the Boston police bomb squad, which examined the device with a robot before determining it was filled with seawater.

“We wanted to make sure something didn’t float up, like an old military explosive device,” he said.

Reilly said whoever made the devices could be charged with placing a hoax device, which carries a penalty of up to five years in prison and a fine of up to $10,000.

“In light of all that’s going on with the Boston bombing, that won’t be tolerated by any agency, city or town,” he said. “They’ll be prosecuted fully.”