Earlier quoted context omitted.
How fast does Pysa typically run? If I want to run it as part of my CI system, how much additional time might I expect it to add? Obviously this varies from code base to code base, but I'm curious what the experience at Instagram is like?
For Instagram (millions of LOC), the analysis gives feedback to engineers in about 65 minutes on average - note that this is in the context of a diff run: We compare the results of a run on the base revision to the proposed changes, running the tool once or twice depending on whether we hit the cache. It's hard to say how long it'll take on your repository as it depends on a lot of factors, but hopefully that provide…
Pysa: An open source tool to detect and prevent security issues in Python code
11–20 of 28 posts
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#12One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#13One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Python 2 and 3 or 3 only? I looked for this on the linked site, and it wasn't immediately obvious.
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#14One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Does Pysa require the code to be fully type hinted? or will it work on non-type hinted code also?
Types will definitely make Pysa find more issues, but you don't need 100% coverage, or really more than the minimal coverage described in that doc I linked, to start finding some issues.
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#15One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#16One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Not sure if you can answer this, but what are some classes of security bugs you can find with Pysa? I've only worked on smaller codebases so security I've dealt with is mostly AuthN/AuthZ.
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#17One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Not sure if you can answer this, but what are some classes of security bugs you can find with Pysa? I've only worked on smaller codebases so security I've dealt with is mostly AuthN/AuthZ.
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#18One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Re: Pysa: An open source tool to detect and prevent security issues in Python code
#19One of the authors of the blog post and software engineer working on Pysa here - happy to answer any questions you may have :)
Was that always the name?