# Is there a tool to automatically detect type piracy?

**URL:** <https://discourse.julialang.org/t/is-there-a-tool-to-automatically-detect-type-piracy/25721>\
**Category:** General Usage\
**Tags:** question, type-piracy\
**Created:** [June 26, 2019, 2:08pm UTC](https://discourse.julialang.org/t/is-there-a-tool-to-automatically-detect-type-piracy/25721 "2019-06-26T14:08:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fborda](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fborda/32/8654_2.png) [@fborda](https://discourse.julialang.org/u/fborda)\
**Post date:** [June 26, 2019, 2:22pm UTC](https://discourse.julialang.org/t/is-there-a-tool-to-automatically-detect-type-piracy/25721/2 "2019-06-26T14:22:26Z")

</div>

Maybe this one?

> [@Pirate Hunter](https://discourse.julialang.org/t/pirate-hunter/20402):
>
> I made a script to hunt out type piracy. It isn’t perfect, but its not bad. invoke it by calling hunt on a module, function or list of methods. Or if you just call hunt() from the REPL it will search all modules currenlty loaded from Main. There are [27 pirate actions detected within the standard libraries.](https://github.com/JuliaLang/julia/issues/30945) These will likely show up when searching your own modules as you probably reference at very least some standard libraries at some point. So you might want to do some post processing to f…

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-tool-to-automatically-detect-type-piracy/25721)._
