CybercentreCanada / Maco

Maco - Malware config extractor framework
MIT License
24 stars 9 forks source link

Maco is modifying relative extractor imports #55

Open seb-acsc opened 2 days ago

seb-acsc commented 2 days ago

With the 1.2.0 release, it seems that when maco runs, it may modify extractors in place to adjust imports. I'd assume this is uv doing some optimisation under the hood. This isn't necessarily bad, just unexpected. It also affects the supplied demo extractors in this project.

To reproduce, run tox for this package and observe the imports in demo_extractors/complex/complex.py:

from . import complex_utils changes to from complex import complex_utils