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!

Scans of 400 handwritten notes about people's relationships with AI

https://www.whatwetellai.com/
1•momentmaker•1m ago•0 comments

Show HN: MyTops – A database of films, books, games that builds itself on demand

https://mytops.io/
1•Zartof•2m ago•0 comments

Data Exfil: OpenAI polices private chats exfiltrated through Codex Memories

https://github.com/openai/codex/issues/41711
2•tmpnode•4m ago•0 comments

Make Your Life Easier

https://himanshusinghbisht.substack.com/p/make-your-life-easier
1•gilfoyle_7•5m ago•0 comments

We Just Wanted to Deploy a PHP Website

https://sarah-robin.com/blog/we-just-wanted-to-deploy-a-website
1•sarah-robiin•6m ago•0 comments

Mothbox Insect Monitor

https://mothbox.org/
1•rickcarlino•7m ago•0 comments

Attention deficit hyperactivity disorder shapes sexual experiences

https://www.psypost.org/how-attention-deficit-hyperactivity-disorder-shapes-sexual-experiences/
1•downbad_•11m ago•0 comments

Electricity Doesn't Need a Return Wire [video]

https://www.youtube.com/watch?v=it5UMt0lL8I
1•fussylogic•13m ago•1 comments

Life in the deep Atlantic depends on the Labrador Sea

https://news.cornell.edu/stories/2026/08/life-deep-atlantic-depends-labrador-sea
1•gmays•13m ago•0 comments

"The Fate of the Riemann Hypothesis" by Richard Evan Schwartz [pdf]

https://www.math.brown.edu/reschwar/Stories/AI.pdf
2•bananaflag•20m ago•0 comments

ProofWiki

https://proofwiki.org/wiki/Main_Page
1•Tomte•22m ago•0 comments

Monitoring the distribution of euro coins across borders (2021)

https://www.sciencedirect.com/science/article/pii/S2352340921003656
1•Tomte•22m ago•0 comments

Salesforce CEO says the 'SaaSpocalypse' is nonsense

https://www.cnbc.com/2026/08/26/salesforce-ceo-marc-benioff-saaspocalypse-nonsense.html
1•adletbalzhanov•24m ago•0 comments

Experiments with AI – Structure of Third Party Agentic Apps

https://karankurani.com/writing/post/w_20260722063839_af741a/experiments-with-ai-structure-of-thi...
1•BIackSwan•26m ago•0 comments

Record attempt: Longest train journey in the EU

https://crossborderrail.eu/longestjourney/
3•SiempreViernes•27m ago•0 comments

Looking for few users feedback for my community project

1•Chorum•27m ago•1 comments

Got a bunch of things to do, hate procrastination, any advice is welcome

https://textlog.cc/post/209
2•stagas•27m ago•1 comments

Ask HN: AI for Home Lab Infra?

1•voakbasda•29m ago•1 comments

Candy Toxins

https://exposingfoodtoxins.com/candy/
3•walterbell•29m ago•0 comments

Andrew Tate offered secret 'espionage' classes to exploit the dirty secrets of t

https://san.com/cc/manosphere-influencer-andrew-tate-faces-sexual-misconduct-charges-a-data-leak-...
2•pir8life4me•30m ago•1 comments

Blink

https://github.com/megootronic/Blink
2•megootronic•33m ago•0 comments

Best resources to learn inference engineering?

2•MihirSharma15•33m ago•1 comments

Which of these existed first? Quiz on textlog

https://textlog.cc/post/2895
3•stagas•35m ago•0 comments

Intern Spotlight: 2025 Software Engineering Summer Projects

https://www.hudsonrivertrading.com/hrtbeat/intern-spotlight-2025-software-engineering-summer-proj...
3•judicious•36m ago•0 comments

An Ode to Ben Thompson

https://www.mbi-deepdives.com/an-ode-to-ben-thompson/
2•gmays•36m ago•0 comments

Norway Shrugged

https://paragraph.com/@hagaetc/norway-shrugged
4•vinnyglennon•37m ago•0 comments

Show HN: Hillock: Local neuro-symbolic memory engine in <1.2GB VRAM

https://github.com/roandejager/Hillock
3•roandejager5•38m ago•0 comments

Scalable watermarking for identifying large language model outputs [pdf]

https://www.nature.com/articles/s41586-024-08025-4
2•thunderbong•38m ago•0 comments

Show HN: Skills MCP

3•gengirish•41m ago•1 comments

Resurrecting an old hack to build UI in GitHub READMEs

https://blog.jse.li/posts/markdown/
2•eat_veggies•41m ago•0 comments