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!

Expozine at 25: Has the Independent Print Scene Outgrown Expozine?

https://www.themain.com/articles/expozine-montreal-independent-print-scene-arcmtl
1•rdmuser•2m ago•1 comments

Show HN: Little Boxes, 20 Tic Tac Toe variants (and counting)

https://apps.apple.com/fr/app/little-boxes/id6777767346
1•thiht•3m ago•0 comments

Ampoule: Pack an Elixir or Erlang release into one executable

https://filipecabaco.github.io/ampoule/
1•clessg•3m ago•0 comments

Déjà View: Looping Transformers for Multi-View 3D Reconstruction

https://research.nvidia.com/labs/dvl/projects/dvlt/
1•pretext•3m ago•0 comments

A dumb copyright law makes it illegal to remove the spyware from your own TV

https://boingboing.net/2026/11/12/fountain-pen-fulu-smart-tv-spyware-dmca.html
2•DeepLogin•5m ago•0 comments

The Chinese city powering the country's AI ambitions with data farms

https://www.nbcnews.com/world/asia/china-ai-data-center-construction-inner-mongolia-rcna608934
1•ivewonyoung•5m ago•0 comments

DNS resolution failures in macOS 26 and 27

https://wadetregaskis.com/dns-resolution-failures-in-macos-26-27/
1•speckx•6m ago•0 comments

Using LLMs outside of reflection is an anti-pattern

1•jcarmackdaddy•6m ago•0 comments

Who do websites think you are? Browser fingerprint test

https://who.1ms.dog/
1•eustoria•6m ago•0 comments

QuantumScape unveils Osprey all-solid-state cell: 1,000 cycles at 1 ATM

https://electrek.co/2026/11/11/quantumscape-osprey-all-solid-state-sulfide-battery/
1•cisc•8m ago•0 comments

Paperwall: Design Without the Paywall

https://manoharys.github.io/paperwall/
1•eustoria•9m ago•0 comments

AI Company Employees Should Unionize

https://www.astralcodexten.com/p/ai-company-employees-should-unionize
1•LalAkash•10m ago•0 comments

Show HN: Host a site, content, or stream from a browser tab, served over WebRTC

https://fmrl.live
1•bromney•10m ago•0 comments

DeepMind opens the datasets behind its AI weather models

https://deepmind.google/blog/opening-the-datasets-behind-our-ai-weather-models/
1•ersinesen•10m ago•0 comments

Putting all your eggs in the Microsoft basket

https://insights.integrity360.com/microsoft-outage-is-relying-on-a-single-technology-provider-bec...
1•eustoria•10m ago•0 comments

Building a rocket is hard. AST SpaceMobile thinks it's "simple."

https://arstechnica.com/space/2026/11/building-a-rocket-is-hard-ast-spacemobile-thinks-its-simple/
1•titusblair•11m ago•0 comments

Chuck and Hakeem Won't Leave

https://mann.cool/leave/
1•O1111OOO•11m ago•0 comments

Marco Roth: Teaching Rails to Read Its Own Template

https://rubyonrails.org/2026/11/13/on-rails-marco-roth-herb-reaction-view
1•robbyrussell•11m ago•0 comments

Make math practice tests from existing tests (3rd to 8th grade)

https://www.testdupe.com/
1•polycycle•11m ago•1 comments

Nscale warns it needs more cash ahead of $35B IPO

https://www.ft.com/content/8d5a8642-d0a1-458d-aaa4-c1e7d344fe47
1•toomuchtodo•12m ago•1 comments

Kitesurf is now open source

https://blog.cloudflare.com/kitesurf-open-source/
1•acossta•12m ago•1 comments

Terry Rozier accused in new NBA betting claim

https://press-start.gla.ac.uk/public/journals/1/submission_421_334_coverImage_en.html?io0=9ZUJ5
1•hivuixo•13m ago•0 comments

A board game where you play an AI lab CEO racing to AGI [video]

https://www.youtube.com/watch?v=SXnxZuntM0w
1•pricepinner•14m ago•0 comments

How the U.S.'s biggest news union is fighting an AI onslaught

https://www.fastcompany.com/91637688/newsguild-jon-schleuss-ai-human-journalists
1•postalex•15m ago•0 comments

Doctors Once Prescribed 300k IU of Vitamin D, Here's What Happened [video]

https://www.youtube.com/watch?v=uxWARJ4s95Y
1•Bender•16m ago•0 comments

What the 'AI Torture Chamber' Debate Got Wrong About the Research

https://www.techpolicy.press/what-the-ai-torture-chamber-debate-got-wrong-about-the-research/
1•postalex•16m ago•0 comments

Can we license "vibe code" into Free Software?

https://fsfe.org/news/2026/news-20260825-01.en.html
2•smartmic•18m ago•0 comments

Microsoft is too big to live

https://pluralistic.net/2026/11/13/outlookpocalypse/#bright-line-test
4•only_in_america•18m ago•0 comments

Big tech is here to let us down

https://blog.jsweeting.me/big-tech-is-here-to-let-us-down
5•speckx•18m ago•0 comments

Complexity as an Evolutionary Trap

https://medium.com/@smoking2man/complexity-as-an-evolutionary-trap-from-the-extinction-of-the-din...
1•Aldus551•19m ago•0 comments