3 ms·
Transitive crate "permissions" would be amazing. To know at a glance if a crate does networking, filesystem access, IO, etc. Someone could always roll their ow
by echelon 4y ago
Transitive crate "permissions" would be amazing. To know at a glance if a crate does networking, filesystem access, IO, etc.
Someone could always roll their own IO, but self reporting and automated detection tooling (to catch those that slip through the cracks) would bring this percentage way down.
Maybe the language could even evolve "unsafe" for IO, even if just as a flag for users. That way it would all be incredibly easy to audit.
- ashishbijlani 4y agoPackj tool (https://github.com/ossillate-inc/packj https://github.com/ossillate-inc/packj) analyzes Python/NPM packages for risky code and attributes such as Network/File permissions expired email domains. It uses static code analysis. We are adding support for Rust. We found a bunch of malicious packages on PyPI using the tool, which have now been taken down: examples https://packj.dev/malware https://packj.dev/malware [disclosure: I’m one of the developers]