Coder Social home page Coder Social logo

compas_dev_env's Introduction

compas_env

some scripts that help to setup a compas development environment

  • developer focussed

    • forks the repos such to be able to create pull requests conveniently

      • you need to edit the .env file or have a GITHUB_TOKEN stuffed in your environment variables
      • only when there are no changes staged
    • modules are installed with a developer install eg pip install -e . such that changes to the source are reflected in the environment

  • complete

    • all known modules are installed
  • convenient

    • installs the python modules with the Rhino environment, in such a way that code changes are reflected

TODO

  • rebase a repo from origin when dealing with a forked repo
  • actually install modules in Rhino's python path
    • incl RhinoWIP support
    • Rhino-stubs for proper type completion
  • conda package for libigl exists on the freecad channel, but old and linux only

compas_dev_env's People

Contributors

jf--- avatar

Watchers

 avatar  avatar

compas_dev_env's Issues

Deleted dependency detected

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.

Issue

During my research, I found that this repo is vulnerable to attack due to deleted dependency from the public PyPI registry.

Details

Specifically, file https://github.com/jf---/compas_dev_env/blob/fe2577d5fa3f9d21aaa2e8521f2dad2fbba30507/requirements.txt lists er-stubs as one of the dependencies. However, it has been deleted from public PyPI. As such, an external bad actor can claim that name and register a malicious package, which will be then installed with pip install command, resulting in arbitrary remote code execution.

Impact

Not only your apps/services using https://github.com/jf---/compas_dev_env repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.

You could read more about such attacks here: https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610

Remediation

Please manually register a placeholder er-stubs package on PyPI immediately or remove er-stubs dependency from https://github.com/jf---/compas_dev_env/blob/fe2577d5fa3f9d21aaa2e8521f2dad2fbba30507/requirements.txt to fix this vulnerability.

To automatically fix such issues in future, please install PackjGuard Github app [1].

Thanks!

  1. PackjGuard is a Github app that monitors your repos 24x7, detects vulnerable/malicious/risky open-source dependencies, and creates pull requests for auto remediation: https://github.com/marketplace/packjguard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.