Git Product home page Git Product logo

Comments (7)

aryx avatar aryx commented on May 12, 2024 2

and now we are sensitive to command/eval injection!

from semgrep.

aryx avatar aryx commented on May 12, 2024 2

This is why you use a scripting language for, to script! to leverage eval()! (there is no other use for those languages IMHO :) )

from semgrep.

aryx avatar aryx commented on May 12, 2024

Ohoho, oh yes!
I can then scratch one of the items in https://returntocorp.quip.com/flmmAhOAzbj9/Pads-long-term-goals

from semgrep.

aryx avatar aryx commented on May 12, 2024

(is there a sandbox mode in python like in Perl?)

from semgrep.

nbrahms avatar nbrahms commented on May 12, 2024

I'd like to throw a suggestion in the ring here... can we point to a separate python file? It would be nice to, e.g., lint that file.

from semgrep.

aryx avatar aryx commented on May 12, 2024

I don't understand what you want nathan. Can you give an example of what you want?

from semgrep.

ievans avatar ievans commented on May 12, 2024

@aryx I think @nbrahms means, a way to say:

pattern-where-python-file-returns-true: pass_me_metavars.py

And then have that python file be invoked with the metavars as CLI arguments and return code being true/false for the filter.

from semgrep.

Related Issues (20)

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.