SES-shim VS pip

Compare SES-shim vs pip and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
SES-shim pip
13 108
736 9,282
0.7% 0.6%
9.9 9.8
about 24 hours ago 6 days ago
JavaScript Python
Apache License 2.0 MIT 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.

SES-shim

Posts with mentions or reviews of SES-shim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • Malicious libraries can steal all your application secrets in Elixir
    1 project | news.ycombinator.com | 22 Jul 2023
    I used E in the 90s: http://erights.org/

    I haven't kept up with newer systems but I've heard of https://github.com/endojs/endo and just came across http://reports-archive.adm.cs.cmu.edu/anon/home/anon/isr2017... (which says "in the style of the E programming language" -- that's as far as I've read) while looking that up.

    WebAssembly was designed to follow the same capability security principles. CHERI too as someone else just brought up.

  • Building an Extension System on the Web
    7 projects | dev.to | 2 Jun 2023
    There are other potential solutions I haven’t explored close enough (like Endo and SES), or completely omitted as they’re based on an imperfect blacklist-based approach to security (like sandboxed WebWorkers). However, the mentioned 4 solutions are the top contenders, at least in my mind.
  • Harvesting credit card numbers and passwords from your site
    1 project | news.ycombinator.com | 14 Feb 2023
    I don't know why you are being silently downvoted, as I think it is worth talking about the potential of using static analysis to improve things.

    One promising approach is Endo[0] which "uses LavaMoat to automatically generate reviewable policies that determine what capabilities will be distributed to third party dependencies."

    [0] https://github.com/endojs/endo

  • Show HN: Run unsafe user generated JavaScript in the browser
    14 projects | news.ycombinator.com | 19 Nov 2022
    Agoric moved forward and Realms gave way to SES

    https://github.com/endojs/endo/tree/master/packages/ses

    And Endo is a set of tools (being) built around it to make it more practical for particular usecases

  • Deno 1.26
    4 projects | news.ycombinator.com | 29 Sep 2022
    Yea you could restrict the app by whitelisting only the network services and folders that it will use and that's pretty valuable though at least on Linux could already easily be achieved otherwise. It's good that Deno makes it easy but let's be honest, most people will just pass -A.

    I'd love to see a permissions system on a library basis. It would ask the first time a dependency is added and when a new permission is requested after an update. Javascript doesn't make that easy though by being so dynamic. SES could maybe help: https://github.com/endojs/endo/blob/master/packages/ses/READ...

  • Node runtime that sandboxes all NPM dependencies by default
    2 projects | news.ycombinator.com | 9 Feb 2022
    I was poking around on the internet a bit earlier and I found this project. It looks pretty cool, and I figured perhaps a few of y'all might find it cool too!

    I have no idea if it actually sandboxes networking by default. This other project, endo[0], seems to add some of that functionality.

    Regardless of the maturity though, it makes me excited to see this type of work getting done now!

    (What made me want to research it was this[1] thread from the other day.)

    0: https://github.com/endojs/endo

    1: https://news.ycombinator.com/item?id=30215212

  • Open source maintainer pulls the plug on NPM packages colors and faker, now what
    8 projects | news.ycombinator.com | 9 Jan 2022
    Fortunately the problem could become more tractable if something like SES / Endo takes off:

    "Endo protects program integrity both in-process and in distributed systems. SES protects local integrity, defending an application against supply chain attacks: hacks that enter through upgrades to third-party dependencies. Endo does this by encouraging the Principle of Least Authority. ... Endo uses LavaMoat to automatically generate reviewable policies that determine what capabilities will be distributed to third party dependencies."

    https://github.com/endojs/endo

  • Is metamask running on JavaScript?
    3 projects | /r/Metamask | 20 Dec 2021
  • Embedded malware in RC (NPM package)
    7 projects | news.ycombinator.com | 5 Nov 2021
  • Researcher hacks over 35 tech firms in novel supply chain attack
    11 projects | news.ycombinator.com | 10 Feb 2021
    Yeah. JavaScript is probably the closest to being there (with things like SES[0], LavaMoat[1], etc.) but we're not quite there yet. It's just shocking that this sort of thing is as seemingly obscure as it is; it's like the whole industry has collectively thrown up their hands and said code execution is unavoidably radioactively dangerous. (While simultaneously using package managers that... well.) But it doesn't have to be!

    [0] https://github.com/Agoric/ses-shim

    [1] https://github.com/LavaMoat/LavaMoat

pip

Posts with mentions or reviews of pip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • How to Create Virtual Environments in Python
    4 projects | dev.to | 9 Feb 2024
    Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.
  • Boring Python: dependency management (2022)
    3 projects | news.ycombinator.com | 4 Feb 2024
    Unfortunately that feature is easy to break: https://github.com/pypa/pip/issues/9644
  • pip VS instld - a user suggested alternative
    2 projects | 9 Dec 2023
  • sudo pip install should be illegal
    1 project | /r/linuxmemes | 8 Dec 2023
    I think I did my part https://github.com/pypa/pip/issues/6409
  • Can't seem to install Python YAML support
    1 project | /r/Ubuntu | 29 Aug 2023
    $ sudo pip install y$ sudo pip install yaml WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. ERROR: Could not find a version that satisfies the requirement yaml (from versions: none) ERROR: No matching distribution found for yaml
  • Bun v0.6.0 – Bun's new JavaScript bundler and minifier
    9 projects | news.ycombinator.com | 16 May 2023
    What are you implying will happen?

    Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.

    If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.

    [1] https://github.com/pypa/pip/issues/4732

    [2] https://pip-tools.readthedocs.io/en/latest/#using-hashes

    [3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...

  • My Goldilocks Python Setup: pyenv, pipx, and pip-tools
    4 projects | /r/Python | 22 Apr 2023
    Here’s the issue, https://github.com/pypa/pip/issues/11664. I think the idea would be to have some file/json description of environment that could be passed to pip to allow it to fully cross compile. They are open to supporting it just needs contributor to be found to implement it and go through review/discussion.
  • Remote Code Execution Vulnerability in Google They Are Not Willing to Fix
    2 projects | news.ycombinator.com | 15 Apr 2023
    To be fair the only alternative is fixing Python, and even then you still would have to wait a good 5 years at least for all the old Python versions to dwindle.

    It doesn't look like the fixing effort is progressing very quickly: https://github.com/pypa/pip/issues/8606

    To their credit, at least they didn't close it "works as intended" which I imagine a lot of projects would.

  • Pip 23.1 Released - Massive improvement to backtracking
    5 projects | /r/Python | 15 Apr 2023
    Another good benchmark to trying to resolve apache-airflow[all]==1.10.13 using the state of PyPi on 2020-12-02, I give instructions here on how to reproduce that workflow: https://github.com/pypa/pip/issues/11836. Including a benchmark how how many extra packages your resolver should visit.
  • will upgrading pip break things?
    2 projects | /r/learnpython | 11 Apr 2023

What are some alternatives?

When comparing SES-shim and pip you can also consider the following projects:

rfcs - Public change requests/proposals & ideation

mamba - The Fast Cross-Platform Package Manager

Swift Argument Parser - Straightforward, type-safe argument parsing for Swift

Poetry - Python packaging and dependency management made easy

GHSA-g2q5-5433-rhrf

PDM - A modern Python package and dependency manager supporting the latest PEP standards

colors.js - get colors in your node.js console

conda - A system-level, binary package and environment manager running on all major operating systems and platforms.

sandworm-guard-js - Easy auditing & sandboxing for your JavaScript dependencies 🪱

pip-tools - A set of tools to keep your pinned Python dependencies fresh.

linux - Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/

wheel - Adoption analysis of Python Wheels: https://pythonwheels.com/