frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y ago
Hi HN, we’re Jeffrey and Kritin, and we’re building DeepTeam (https://trydeepteam.com), an open-source Python library to scan LLM apps for security vulnerabilities. You can start “penetration testing” by defining a Python callback to your LLM app (e.g. `def model_callback(input: str)`), and DeepTeam will attempt to probe it with prompts designed to elicit unsafe or unintended behavior.

Note that the penetration testing process treats your LLM app as a black-box - which means that DeepTeam will not know whether PII leakage has occurred in a certain tool call or incorporated in the training data of your fine-tuned LLM, but rather just detect that it is present. Internally, we call this process “end-to-end” testing.

Before DeepTeam, we worked on DeepEval, an open-source framework to unit-test LLMs. Some of you might be thinking, well isn’t this kind of similar to unit-testing?

Sort of, but not really. While LLM unit-testing focuses on 1) accurate eval metrics, 2) comprehensive eval datasets, penetration testing focuses on the haphazard simulation of attacks, and the orchestration of it. To users, this was a big and confusing paradigm shift, because it went from “Did this pass?” to “How can this break?”.

So we thought to ourselves, why not just release a new package to orchestrate the simulation of adversarial attacks for this new set of users and teams working specifically on AI safety, and borrow DeepEval’s evals and ecosystem in the process?

Quickstart here: https://www.trydeepteam.com/docs/getting-started#detect-your...

The first thing we did was offer as many attack methods as possible - simple encoding ones like ROT13, leetspeak, to prompt injections, roleplay, and jailbreaking. We then heard folks weren’t happy because the attacks didn’t persist across tests and hence they “lost” their progress every time they tested, and so we added an option to `reuse_simulated_attacks`.

We abstracted everything away to make it as modular as possible - every vulnerability, attack, can be imported in Python as `Bias(type=[“race”])`, `LinearJailbreaking()`, etc. with methods such as `.enhance()` for teams to plug-and-play, build their own test suite, and even to add a few more rounds of attack enhancements to increase the likelihood of breaking your system.

Notably, there are a few limitations. Users might run into compliance errors when attempting to simulate attacks (especially for AzureOpenAI), and so we recommend setting `ignore_errors` to `True` in case that happens. You might also run into bottlenecks where DeepTeam does not cover your custom vulnerability type, and so we shipped a `CustomVulnerability` class as a “catch-all” solution (still in beta).

You might be aware that some packages already exist that do a similar thing, often known as “vulnerability scanning” or “red teaming”. The difference is that DeepTeam is modular, lightweight, and code friendly. Take Nvidia Garak for example, although comprehensive, has so many CLI rules, environments to set up, it is definitely not the easiest to get started, let alone pick the library apart to build your own penetration testing pipeline. In DeepTeam, define a class, wrap it around your own implementations if necessary, and you’re good to go.

We adopted a Apache 2.0 license (for now, and probably in the foreseeable future too), so if you want to get started, `pip install deepteam`, use any LLM for simulation, and you’ll get a full penetration report within 1 minute (assuming you’re running things asynchronously). GitHub: https://github.com/confident-ai/deepteam

Excited to share DeepTeam with everyone here – let us know what you think!

Show HN: Sibuna OSS simple web application firewall with proof of work

https://github.com/insanai/sibuna
1•vikrantrathore•2m ago•0 comments

Is Cosmic DE Mogging KDE Plasma?

https://thelibre.news/is-cosmic-de-mogging-kde-plasma/
1•birdculture•5m ago•0 comments

The Latency Floor: One Microsecond of Work Inside Ten of Plumbing

https://clustron.io/blog/latency-floor/
1•joshcsimmons•6m ago•0 comments

AXI Stream is broken (2022)

https://zipcpu.com/blog/2022/02/23/axis-abort.html
1•RicoElectrico•6m ago•0 comments

Separating an agent's session transcript from long-term customer facts

https://www.twilio.com/en-us/blog/developers/building-agent-twilio-conversations-eve
1•iobert•7m ago•0 comments

Show HN: Sodabase – Find and fix broken Supabase tables

https://sodabase.io/
2•santiviquez•8m ago•0 comments

Show HN: CPU-first model for fast typed decisions

https://github.com/kouhxp/gutsy
1•mrkn1•8m ago•0 comments

Scraping TikTok's Mobile API

https://datasocial.ai/writing/scraping-tiktoks-mobile-api
1•Gander5739•9m ago•1 comments

Show HN: Runbook and scripts for Claude to edit raw footage in DaVinci Resolve

https://blog.simbastack.com/claude-edited-my-youtube-videos-davinci-resolve/
2•asenna•9m ago•0 comments

Gramanator – a Spanish grammar gym with explained drills

https://www.gramanator.com/
2•tsibinadaria•11m ago•0 comments

DeepSeek kernel engineer's opinion on automating his own job

https://www.lesswrong.com/posts/o8roRrdisBAjngHJN/a-summary-of-a-viral-chinese-essay-on-what-a-de...
1•amanverasia•11m ago•0 comments

AnyPS5 reaches 96% shader instruction coverage for PS5-to-PC conversion

https://thetechboom.com/2026/10/08/anyps5-hits-96-shader-coverage-can-ps5-games-finally-run-on-pc/
1•ninyeh•13m ago•0 comments

Independent Hilbert-Smith proof with Lean4 verification

https://github.com/adbrw/HS_proof
1•aldabrow•13m ago•1 comments

TypeSafe started the decision-model category;OpenAI and AWS did it in 3 weeks

https://www.youtube.com/watch?v=L3KoK0gqekY
5•faridovski•14m ago•2 comments

Email isn't decentralized, and that's fine

https://buttondown.com/blog/deliverability-and-decentralization
2•maguay•15m ago•1 comments

When the White Collars Feel Threatened – A Reply to Terence Tao

https://komando1.substack.com/p/when-the-white-collars-feel-threatened
2•inglor_cz•16m ago•1 comments

SpaceXAI joins Omarchy as corporate sponsor with $1.5M in Grok tokens

https://omarchy.org/news/2026/10/spacexai-joins-as-founding-corporate-patron/
1•djfergus•19m ago•1 comments

Deliveroo Cut AI Churn Alerts by 90%. Did It Save Partners?

https://industrycontents.com/restaurant-churn-prediction-deliveroo/
2•giuliomagnifico•22m ago•0 comments

New batteries for the batteries-included agent harness

https://mainbrella.com/blog/new-batteries-for-the-batteries-included-agent-harness/
2•cs1996•23m ago•0 comments

Samsung to cut smartphone production by 30%: "There's no profit even if we sell"

https://www.mt.co.kr/en/tech/2026/10/08/2026100709554237233
3•theanonymousone•25m ago•0 comments

Show HN: SVG Spark – 10 client-side SVG design and dev tools

https://svg-spark.vercel.app/
3•Zeus808•28m ago•0 comments

Play Skyrim as a Minecraft Player

https://github.com/chasmlol/SkyCraft
2•LelouBil•28m ago•1 comments

Much of legacy software is basically workflow theater

https://twitter.com/signulll/status/2107931540084728177
2•tosh•31m ago•2 comments

Yes, and

https://htmx.org/essays/yes-and/
5•Michelangelo11•31m ago•1 comments

Show HN: Opposable – Computer Use for iPhone and Android

https://getopposable.com
3•possiblelion•33m ago•0 comments

Sokrates – open-source code analysis for repos and organizations

https://www.sokrates.dev/
4•zeljkoobren•33m ago•1 comments

FaceCheck

https://face-check.net
3•thefirstname322•35m ago•0 comments

Join the Show – plan a trip that catches several live concerts

https://jointhe.show/
2•galgreshler•36m ago•1 comments

SingPost launches trial of digital stamps

https://www.channelnewsasia.com/singapore/singpost-digital-stamp-postage-trial-launch-6441321
2•mjballs•42m ago•0 comments

Bidding on competitor names when buyers ask agents

https://www.nibzard.com/brand-bids
2•nkko•43m ago•0 comments