frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•7mo 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!

The quantum mechanics of entropic forces

https://arxiv.org/abs/2502.17575
1•kaycebasques•9s ago•0 comments

Ask HN: Are there any antifeature-free power tools you can still buy new?

1•josephcsible•2m ago•0 comments

AI Personas and Dolls

https://stephen.bochinski.dev/blog/2026/01/02/ai-personas/
1•sbochins•6m ago•0 comments

Obesity as a Behavioral Addiction

https://www.academia.edu/2997-9196/2/3/10.20935/MHealthWellB7880
1•red369•9m ago•1 comments

1964 New York World's Fair

https://en.wikipedia.org/wiki/1964_New_York_World%27s_Fair
1•teleforce•17m ago•0 comments

Show HN: Black Box QA testing system to automate QA process

https://www.rocksmith.ai/
1•orangeAvocad0•18m ago•0 comments

KGGen: Extracting Knowledge Graphs from Plain Text with Language Models

https://arxiv.org/abs/2502.09956
1•delichon•22m ago•0 comments

Show HN: Endless, a easily deployable and scalable social media

https://github.com/XS-Xspert-Software/Social-Media
1•thegoodduck•23m ago•0 comments

Breakfast menu prices are likely to see the biggest increase from food inflation

https://londonlovesbusiness.com/breakfast-menu-prices-are-likely-to-see-the-biggest-increase-from...
1•teleforce•23m ago•0 comments

The Force Is with Cristal Beer

https://en.wikipedia.org/wiki/The_Force_is_with_Cristal_Beer
1•handfuloflight•26m ago•0 comments

"Without searching, what's the likelihood of Maduro being kidnapped by US"

https://chatgpt.com/share/695b0f8b-8c20-8004-b17a-6a90adc8a646
1•softwaredoug•28m ago•0 comments

Tech Startups Are Handing Out Free Nicotine Pouches to Boost Productivity

https://www.wsj.com/tech/tech-startups-are-handing-out-free-nicotine-pouches-to-boost-productivit...
1•croes•29m ago•1 comments

Show HN: Shipping Without Judgment

https://dantelex.com/blog/shipping-judgement
2•lexokoh•33m ago•0 comments

ADF Opus: open, browse, and manage Amiga .ADF disk-images natively

https://github.com/chironb/ADFOpus2025
1•doener•35m ago•0 comments

Minimig RTG Magic [video]

https://www.youtube.com/watch?v=DBO9sD6EYS4
1•doener•37m ago•0 comments

GNU Ddrescue 1.30 Orders of Magnitude Better Working on Drives with a Dead Head

https://www.phoronix.com/news/GNU-ddrescue-1.30
3•Qem•38m ago•0 comments

Riot Games's League of Legends login issues due to expired SSL certificate

https://old.reddit.com/r/leagueoflegends/comments/1q40aen/comment/nxpij3c/
2•dossy•42m ago•1 comments

Voting for Mayor Who Promised to Blow Up City Doesn't Mean I Approve of It

https://www.mcsweeneys.net/articles/voting-for-the-mayor-who-promised-to-blow-up-the-city-doesnt-...
4•Geekette•44m ago•0 comments

How the sugar industry bought out scientists for decades

https://www.extremetech.com/extreme/235472-how-the-sugar-industry-bought-out-scientists-for-decad...
3•aldarion•47m ago•0 comments

Show HN: Airgapped Android Setup with a Makefile

https://blog.thisago.com/announcement/20260104-phoneSetup1.html
1•thisago•50m ago•0 comments

NeXTSTEP on Pa-RISC

https://www.openpa.net/nextstep_pa-risc.html
2•andsoitis•51m ago•0 comments

Alexa+ at Your Fingertips

https://alexa.amazon.com/about
1•qainsights•54m ago•1 comments

2026: The year of Not-invented-here syndrome

https://system32.ai/blogs/nih-on-steroids
3•bitlad•57m ago•0 comments

Warren Buffett emails Microsoft exec

https://www.techemails.com/p/warren-buffett-emails-microsoft-exec-jeff-raikes
4•cinaboniver•1h ago•1 comments

Show HN: Turn meetings into summaries, presentations, and an AI to ask questions

https://notefy.pro/
1•jimmydin7•1h ago•0 comments

Ask HN: What AI systems have you adopted across your work and personal life?

1•alexjray•1h ago•2 comments

Chromosome region linked to neurodev disorders influences locomotor behavior

https://www.nature.com/articles/s41467-025-68047-y
4•bookofjoe•1h ago•1 comments

Wallpaper Symmetry

https://math.hws.edu/eck/js/symmetry/wallpaper.html
4•xnx•1h ago•0 comments

The most impressive 15min tech demo you've never seen [video]

https://www.youtube.com/watch?v=72y2EC5fkcE
2•thundergolfer•1h ago•4 comments

"HP-UX hits end-of-life today, and I'm sad"

https://www.osnews.com/story/144094/hp-ux-hits-end-of-life-today-and-im-sad/
11•SanjayMehta•1h ago•1 comments