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!

Financial Hardship Shows Up in Baby Brains

https://nautil.us/how-financial-hardship-shows-up-in-baby-brains-1260476/
1•fleahunter•1m ago•0 comments

Testing 2 open-weight models across coding tasks: GLM 4.7 and MiniMax M2.1

https://blog.kilo.ai/p/open-weight-models-are-getting-serious
1•heymax054•1m ago•0 comments

When AI writes almost all code, what happens to software engineering?

https://newsletter.pragmaticengineer.com/p/when-ai-writes-almost-all-code-what
3•Brajeshwar•6m ago•0 comments

Show HN: A commitment model for usage billing

https://twitter.com/tryflexprice/status/2009226683849773430
1•sudeepsd__•6m ago•0 comments

Trump Lays Out a Vision of Power Restrained Only by 'My Own Morality'

https://www.nytimes.com/2026/01/08/us/politics/trump-interview-power-morality.html
4•Stevvo•7m ago•0 comments

Ask AI via Lightning payments (no accounts, no API keys, no stored history)

https://satsforai.com/
1•LightProx•9m ago•1 comments

The most popular Go dependency is

https://blog.thibaut-rousseau.com/blog/the-most-popular-go-dependency-is/
1•bzGoRust•12m ago•0 comments

Ralph Wiggum Experiment – Can AI meaningfully improve through iterative loops?

https://github.com/UtpalJayNadiger/ralphwiggumexperiment
1•iacguy•13m ago•0 comments

Implementing a web server in a single printf() call (2014)

https://tinyhack.com/2014/03/12/implementing-a-web-server-in-a-single-printf-call/
1•nateb2022•14m ago•1 comments

Kelly Evans: Goodbye, Google

https://www.cnbc.com/2026/01/07/kelly-evans-goodbye-google.html
1•cebert•17m ago•0 comments

Spirit Cave Resilience: How Do We Explain a 10k-Year Continuity

https://www.cambridge.org/core/journals/american-antiquity/article/spirit-cave-resilience-how-do-...
1•1659447091•19m ago•0 comments

Show HN: LSP Skill – IntelliSense for Coding Agents That Works

https://lsp-client.github.io/
1•observerw•25m ago•0 comments

Against the 'METR Graph'

https://arachnemag.substack.com/p/the-metr-graph-is-hot-garbage
1•zygmunt417•25m ago•0 comments

Cellular Landscape

https://gaelmcgill.artstation.com/projects/Pm0JL1
2•o4c•26m ago•0 comments

Is Craigslist the Last Real Place on the Internet?

https://www.wired.com/story/is-craigslist-the-last-real-place-on-the-internet/
4•susam•26m ago•0 comments

Lisa

https://github.com/blencorp/lisa
1•handfuloflight•29m ago•0 comments

Show HN: I built OnePlayer: A lightweight, Material 3 offline player

https://play.google.com/store/apps/details?id=com.googol.android.apps.oneplayer&hl=en_US
1•iZakirSheikh•30m ago•0 comments

Show HN: Call Your Loved Ones

https://cylo.mkaye.dev/
2•mrkaye97•30m ago•0 comments

Promise Theory

https://en.wikipedia.org/wiki/Promise_theory
1•dvrp•31m ago•0 comments

Show HN: Owl – Golang NVR with GB28181/Onvif Support and YOLO Detection

2•ixugo•33m ago•0 comments

AI images and internet rumors spread confusion about agent involved in shooting

https://www.npr.org/2026/01/08/nx-s1-5671740/ice-minneapolis-grok-ai-renee-nicole-good
4•rolph•33m ago•0 comments

Industrialising Code as we know it

https://medium.com/@igorcosta/industrialising-code-as-we-know-it-7d7000aa4b6d
1•igorpcosta•35m ago•2 comments

Repeating fast radio burst shows diverse activity and hints at magnetar origin

https://phys.org/news/2026-01-fast-radio-diverse-hints-magnetar.html
1•wglb•36m ago•1 comments

Why Are Grok and X Still Available in App Stores?

https://daringfireball.net/linked/2026/01/08/grok-x-app-stores
2•chmaynard•38m ago•1 comments

Jupiter's moon Europa lacks undersea activity needed to support life

https://phys.org/news/2026-01-jupiter-moon-europa-lacks-undersea.html
3•wglb•39m ago•1 comments

Videos Contradict Trump Administration Account of ICE Shooting in Minneapolis

https://www.nytimes.com/video/us/100000010631041/minneapolis-ice-shooting-video.html
10•shepherdjerred•40m ago•2 comments

Nanoplastics have diet-dependent impacts on digestive system health

https://phys.org/news/2025-12-nanoplastics-diet-impacts-digestive-health.html
2•PaulHoule•42m ago•1 comments

Why does mint make water taste so cold?

https://theconversation.com/why-does-mint-make-water-taste-so-cold-a-scientist-explains-267550
1•wjb3•43m ago•0 comments

Ruby 4.0 released – but its best new features are not production ready

https://devclass.com/2026/01/06/ruby-4-0-released-but-its-best-new-features-are-not-production-re...
4•thunderbong•46m ago•0 comments

Giant phantom jellyfish spotted deep in Pacific

https://www.popsci.com/environment/giant-phantom-jellyfish-spotted-deep-in-pacific/
2•wjb3•47m ago•0 comments