autobox
secimport
autobox | secimport | |
---|---|---|
3 | 14 | |
16 | 157 | |
- | - | |
10.0 | 6.5 | |
over 1 year ago | about 2 months ago | |
Rust | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
autobox
-
Dozens of malicious PyPI packages discovered targeting developers
Once I'm done with (2) though I think I'll tackle (3).
`autobox` is fun but I think it may be impractical without more language level support and no matter what I'd end up having to implement it in the compiler at some point, which means it would be unusable without nightly or a fork.
I'm going to try to wrap up an autobox POC that handles branching and loops, publish it, and see if someone who does more compilery things is willing to pick it up. As for (2) and (3) I believe I can build practical implementations for both.
[0] https://github.com/insanitybit/autobox/
- autobox v0.0.2 - now with nom parser, inference, improved tracing
- (POC) autobox - compile time analysis for runtime sandboxing
secimport
-
Securing PyTorch Models with eBPF
In this blog, I will present secimport — a toolkit for creating and running sandboxed applications in Python that utilizes eBPF (bpftrace) to secure Python runtimes.
- I created a python seccomp sandbox, but per-module in your code.
- GitHub - avilum/secimport: Python sandbox toolkit, powered by eBPF and Dtrace
- GitHub - avilum/secimport: Python sandbox toolkit, powered by eBPF / Dtrace
- GitHub - avilum/secimport: seccomp Python sandbox, powered by eBPF and Dtrace
-
Dozens of malicious PyPI packages discovered targeting developers
There is also this, although I haven't tested it yet. The approach is interesting though. https://github.com/avilum/secimport
- GitHub - avilum/secimport: Secure imports for python modules using dtrace
-
Tracing/Sandboxing python modules upon import (like SECCOMP for the interpreter)
Code: https://github.com/avilum/secimport Article (No login required): https://infosecwriteups.com/sandboxing-python-modules-in-your-code-1e590d71fc26?source=friends_link&sk=5e9a2fa4d4921af0ec94f175f7ee49f9
- seccomp for Python import statements: sandbox python modules using dtrace (cross platform)
What are some alternatives?
birdcage - Cross-platform embeddable sandboxing
crev - Socially scalable Code REView and recommendation system that we desperately need. See http://github.com/crev-dev/cargo-crev for real implemenation.
cargo-vet - supply-chain security for Rust
W4SP-Stealer - w4sp Stealer official source code, one of the best python stealer on the web [GET https://api.github.com/repos/loTus04/W4SP-Stealer: 403 - Repository access blocked]
cli - Command line interface for the Phylum API
Contents - Community documentation, code, links to third-party resources, ... See the issues and pull requests for pending content. Contributions are welcome !
security-wg - Node.js Ecosystem Security Working Group
conductor - Conductor is a microservices orchestration engine.
vouch - A multi-ecosystem package code review system.
logos-shift-client - Replace expensive LLM calls with finetunes automatically