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!

Pangram – AI Detector

https://www.pangram.com
2•bartekurbanski•2m ago•0 comments

Trump blasts Exxon, Chevron for making 'too much money,' demands lower prices

https://www.reuters.com/business/energy/trump-demands-lower-gas-prices-oil-companies-chides-chevr...
1•petethomas•2m ago•0 comments

KDE Itinerary

https://apps.kde.org/itinerary/
1•0x54MUR41•2m ago•0 comments

Interviewing Engineers in the AI Era: Lessons from a Year of Rebuilding

https://www.coinbase.com/blog/interviewing-engineers-in-the-ai-era-lessons-from-a-year-of-rebuilding
1•dukebartnik•8m ago•0 comments

I built RoleMetric to understand why my resume was getting filtered out

https://www.rolemetric.com/
1•AndrewLeeAstyne•9m ago•0 comments

OpenAI rebuilt ChatGPT's voice stack so GPT-Live can listen while speaking

https://runtimewire.com/article/openai-gpt-live-voice-stack-full-duplex
1•devy•10m ago•0 comments

How to quickly distribute a VoIP phone line to your house

https://www.voipmyhouse.com/
1•navigate8310•12m ago•0 comments

Pcarrier – The Most Complete Software Suite

https://pcarrier.com/marketing
1•cdrnsf•12m ago•0 comments

Nvidia-Labs OO Agents: Native Python Object-Oriented Agents

https://arxiv.org/abs/2607.20709
1•javaeeeee•12m ago•1 comments

US regulators cite 'circular' risk in investments used by KKR and Apollo

https://www.ft.com/content/4de8bfa8-9eb3-4d70-bd17-273a6834dd41
2•petethomas•14m ago•0 comments

GUI Toolkit from Scratch

https://github.com/onuelito/libaui
1•onuelito•17m ago•1 comments

Show HN: I built a Neovim plugin to answer questions about your config

https://github.com/michtesar/how.nvim
1•neuropacabra•18m ago•0 comments

Show HN: Texpile, an open-source desktop LaTeX editor with a visual mode

https://github.com/texpile/texpile
1•asyncfun•19m ago•0 comments

AI squad to analyze your iOS app before Apple

https://www.apprejectkit.com/
1•jonvolio•20m ago•0 comments

OpenFeature providers for Featurevisor (Git-based cross-platform feature flags)

https://featurevisor.com/docs/sdks/openfeature/
1•fahad19•21m ago•0 comments

Big Tech's Anthropic and OpenAI stakes are distorting the corporate earnings

https://www.cnbc.com/2026/08/03/big-techs-anthropic-and-openai-stakes-distort-corporate-earnings....
1•mapping365•21m ago•0 comments

Capital One closed Trump Organization accounts after anti-money laundering probe

https://www.reuters.com/legal/government/capital-one-says-it-closed-trump-organizations-accounts-...
4•petethomas•22m ago•0 comments

Apple's New CEO Taps Retired Hardware Executive Laura Legros for Management Team

https://www.bloomberg.com/news/articles/2026-08-03/apple-s-new-ceo-taps-retired-hardware-executiv...
1•aanet•22m ago•1 comments

Ant teams beat gravity-based puzzle solvers

https://phys.org/news/2026-08-ant-teams-gravity-based-puzzle.html
1•geox•26m ago•0 comments

Bessent Seeks Fed Help in Defending Yen in Unusual Call

https://www.bloomberg.com/news/articles/2026-08-03/bessent-seeks-fed-help-in-defending-yen-in-unu...
2•mapping365•26m ago•0 comments

Exa says its index serves 80B pages, targets Google scale in 2027

https://runtimewire.com/article/exa-search-index-80-billion-pages-google-scale-2027
1•ryanmerket•29m ago•0 comments

An AI-supervised remote exam went so badly that 58,000 students must retake it

https://arstechnica.com/culture/2026/08/an-ai-supervised-remote-exam-went-so-badly-that-58000-stu...
4•sbulaev•30m ago•0 comments

Incus 7.3 adds easy GPU virtualization

https://discuss.linuxcontainers.org/t/incus-7-3-has-been-released/27033
2•ropyeett•31m ago•0 comments

Arsenic, 133 times the legal limit being found in the water around Aughinish

https://www.irishpoliticsnewsletter.ie/p/aughinish-133-times-the-limit
1•IrishPoliticsNL•31m ago•0 comments

Codes, Chess and Kubrick: The Life of Jack Good – GCHQ

https://www.gchq.gov.uk/information/codes-chess-and-kubrick-life-jack-good
1•rbanffy•32m ago•0 comments

Windows XP 2002 for the Itanium: Unbridled rage

https://virtuallyfun.com/2026/08/03/windows-xp-2002-for-the-itanium-unbridled-rage/
3•jandeboevrie•33m ago•0 comments

Reverse Jevons Paradox

https://mht.wtf/post/jevons/
1•martinhath•33m ago•0 comments

Apple launches legal challenge against UK government demand to access data

https://www.theguardian.com/technology/2026/aug/03/apple-legal-challenge-uk-government-data-access
4•sega_sai•35m ago•1 comments

Rejourney Flutter Analytics in Beta: Session Replay for Flutter GPU and Impeller

https://rejourney.co/engineering/2026-08-01/flutter-sdk-open-beta
1•mrr7337•36m ago•0 comments

Stanford CS329A Self-Improving AI Agents – Part 1 [video]

https://www.youtube.com/watch?v=6YnLB0XbTnI
2•simonpure•38m ago•0 comments