5 ms·
Great idea, definitely ran into a lot of these problems at my last gig. Will try this out next time I'm working on a python project. > specific nonstandard cus
by Varauk 3y ago
Great idea, definitely ran into a lot of these problems at my last gig. Will try this out next time I'm working on a python project.
> specific nonstandard custom syntax to access modules/submodules such as getattr or dynamically generated namespaces will not be caught by modguard
Are any plans to get modguard to take these cases into account? I imagine this is harder without doing anything at runtime.
- 0x63_Problems 3y agoYup! We have looked into runtime checks to supplement the static analysis. From talking to other users, they've used similar runtime checks in CI and staging environments to catch dynamic imports and even check specific method usages.