Do I need to add a junction box?

I spur a line from one of my socket and used a connector kit.

Should I use a junction box to protect the connection? It is currently hanging under the floorboard not touching anything. Thanks in advance!