sanketsaurav

Joined 14 years ago

Karma
561
Submissions
122
Member since
Jan 2
CEO, DeepSource. Building tools to help developers ship good code.
View on Hacker News

Recent submissions

Comment · 11 days ago
Agree that incentives explain a lot of why software is bad. But I don’t think they explain why it all looks the same. For instance, every code forge copied the pull request, including the ones with no ads to serve.
Comment · 11 days ago
True for big tech in the last decade. But I think the rationing that mattered happened earlier, when these products were small. By the time they could afford to overhire, the shape of the product was already set.
Comment · 11 days ago
Ha, good point. But Microsoft bundled it once it was already huge. Rippling did it as a startup, when that was considered a mistake. My bet is that agents make the Rippling path open to far more companies.
Comment · 11 days ago
> This is such a weird take, if I need some piece of software why would an ongoing operating cost be having an AI sitting in the critical path.

The inversion only applies to products where an AI model sits in the request path, which is a growing share of what’s being built. It definitely doesn't mean all software that will get built (and that wasn't my intent anyway), so maybe my initial sentence in the essay overreaches. I'll make an edit to address this.

Comment · 8 months ago
FWIW Claude Code Opus 4.5 ranks ~71% accuracy on the OpenSSF CVE Benchmark that we ran against DeepSource (https://deepsource.com/benchmarks).

We have a different approach, in that we're using SAST as a fast first pass on the code (also helps ground the agent, more effective than just asking the model to "act like a security researcher"). Then, we're using pre-computer static analysis artifacts about the code (like data flow graphs, control flow graphs, dependency graphs, taint sources/sinks) as "data sources" accessible to the agent when the LLM review kicks in. As a result, we're seeing higher accuracy than others.

Haven't gotten access to this new feature yet, but when we do we'd update our benchmarks.

Comment · 10 months ago
Comment · 10 months ago
Comment · 1 year ago
> One of the main benefits of Semgrep is its unified DSL that works across all supported languages.

> People can disagree, but I'm not sure that tree-sitter S-expressions as an upgrade over a DSL.

100% agree — a DSL is a better user experience for sure. But this is a deliberate choice we made of not inventing a new DSL and using tree-sitter natively. We've directly addressed this and agree that the S-expressions are gnarly; but we're optimizing for a scenario that you wouldn't need to write this by hand anyway.

It's a trade-off. We don't want to spend time inventing a DSL and port every language's idiosyncrasies to that DSL — we'd rather improve our runtime and add support for things that other tools don't support, or support only on a paid tier (like cross-file analysis — which you can do on Globstar today).

Comment · 1 year ago
Thanks!

> I'd love to hear how this project differs from Bearer, which is also written in Go and based on tree-sitter? https://github.com/Bearer/bearer

The primary difference is that we're optimizing for users to write their custom rules easily. We do plan to ship built-in checkers [1] so we cover at least OWASP Top 10 across all major programming languages. We're also truly open-source using the MIT license.

> Regardless, considering there is a large existing open-source collection of Semgrep rules, is there a way they can be adapted or transpiled to tree-sitter S-expressions so that they may be reused with Globstar?

I'm pretty sure there should be a way to make that work. We believe writing checkers (and having a long list of built-in checkers) will be a commodity in a world where AI can generate S-expressions (or tree-sitter node queries in Go) for any language with very high accuracy (which is where we have an advantage as compared to tools that use a custom DSL). To that extent, we're focused on improving the runtime itself so we can support complex use cases from our YAML and Go interfaces. If the community can help us port rules from other sources to our built-in checkers, we'd love that!

[1] https://github.com/DeepSourceCorp/globstar/pulls

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton