Rahab is discussed as a mythical sea figure in the Jewish Encyclopedia.
The sea and its ruler
Wilhelm Bacher and Jacob Zallel Lauterbach’s article describes the name in relation to the sea or abyss, sea-monster imagery, and Egypt. It also reports a Talmudic tradition naming Rahab as the ruler of the sea.
The encyclopedia’s “Angelology” article recounts that this sea-prince refused a command at creation, was slain, and lay covered by water. It cites Bava Batra 74b for that account.
Sources
Jewish Encyclopedia,“Rahab” and “Angelology.” The narrative here follows these reference articles.