birdcage VS cosmopolitan

Compare birdcage vs cosmopolitan and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
birdcage cosmopolitan
13 201
173 15,370
1.2% -
7.3 9.8
about 1 month ago 3 days ago
Rust C
GNU General Public License v3.0 only ISC License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

birdcage

Posts with mentions or reviews of birdcage. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-14.
  • Ledger's NPM account has been hacked
    8 projects | news.ycombinator.com | 14 Dec 2023
    Co-funder @ Phylum here (https://phylum.io) We have been actively scanning dependencies across npm (and PyPI, RubyGems, Crates.io, etc.) for nearly three years now; quite successfully, I might add (https://blog.phylum.io/tag/research/). We _automatically_ hit on this package when it was published, and our research team has been all over it.

    A collective of us are active in Discord (https://discord.gg/Fe6pr5eW6p), continuing to hunt attacks like these. If that's something that interests you, we'd love to have you!

    In addition to this, we've released several open source tools to help protect against supply chain attacks:

    1. https://github.com/phylum-dev/birdcage - Birdcage is a cross-platform embeddable sandbox that's been baked into our CLI (which wraps npm, pypi, etc.) to sandbox package installations

    2. https://github.com/phylum-dev/cli - Our CLI provides an extension capability so you can lock down random executables you might use during your software development (define _what_ it's allowed to do, e.g. network access, and then lock it down with Birdcage)

    We also have a variety of integrations, including Github, Gitlab, BitBucket, CircleCI, Tines, Sophos, etc.

    https://docs.phylum.io/docs/integrations_overview

    It's unfortunate that software dependency attacks continue to plague open source registries. It seems unlikely this will let up in the near future. We are continuing to work closely with the open source ecosystems to try and get these sorts of packages removed when they pop up.

  • Cryptocurrency Miner Masquerading as GCC Compiler Found in NPM Package
    1 project | news.ycombinator.com | 31 Aug 2023
    To be clear, this particular package did not execute code during install, so the sandbox wouldn't have come into play, but it would have been blocked by the pre-check against Phylum's API.

    Would greatly appreciate any feedback on our extensions and suggestions for improving our sandbox! We recently had a few individuals submit some great issues and suggestions, which we absolutely loved receiving.

    Happy to answer any questions about software supply chain attacks or security in general!

    1. https://blog.phylum.io/junes-sophisticated-npm-attack-attrib...

    2. https://blog.phylum.io/rust-malware-staged-on-crates-io/

    3. https://blog.phylum.io/npm-emails-validator-package-malware/

    4. https://github.com/phylum-dev/cli

    5. https://github.com/phylum-dev/birdcage

  • Rust Malware Staged on Crates.io
    3 projects | news.ycombinator.com | 25 Aug 2023
    We're actively working on this with our sandbox (https://github.com/phylum-dev/birdcage). We've wrapped the likes of pip, yarn, and npm already and are making moves to similarly provide support for cargo.

    Currently comes as part of the Phylum CLI (https://github.com/phylum-dev/cli), so that doing something like:

        phylum npm install 
  • Social engineering campaign targeting tech employees spreads through NPM malware
    3 projects | news.ycombinator.com | 25 Jul 2023
    We (https://phylum.io) actually open sourced our sandbox for this exact purpose.

    https://github.com/phylum-dev/birdcage

    It's baked into our CLI and supports limiting access to network, disk, etc. during package installation. For example, running something like

        phylum npm install react
  • Attackers Repurposing existing Python-based Malware for Distribution on NPM
    2 projects | /r/javascript | 19 Apr 2023
    We've open sourced our sandbox, which limits access to network/disk/etc. during package installation. In this way, nasty install scripts won't have the opportunity to ship your credentials/SSH keys off to a remote sever.
  • Attackers are hiding malware in minified packages distributed to NPM
    4 projects | /r/javascript | 30 Mar 2023
    The sandbox is also open source and available for use by the community.
  • Active Malware Campaign Targeting Popular Python Packages Underway
    3 projects | /r/netsec | 11 Feb 2023
    In addition to this, taking precautions to not install unknown packages is probably also extremely prudent. Towards that end, we've open sourced a cross platform embeddable sandbox for package installations. Source is freely available on Github (https://github.com/phylum-dev/birdcage) and we've added it into our tooling so you can run pip install ... and it'll limit access to disk, network, etc. during package installation.
  • Supply Chain Attack Using PyPI Packages “Colorslib”, “Httpslib”, and “Libhttps”
    2 projects | news.ycombinator.com | 15 Jan 2023
    Been working on this exact thing for nearly two years at https://www.phylum.io. We identified and reported about 1.2k packages in ecosystems like npm, pypi and others last year. GitHub app that checks your PRs for malware. We also built a free open source sandbox for package installations [1] so if malware does get executed it’s done in a locked down environment. Happy to chat further about this sort of thing, it’s something I’m wildly interested in!

    [1] https://github.com/phylum-dev/birdcage

  • Ransomware currently being published to PyPI in ongoing campaign
    1 project | /r/programming | 9 Dec 2022
  • Ransomware Python Packages Currently Being Published to PyPI
    2 projects | news.ycombinator.com | 9 Dec 2022
    (Disclaimer: I'm one of the co-founders at Phylum)

    Our system has been alerting us to this actor's activities all morning (beginning sometime last night). They have been wildly active, and have continued to publish packages as we've worked to get them removed.

    Interestingly, they have ported the Python bits to Javascript and have started publishing to NPM as well. Exact same TTP, crossing two ecosystems.

    Our platform monitors these ecosystems, scanning packages for signs of risk as they are published. This way we can get them removed before they impact the wider open source community. We currently support Javascript, Typescript, Python, Ruby, Java, C# and recently just rolled out Golang and Rust support into beta.

    We believe in a defense in depth approach to supply chain security and have also published an open source sandbox that limits access to the filesystem, network, disk and environment variables.

    https://github.com/phylum-dev/birdcage

    This is rolled into our CLI so that you can do things like `phylum npm install ` and install packages in a sandboxed way.

    Happy to answer questions about this attack, security, sandboxes, etc!

cosmopolitan

Posts with mentions or reviews of cosmopolitan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Python Is Portable
    6 projects | news.ycombinator.com | 15 Apr 2024
    The reality is a bit different, the work on Python 3.6 was checked into the Cosmopolitan repo and I have been able to use it for production workloads that are in pure python. [0]

    As Cosmopolitan Libc has evolved, it has been possible to compile more software without modifications, and that includes latest Python through a project called superconfigure[1].

    Last person who tried to reproduce it from scratch did it last week (granted it too them a few days of solid work) but in the end they ended with a portable binary with Python 3.11.9, brotli, ssl and asyncio for their work related project.[2]

    [0] https://github.com/jart/cosmopolitan/tree/master/third_party...

  • Ask HN: What Underrated Open Source Project Deserves More Recognition?
    63 projects | news.ycombinator.com | 7 Mar 2024
    Cosmopolitan https://github.com/jart/cosmopolitan and https://justine.lol/cosmopolitan/index.html

    Some genius realized that you can actually embed valid win32 programs inside valid posix shell scripts, and found a way to make a C cross-platform solution out of it, meaning that you can write C programs that compile to a single executable that will run on (quoting the site) Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS

    It all started from this post.

  • Cosmopolitan – build-once run-anywhere C library
    1 project | news.ycombinator.com | 16 Feb 2024
  • Show HN: Usr/bin/env Docker run
    4 projects | news.ycombinator.com | 13 Jan 2024
    For this .args file, put one argument per line. This will run on start. You can use `/zip/mydepencency.anything` to read from files, but if you have an executable dependency you'll need to extract it first.

    You can do this with any software you can compile with comsocc, by adding a call to LoadZipArgs[1] in the main function.

    It'seasy to get started, your ideas will branch out as soon as you start playing with it.

    [1]: https://github.com/jart/cosmopolitan/blob/master/tool/args/a...

  • Libwebsockets
    6 projects | news.ycombinator.com | 6 Jan 2024
    FWIW there is ongoing work with good progress to add websocket support to redbean (https://github.com/jart/cosmopolitan/pull/967)
  • Release Cosmopolitan v3.2
    1 project | news.ycombinator.com | 5 Jan 2024
  • Cosmopolitan v3.2
    1 project | news.ycombinator.com | 5 Jan 2024
  • Ask HN: ANSI escape sequences reference docs?
    1 project | news.ycombinator.com | 2 Jan 2024
    Check out this comment by jart (cosmpolitan author) here: https://github.com/jart/cosmopolitan/issues/766#issuecomment...

    it might help but not sure how comprehensive it is! would it be a bad idea for you to check out the source code of other popular emulators (maybe iTerm 2^0) ?

    0: https://github.com/search?q=repo%3Agnachman%2FiTerm2%20ansi&...

  • Actually Portable Vim (With a Cute Vimrc)
    4 projects | news.ycombinator.com | 25 Dec 2023
    The binary was compiled with Cosmopolitan Libc [0], and therefore the binary will execute natively on Linux, Mac, Windows, FreeBSD, OpenBSD, NetBSD, and bare metal (BIOS boot).

    I would call that portable.

    [0] https://github.com/jart/cosmopolitan

  • Show HN: PyApp – runtime installer for Python applications
    5 projects | news.ycombinator.com | 13 Dec 2023
    will go on my "to try" list where i already have cosmopolitan [2]. my last setup (windows) was shiv + wine + nsis (used that as pyinstaller had some issues)[2]

    [1] https://github.com/jart/cosmopolitan/issues/141#issuecomment...

What are some alternatives?

When comparing birdcage and cosmopolitan you can also consider the following projects:

secimport - eBPF Python runtime sandbox with seccomp (Blocks RCE).

libc - libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.

packj - Packj stops :zap: Solarwinds-, ESLint-, and PyTorch-like attacks by flagging malicious/vulnerable open-source dependencies ("weak links") in your software supply-chain

src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

conf - Simple config handling for your app or module

SDL - Simple Directmedia Layer

wapm-cli - 📦 WebAssembly Package Manager (CLI)

llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

lunasec - LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/

luastatic - Build a standalone executable from a Lua program.

Contents - Community documentation, code, links to third-party resources, ... See the issues and pull requests for pending content. Contributions are welcome !

v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io