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•10mo 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!

Diving into Starlink's User Terminal Firmware

https://blog.quarkslab.com/starlink.html
3•techgq•2m ago•0 comments

New AI-generated videos of Iran war spread across social media

https://www.youtube.com/watch?v=0mKCBAM4wZs
1•mgh2•11m ago•0 comments

Traders place $760M bet on falling oil ahead of Hormuz announcement

https://www.reuters.com/sustainability/boards-policy-regulation/traders-place-760-million-bet-fal...
2•Jimmc414•16m ago•0 comments

Show HN: I made a calculator that works over disjoint sets of intervals

https://victorpoughon.github.io/interval-calculator/
2•fouronnes3•24m ago•1 comments

Casus Belli Engineering

https://marcosmagueta.com/blog/casus-belli-engineering/
3•b-man•25m ago•0 comments

The Bureaucrats Won't Be Toppled: Revolts No Longer Work

https://unherd.com/2025/09/why-the-bureaucrats-wont-be-toppled/
3•barry-cotter•26m ago•1 comments

Infinite Velocity

https://cube-drone.com/posts/2026/infinite_velocity/
2•tapoxi•35m ago•0 comments

Madison Square Garden's Surveillance Machine

https://www.wired.com/story/madison-square-garden-jim-dolan-surveillance-machine/
2•c420•40m ago•4 comments

Why LLMs Aren't Giving You the Result You Expect

https://akitaonrails.com/en/2026/04/15/how-to-talk-to-claude-code-effectively/
2•vinipolicena•41m ago•0 comments

The parking lot that's keeping the lights on

https://www.begiant.ca/stories/places/solar-parking-lots-energy-emissions
2•Teever•48m ago•0 comments

Reflecting on my own strange year at Uber

https://anon-ex-uber.medium.com/reflecting-on-my-own-strange-year-at-uber-e73165422245
8•anon-ex-uber•48m ago•0 comments

Education research is weak and sloppy. Why?

https://www.theargumentmag.com/p/education-research-is-weak-and-sloppy
2•barry-cotter•50m ago•0 comments

Show HN: Nilbox – Run OpenClaw without exposing your API tokens

https://nilbox.run/
2•rednakta•52m ago•0 comments

The Centaur Era

https://secondthoughts.ai/p/the-centaur-era
1•gk1•54m ago•1 comments

No one can force me to have a secure website [pdf]

https://tom7.org/httpv/httpv.pdf
1•djoldman•55m ago•0 comments

Show HN - TokensAI – Mint for AI Usage

https://tokensai.dev
1•SowjanyaY•55m ago•0 comments

GCC Compiler Adds Arm AGI CPU Target

https://www.phoronix.com/news/GCC-Arm-AGI-CPU
1•Bender•57m ago•0 comments

Linux 7.1 Crypto Code Rework Enables More Optimizations by Default

https://www.phoronix.com/news/Linux-7.1-Crypto
1•Bender•57m ago•0 comments

Wine 11.7 Brings VBScript Fixes, DirectSound 7.1 Channel Support

https://www.phoronix.com/news/Wine-11.7-Released
1•Bender•58m ago•0 comments

Show HN: Irl.rent – What renters pay, not what's listed in SF

7•rajatady•59m ago•1 comments

Show HN: PodWarden – A catalog of 9k+ self-hosted apps with one-click deploy

https://www.podwarden.com/
2•rayneclarke•1h ago•0 comments

Show HN: Llama.cpp Tutorial 2026: Run GGUF Models Locally on CPU and GPU

3•anju-kushwaha•1h ago•0 comments

Conway's Game of Life with Penrose and Voronoi tilings

https://life.au.pe/
1•satchlj•1h ago•0 comments

PyCon US 20216

https://us.pycon.org/2026/
2•vismit2000•1h ago•0 comments

Steno – Compressed memory with RAG for AI agents

https://github.com/KultMember6Banger/steno
1•KM6B•1h ago•1 comments

Zoom teams up with World to verify humans in meetings

https://techcrunch.com/2026/04/17/zoom-teams-up-with-world-to-verify-humans-in-meeting/
1•rfarley04•1h ago•3 comments

Ludum Dare will officially end in October 2028

https://www.gamedeveloper.com/production/ludum-dare-will-officially-end-in-october-2028
3•matthew_hre•1h ago•0 comments

Researchers Stole $10k from MKBHD's Locked iPhone

https://www.macrumors.com/2026/04/15/apple-pay-visa-transit-exploit/
4•zacharyozer•1h ago•0 comments

Simple Machines

https://en.wikipedia.org/wiki/Simple_machine
3•ogogmad•1h ago•0 comments

Generating Hierarchical JSON Representations of Scientific Sentences Using LLMs

https://arxiv.org/abs/2603.23532
2•PaulHoule•1h ago•0 comments