<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Isaac Evans on Medium]]></title>
        <description><![CDATA[Stories by Isaac Evans on Medium]]></description>
        <link>https://medium.com/@ievans?source=rss-37b5cbe49923------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*0Ux7VAr1Xn64ZT73qrpk7A.jpeg</url>
            <title>Stories by Isaac Evans on Medium</title>
            <link>https://medium.com/@ievans?source=rss-37b5cbe49923------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 05:09:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ievans/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Semgrep: stop grepping code]]></title>
            <link>https://medium.com/@ievans/semgrep-stop-grepping-code-db31ec48e1f9?source=rss-37b5cbe49923------2</link>
            <guid isPermaLink="false">https://medium.com/p/db31ec48e1f9</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[product-security]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[static-code-analysis]]></category>
            <dc:creator><![CDATA[Isaac Evans]]></dc:creator>
            <pubDate>Fri, 22 May 2020 22:01:53 GMT</pubDate>
            <atom:updated>2020-05-22T22:01:53.220Z</atom:updated>
            <content:encoded><![CDATA[<p><em>tl;dr: Semgrep is an open-source tool that is like a code-aware grep: you can easily match all calls to a certain function, match all specific function arguments regardless of order, or find all cases where a call like A() occurs after B(). </em><a href="https://semgrep.dev/"><em>semgrep.dev</em></a><em> for source + more.</em></p><figure><img alt="Semgrep’s live editor: https://semgrep.live" src="https://cdn-images-1.medium.com/max/1024/1*PWDH3kKI4Qitag1zANVFMA.jpeg" /></figure><p>Who is this post for?</p><p>If you have ever:</p><ul><li>written a custom linter plugin</li><li><em>wanted</em> to write a custom linter plugin</li><li>tried to set up a grep expression to flag issues during code review</li><li>cobbled together open-source tools for security scanning</li><li>paid for an expensive SAST (static analysis security testing) product and been disappointed with it</li><li>wished it was easier to get started with pragmatic program analysis</li></ul><p>Then read on!</p><h3>Part 1: Why Do We Need Static Analysis If Everyone Writes Rust?</h3><p>Programmers in modern languages (Python, Rust, Golang, Javascript, etc.) mostly don’t have to deal with many of the bug classes that have plagued memory-unsafe languages like C or C++ for decades [0]. Most of the bugs in modern programming projects are framework or project-specific, not language-specific.</p><p>Imagine a developer writing in a Python web framework like <a href="https://flask.palletsprojects.com/">Flask</a>. The security implications of these two lines of code are entirely different, yet not obvious at all to someone who has not read the framework documentation:</p><pre># example 1<br>return render_template_string(template.format(request.referrer))<br># example 2<br>return render_template(&quot;index.html&quot;, req=request.referrer)</pre><p>In example 1, the call to .format() will bypass the autoescaping protections provided by the Flask framework, an example of <a href="https://nvisium.com/blog/2016/03/09/exploring-ssti-in-flask-jinja2.html">server-side template injection</a>, while example 2 is totally safe.</p><p>Or imagine a bespoke authorization framework that’s not used outside this developer’s company. Our developer might write some code like this:</p><pre>// oops, used make_super_user which mutates instead of check_super_user…<br>if (user.isadmin &amp;&amp; make_super_user(user.id)) {</pre><p>Traditional static analysis tools won’t find one-off issues specific to a framework or project because they focus on finding a few types of extremely valuable defects (typically language-level, though find common defects classes in the most popular frameworks[<a href="https://blog.r2c.dev/2020/semgrep-stop-grepping-code/#sast">1</a>]) in massive projects. The kinds of defects they look for require complex analysis which makes the tools slow — often taking hours to days to scan a codebase.</p><p>But newer projects (in part tautologically) contain orders of magnitude fewer lines of code, are probably in new languages that eradicate traditional bug types, and are likely deployed at a faster pace than the days it may take to run traditional tooling.</p><h3>Part 2: Worse is Better: Why Grep is Good</h3><p>Many developers have turned to extensible, simple tools like grep or linters to find what are essentially mistakes of ignorance like using render_template_string unintentionally because you saw it in a Stack Overflow answer and missed the tiny notes in the docs, or misuse of make_super_user. Ideally, we would flag the code for review by a senior developer or security engineer when these functions are invoked.</p><p>Using grep[<a href="https://blog.r2c.dev/2020/semgrep-stop-grepping-code/#grep">5</a>] to find these snippets is not a bad choice (infinite language support! super fast! FOSS!), but it’s not an ideal choice either. Consider these examples where we grep for the make_super_user function mentioned earlier:</p><pre>grep -R &quot;make_super_user\(.*\)&quot; *</pre><p>Grep will miss several cases:</p><pre>if (user.isadmin &amp;&amp; make_super_user(<br>user.id)): # oops multiline</pre><pre>if (user.isadmin &amp;&amp; make_super_user(log=get_log(), user=user.id))<br># ^ nested parens, won&#39;t report range correctly</pre><pre>from core import make_super_user as msu<br>msu(userid) # imported with alias</pre><pre>log.warn(&quot;calling make_super_user() now &quot;)<br># ^ not code, it&#39;s a string</pre><pre># Remember to call make_super_user() below<br># ^ not code, it&#39;s a comment</pre><p>And grep will match on examples like these which are actually ok:</p><pre>make_super_user(user.id, mutate=False) # this case is actually ok</pre><pre>dont_make_super_user(user.id) # oops prefix is not considered</pre><p>Unfortunately, using grep made us miss a number of the cases we care about, due to syntactic changes that don’t impact the behavior of the code, like whitespace or additional function calls. Further, we find matches we don’t care about, like comments or hard-coded strings. If we’re just grepping for a function name in a small project, these are probably ok tradeoffs. But if we wanted to search a larger project with some precision, or set something up to trigger on pull requests that used this function, these problems would probably be a blocker.</p><p>Looks like it’s time to plug this problem into a Real Parser and come up with a solution that is AST-aware [<a href="https://blog.r2c.dev/2020/semgrep-stop-grepping-code/#ast">2</a>]! Using the AST means we’re going to be considering the code as the compiler or interpreter sees it: a tree, rather than a string of characters.</p><p>How can we extend a parser to do this? If we’re writing Python, we could write a <a href="https://github.com/pycqa/flake8/">Flake8</a> plugin, or directly using the Python <a href="https://docs.python.org/3/library/ast.html">ast module</a>, or if we&#39;re writing Ruby we could use a framework like <a href="https://github.com/presidentbeef/brakeman">Brakeman</a>, <a href="https://pmd.github.io/">PMD</a> for Java, maybe <a href="https://github.com/eslint/eslint">Eslint</a> for Javascript, <a href="https://github.com/rust-lang/rust-clippy">Clippy</a> for Rust, and Go has a <a href="https://golang.org/pkg/go/ast/">builtin AST module</a>.</p><p>Indeed, at <a href="https://r2c.dev/">r2c</a> we wrote a lot of Flake8 and ESlint plugins internally before we started using Semgrep — <a href="https://blog.r2c.dev/2020/why-i-moved-to-semgrep-for-all-my-code-analysis/">one of my co-workers, Ulzii, wrote a comparison of the experience</a> and another of us, Matt, previously published a <a href="https://duo.com/blog/introducing-dlint-robust-static-analysis-for-python">security linter based on Flake8</a>. The pros of these linter frameworks: they are much more robust and precise than grep. But the cons are considerable.</p><p><strong>Grep</strong></p><ul><li>Pro: fast, infinite languages, readable expressions (arguable)</li><li>Cons: line-oriented, mismatch with program structure (trees, ASTs)</li></ul><p><strong>Real Parsers</strong></p><ul><li>Pro: Robust and precise against whitespace or other noise</li><li>Con: Need a parser for each language: babel, go-ast, python-ast, etc.</li><li>Con: Each parser represents ASTs differently; have to learn and write differently</li><li>Con: Languages have “more than one way to do it”: need deep language expertise to capture all possible variations of the patterns.</li></ul><h3>Part 3: Semgrep</h3><p><a href="https://semgrep.dev/">Semgrep</a> is a novel solution to this problem that tries to capture the ease of grep syntax and the robustness and precision of a real parser. For our previous example, the Semgrep invocation looks like this:</p><pre>semgrep --lang python -e &#39;make_super_user(..., mutate=True)&#39; /path/to/project</pre><p>Will match:</p><pre>import make_super_user as msu<br>u = msu(&quot;admin&quot;, mutate=True)</pre><p>Here’s a live example you can edit: <a href="https://semgrep.live/v60">https://semgrep.live/v60</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/0*mko2V8-ujLUBE0zz.png" /></figure><p>Semgrep already handles Python, JavaScript, Java, Golang, and C (coming soon: Ruby, Typescript, PHP, others). The first version of Semgrep (then sgrep) was written at Facebook to enforce thousands of these grep-like rules on the Facebook codebase. <a href="https://github.com/aryx">Yoann Padioleau</a>, original Semgrep author and first program analysis hire at Facebook, joined us at <a href="https://r2c.dev/">r2c</a> last year. [<a href="https://blog.r2c.dev/2020/semgrep-stop-grepping-code/#yoann">3</a>] The Semgrep operator syntax choices come from an even older tool named <a href="http://coccinelle.lip6.fr/">Coccinelle</a> he worked on during a PhD at <a href="https://www.inria.fr/en">Inria</a>.</p><p>What exactly is Semgrep doing? Semgrep has parsers for all these languages, and uses the same parser on our query as on the source code. It converts both the query and the source code into ASTs, and then uses the query AST as a tree-matching query on the source code.</p><h3>Part 4: Semgrep Patterns</h3><p>We saw the motivation behind semgrep is a desire to combine the speed and iteration time of grep with code-awareness. Ideally, our code search patterns look similar to the code itself and we don’t have to write complicated tree visitors (see <a href="https://eslint.org/docs/developer-guide/working-with-rules">ESLint rule docs</a> for an example). Semgrep provides three abstractions to make the search patterns look as similar as possible to the source code you want to find:</p><ol><li><strong>Equivalences</strong>: Matching code that <em>means the same thing</em> even though it looks different.</li><li><strong>Ellipsis (…)</strong>: Abstracting away or ignoring statements, expressions, or function arguments you don’t care about.</li><li><strong>Metavariables: $X</strong>: Matching expressions (like function calls, arguments, assignments, etc.) when you don’t know exactly what they’ll look like ahead of time, like capture groups in regular expressions.</li></ol><p>Let’s look at these in more detail.</p><h3>(1) Equivalences</h3><p>Many languages have “more than one way to do it.” Let’s think about all the ways we can create a variable in JavaScript:</p><pre>let x = 1;<br>const x = 1;<br>var x = 1;</pre><p>With Semgrep, we just write x = 1 and all three of these match—even though those examples are actually different at the AST level. We can write rules for a language without having to become an expert in the <a href="https://en.wikipedia.org/wiki/There%27s_more_than_one_way_to_do_it">TMTOWTDI philosophy</a> of languages like Perl [<a href="https://blog.r2c.dev/2020/semgrep-stop-grepping-code/#perl">4</a>].</p><p>If Semgrep just performed the direct transformation from AST to AST matcher, that would be a big improvement over alternatives. But Semgrep is a semantic — not just syntactic — grep-esque tool. The semantic part of the name refers to the fact that Semgrep has builtin logic to understand what code patterns are equivalent and save the work of having to specify the thousands of combinatorics we would need if we just worked at the AST level.</p><p>In Semgrep, these are called equivalences. For instance, Semgrep knows that in Python foo(a = 1, b = 2) is equivalent to foo(b = 2, a = 1) because the order of keyword arguments doesn&#39;t matter. Not only does Semgrep ship with a ton of equivalences, but we’re also working on adding support for defining your own!</p><h3>(2) “…” Ellipsis operator</h3><p>Sometimes there’s a bunch of stuff in the code that you don’t want to specify the names of. The ellipsis operator (…) makes that easy:</p><p>Arguments: <a href="https://semgrep.live/ZQ4">live example</a></p><pre>pattern        |  matching code<br>---------------+----------------<br>foo(...,5).    | foo(1,2,3,4,5)<br>               | foo(5)</pre><p>Characters: <a href="https://semgrep.live/nBr">live example</a></p><pre>pattern        |  matching code<br>---------------+----------------<br>foo(&quot;...&quot;)     | foo(&quot;whatever sequence of chars&quot;)</pre><p>Statements: <a href="https://semgrep.live/EQB">live example</a></p><pre>pattern            matching code<br>------------------------------------<br>$V = get()         user_data = get()<br>...		   print(&quot;do stuff&quot;)<br>eval($V)           foobar()<br>                   eval(user_data)</pre><h3>(3) $X Metavariable operator</h3><p>What if we had a common idiom in our code that looked like this:</p><pre>const transaction_id = 42;<br>verify_transaction(foobar);<br>make_transaction(foobar);</pre><p>Sometimes we want to match a variable in the code, like x = get_input(), and then refer to the same variable later on, e.g. to find process_input(x). We can do this for variables named x, but we’d like to find this pattern for any variable name. Enter metavariables!</p><pre>pattern            matching code<br>------------------------------------<br>$X = 42;           transaction_id = 42;<br>                   x = 42;</pre><p>If we refer to the same metavariable more than once, Semgrep will enforce an equality constraint on those references. So in our snippet from above, we can match only places where verify_transaction and make_transaction are being called with the same variable.</p><pre>pattern                    matching code<br>------------------------------------------<br>verify_transaction($X)     verify_transaction(foobar)<br>...                        make_transaction(foobar)<br>make_transaction($X)</pre><h3>Part 5: Now What?</h3><h3>Run Semgrep Patterns on Your Code!</h3><p>If you read this and just want to get started with Semgrep patterns that others have already written, we have a lot of examples: check out the <a href="https://semgrep.live/registry">community registry</a>! You can easily fork the rules and share them back. If you just to run the r2c-curated rules on your project, <a href="https://semgrep.dev/">install Semgrep</a> and then in a directory with some code run:</p><pre>semgrep --config r2c</pre><h3>Mailing List</h3><p>If you’re a program analysis guru, you must have a lot of questions: what about stateful queries, dataflow like constant propagation, taint-tracking, and all the other good stuff? Good news: there’s a <em>lot</em> more under the hood than we had time to talk about in this blog post. Join our Slack (<a href="https://semgrep.dev/">link at semgrep.dev</a>) or <a href="https://semgrep.live/">add yourself to the mailing list</a> to keep up to date.</p><h3>Commercial</h3><p><a href="https://r2c.dev/">r2c</a> is the company behind Semgrep. We’re in the early stages of building paid next-generation static analysis product you can use to fully replace your legacy tooling, with Semgrep at the core. If this is interesting to you, <a href="https://forms.gle/dpUUvSo1WtELL8DW6">drop your email</a> and we’ll ping you to learn more about your use-case.</p><h3>Notes &amp; References</h3><ul><li>[0] Specifically buffer overflows have a very long history: although Wikipedia cites the <a href="https://en.wikipedia.org/wiki/Buffer_overflow#History">Morris worm as the first example</a>, other sources suggest it goes back much further.</li><li>[1] Don’t traditional SAST tools have detection for issues like <a href="https://en.wikipedia.org/wiki/Cross-site_scripting">XSS</a>, <a href="https://en.wikipedia.org/wiki/SQL_injection">SQLi</a>, <a href="https://en.wikipedia.org/wiki/Cross-site_request_forgery">CSRF</a>, etc.? Yes, and they can find those issues in the most popular frameworks.<br>Many modern frameworks, however, have evolved to largely solve these security issues for the developer <em>at the framework level</em>. This means that framework-specific issues today are more likely specific gotchas that are non-obvious framework behavior, not necessarily how a generic vulnerability class manifests.<br>Semgrep’s thesis is that while prior approaches focus on vulnerability identification (which requires expensive, slow, imprecise interprocedural dataflow analysis) but the way forward is good frameworks with strong secure defaults and automatic lightweight enforcement to make sure those defaults are used.<br>More fundamentally, there is a never-ending struggle for the tools to be able to understand the bespoke sanitizers that a developer employs to “clean” data on taint-tracked flows from potentially-attacker-controlled data to dangerous sinks. Unfortunately, relying on a SAST tool to find these flows means that we require a whole-program interprocedural analysis, rather than insisting that the type system or a changelog reviewer be able to prove to themselves in the local context that these changes are safe. Consider the Google approach to preventing SQL injection: it doesn’t rely on traditional program analysis at all (excerpt from Google’s <a href="https://landing.google.com/sre/resources/foundationsandprinciples/srs-book/"><em>Building Secure And Reliable Systems</em></a>:</li><li>The database engine can help you prevent SQL injection vulnerabilities by providing bound parameters and prepared statements…However, merely establishing a guideline to use prepared statements does not result in a scalable security process. You would need to educate every developer about this rule, and security reviewers would have to review all application code to ensure consistent use of prepared statements. Instead, you can design the database API so that mixing user input and SQL becomes impossible by design. For example, you can create a separate type called TrustedSqlString and enforce by construction that all SQL query strings are created from developer-controlled input.</li><li>[2] AST = <a href="https://en.wikipedia.org/wiki/Abstract_syntax_tree">Abstract syntax tree</a></li><li>[3] This explains the OCaml question and why some comments in the source are still <em>en français</em></li><li>[4] Caveat: semgrep doesn’t support Perl (yet). (Did you know Perl’s syntax is worse for novices than that of a randomly-generated language? <a href="https://ecs.wgtn.ac.nz/foswiki/pub/Events/PLATEAU/Program/plateau2011-stefik.pdf">Source</a>!)</li><li>[5] Really, do yourself a favor and use a modern re-implementation like <a href="https://github.com/BurntSushi/ripgrep">ripgrep</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db31ec48e1f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our quest to make world-class security and bugfinding available to all developers, for free]]></title>
            <link>https://medium.com/@ievans/our-quest-to-make-world-class-security-and-bugfinding-available-to-all-developers-for-free-dce9eb7b06d0?source=rss-37b5cbe49923------2</link>
            <guid isPermaLink="false">https://medium.com/p/dce9eb7b06d0</guid>
            <category><![CDATA[static-code-analysis]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Isaac Evans]]></dc:creator>
            <pubDate>Mon, 18 Nov 2019 23:53:22 GMT</pubDate>
            <atom:updated>2019-11-18T23:53:22.522Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FrHzf00M43L0cxiL8XYFOg.png" /></figure><h3>Why we’re building</h3><p>One thing we’ve learned at <a href="https://r2c.dev/">r2c</a> is that most Python or JavaScript developers have never heard of — let alone tried — the tools some devs use to find deep flaws in code: like <a href="http://www.codenomicon.com/">Codenomicon</a>, which found <a href="https://heartbleed.com/">Heartbleed</a>, or Zoncolan at Facebook, which finds more <a href="https://cacm.acm.org/magazines/2019/8/238344-scaling-static-analyses-at-facebook/fulltext">top-severity security issues</a> than any human effort. Not only do these tools find severe issues, they save time by pointing out <a href="https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/43322.pdf">hundreds of thousands</a> of issues before humans do.</p><p>We believe every developer deserves access to powerful tools, but most don’t know about or can’t afford them. r2c’s mission is to make those tools available to those who want to find bugs, discover security problems, and save time but don’t work for a giant company that prioritizes these problems with nearly unlimited resources.</p><p>That’s why we’re excited to release <a href="https://bento.dev/">Bento</a>! It’s a free and opinionated toolkit for easily adopting linters and program analysis in a codebase. It includes analysis we’ve written and packages fantastic community-created tools, all running offline (no code is ever shipped off your machine). Over the next few months we’ll release more novel checks and include existing tools; <a href="http://eepurl.com/gDeFvL">subscribe for updates</a>.</p><p>Some members of <a href="https://r2c.dev/team">our team</a> wrote early versions of these tools at places like Facebook. r2c started by building infrastructure to make it easy to run static analysis tools <a href="https://app.r2c.dev/">at massive scale</a> (see <a href="https://www.usenix.org/conference/usenixsecurity19/presentation/zimmerman">our paper co-published at USENIX</a>) but our goal has always been to take the learnings from scaling analysis to benefit individual developers directly: <a href="https://www.belfercenter.org/project/defending-digital-democracy">folks helping small teams writing voter registration systems for their city</a>, non-profits who serve communities targeted by powerful hostile actors, <a href="https://techcrunch.com/tag/data-breach/">startups who handle sensitive data about fellow humans</a>, or developers who just want to automate away code review.</p><h3>How can I get Bento now?</h3><p>Bento is in <strong>alpha</strong>, but you can try it right away: pip3 install bento-cli</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrGwd1aEF8Yk%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrGwd1aEF8Yk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrGwd1aEF8Yk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d39fc826b5c17e95cfbd365b907bc5e4/href">https://medium.com/media/d39fc826b5c17e95cfbd365b907bc5e4/href</a></iframe><p>A lot of love from <a href="https://r2c.dev/team">our small team</a> has gone into Bento. Please try it on your Python or JavaScript projects and send us feedback!</p><h3>But is this just a glorified linter?</h3><p>Well yes, but actually, no; Bento is currently a union of curated AST-based lints, including new ones written by us, tuned to find bugs that matter. Our roadmap takes us far beyond AST-based linting though: finding sql injection through taint analysis, detecting dangerous dependency upgrades, etc.</p><p>Linters have done a good job reaching developers and improving code consistency, especially style. But we want to surface issues and checks that are deep and avoid arguing about <a href="https://www.youtube.com/watch?v=cowtgmZuai0">spaces vs tabs</a> in code review. Bento ships with configurations that are tuned on real-world data and focuses the finding on correctness and security. They are based on using our <a href="https://app.r2c.dev/">platform</a> to analyze swathes of open-source repositories and see what checks developers turn on and off (<a href="https://blog.r2c.dev/posts/three-things-your-linter-shouldnt-tell-you">Three Things Your Linter Shouldn’t Tell You</a>). Our opinion is that you should forget about style and use a deterministic, zero-config formatter (<a href="https://pypi.org/project/black/">Black</a> for Python or <a href="https://prettier.io/">Prettier</a> for JavaScript).</p><p>As opposed to other tools that try to measure code-quality or concatenate linter output, we have skin in the analysis game; we’re already making some contributions back to the tools we include. We’re collaborating with a few linter authors already and we would love to offer free compute resources on our platform for measuring check quality to anyone else who might be interested (<a href="/service/mailto:hello@r2c.dev">hello@r2c.dev</a>).</p><h3>Here’s what’s coming next</h3><p>Our immediate focus is writing custom analysis tools to find security and other issues for users of the <a href="https://www.palletsprojects.com/p/flask/">Flask</a> web framework. If you or someone you know uses Flask and has ideas on what we might detect, <a href="/service/mailto:hello@r2c.dev">send us a note</a> or <a href="https://github.com/returntocorp/bento/issues">make an issue</a>!</p><h3>Bento core values</h3><p>Our first releases are about making it easy to install, adopt, and get started before we ship everything on our roadmap.</p><p><strong>Find bugs that matter</strong> Bento automatically enables and configures relevant analysis based on your dependencies and frameworks, and it will never report style-related issues. You won’t painstakingly configure your tooling, we did that already!</p><p><strong>Go fast</strong> No one should have to dig through thousands of linter results and fix them before they can start using a tool. Bento ships with a built-in archiving feature that lets you establish a baseline without fixing all the issues at once and just look at any new problems entering the codebase.</p><p>This philosophy also applies to setup: Bento auto-configures in about 30 seconds, it’s easy to install in a Docker container, and it can even install itself as a pre-commit hook automatically.</p><p><strong>Get better over time</strong> Bento automatically tailors itself to your project by enabling checks that correspond to your language, framework, and dependencies. As time goes on and based on community feedback, we’ll be writing and shipping new checks that you can adopt automatically. <a href="https://github.com/returntocorp/bento/issues">And we want your feedback</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dce9eb7b06d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>