Se

Semgrep Assistant, a set of surgical AI tools for AppSec

Hacker News

Semgrep Assistant, a set of surgical AI tools for AppSec

Heya HN, excited to show off what I've been privately calling an AI cybersecurity tool built by AI skeptics. Two years ago we started a series of experiments with this philosophy of identifying small pieces of cognitive work where a human can very clearly map out the input data they need and the algorithm they'd follow to make a decision. This idea came partly out of frustration with the zeitgeist involving throwing broad AI features (e.g. useless chat bots) into products that end up unreliable and are targeting no clear problem a user might actually have. It feels kind of like a machete vs. scalpel approach. For one, Semgrep (without AI) emits a stream of possible vulnerabilities found via static analysis, and Assistant reviews this stream of vulns to filter out obvious false positives. This happens before developers are notified, so that we can prevent posting PR comments that would annoy devs, and instead just hold those notifications for review by an AppSec team. This seems to help increase trust in the security tool overall, as devs are less likely to approach alerts with skepticism. Second, things deemed true positives also come with specific AI-generated instructions on how to solve them. This is one of the parts where the 'surgical' approach helped immensely; we noticed that as humans we usually first try to find a past instance of someone successfully fixing a similar problem in git history, and we look at the project dependencies to see what libraries are readily available. So both these are included in the context we pass in the prompt, which leads to some very impressive code generation that uses even internal libraries correctly when it's required to sanitize data, for example. The most recent addition to this whole system is our memories system though. When users triage findings and leave comments such as "Anything under the /dashboard/ prefix is internal access only", Semgrep Assistant parses this for information it might want to learn to apply to triage decisions or fix instructions, and checks if these new facts apply to existing findings you already had in the backlog. We had a customer whose backlog was cut by around 40% by adding just 4-5 memories that explain common reasons vulns do not apply in their environment. I know it's a saturated space but my team believes our approach is actually useful, so we're expecting comments written with some suspicion but optimistic we can convince some of there's something real[0] here (: [0]: https://semgrep.dev/blog/2024/does-your-llm-thing-work-how-w...

Share card

Actual performance

8points
4comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, apps, user · Missing: agents, macos, agent
86%86% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
86%86% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: excited, exist, existing · Missing: https docs, just released, lua
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: reviews, users · Missing: plus, platform, intuitive
39%39% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: apps, users · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ca
Cantools – an extensive set of CAN bus tools58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cantools – an extensive set of CAN bus tools

Hacker News220
300aidirectories
300aidirectories20%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI tools

Indie Hackers
topaiinfluencers
topaiinfluencers32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

TOP AI Tools

Indie Hackerscommitment-side-project
Ca
Cazac.tools – a set of tools (inc. yet another favicon generator)34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cazac.tools – a set of tools (inc. yet another favicon generator)

Hacker News1
Ma
Mandelbrot Set in a Bootloader37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mandelbrot Set in a Bootloader

Hacker News2
Set Hoa Lụa Cao Cấp Đẹp, Sang Trọng
Set Hoa Lụa Cao Cấp Đẹp, Sang Trọng38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Set Hoa Lụa

Product Hunt+1
Renas Ai
Renas Ai52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

All-in-one AI Tools

Indie Hackerscommitment-full-time
2k
2k+ ChatGPT/AI tools. Blocked by r/GPT3, uploading here25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2k+ ChatGPT/AI tools. Blocked by r/GPT3, uploading here

Hacker News11
Neuro AI
Neuro AI45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI Tools App

Indie Hackers1ai
Da
Danube – AI Tools Marketplace18%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Danube – AI Tools Marketplace

Hacker News3