If someone is interested in this, I found this in an article from 2019:
TTX is found in a remarkably wide range of marine and terrestrial animals across disparate taxa; it is found not only in pufferfish, but also in a variety of vertebrates and invertebrates [
38,
39,
40].
It is generally accepted that TTX is accumulated in TTX-bearing animals through the food chain, starting from bacteria as the ultimate producers of the toxin, although the exact biosynthetic and metabolic pathways of TTX remain unknown. However, it is also possible that TTX is not obtained via the food chain and is instead produced by symbiotic or parasitic bacteria that directly accumulate inside of the octopuses. It is not clear at present whether the toxins in our toxic octopus specimens were endogenous or exogenous in origin. Since octopuses are generally carnivorous feeders, it is more plausible that octopus specimens accumulate the toxin by feeding on toxic marine organisms in the sampling areas.
It is not uncommon for toxins to be transported and accumulated in food chains, particularly in marine biota, and feeding experiments may be useful for clarifying the origins of the toxins contained in toxic octopuses. Evidence of TTX-producing bacteria isolated from some TTX-bearing organisms, such as puffer fish and xanthid crabs, exists [
41,
42].
Although the origin of TTX in the venomous octopuses in this study remains unclear, TTX appears to be produced by bacteria in the posterior salivary glands of
H. maculosa [
23]. In our study, wide inter-specimen variations in toxicity were observed even within the same species (
Table 1), suggesting that the level of TTX in toxic octopuses is related to some environmental factors, or that it comes from food. Nonetheless, the mechanism may involve factors other than the food chain. Further research to elucidate the associated mechanisms of toxification is now in progress. In addition, investigations on specimen-, location-, and size-dependent variations in the toxicity of
H. lunulata are also needed, and results in comparison to those of the present study will be published elsewhere at a later date.
Full Article:
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6563023/