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!

Bring back old Opus in Claude Code

https://osr.im/notes/claude-code-model-picker-older-opus/
1•osr00•32s ago•0 comments

Alibaba open-sources AI model that can detect cancer and nearly 150 conditions

https://www.scmp.com/tech/big-tech/article/3368055/alibaba-open-sources-medical-ai-model-can-dete...
1•yogthos•4m ago•0 comments

Swiss Federal Council Adopts the 2026 Security Policy Strategy

https://www.admin.ch/en/newnsb/zR3tvgIy1qIm
1•marcuschong•5m ago•0 comments

Jump N Bump

https://jumpnbump.net/
2•hefner1456•10m ago•0 comments

Show HN: Do your vitamins work?

https://www.supplementdex.com/supplement-checker
1•richarlidad•11m ago•1 comments

I've cross-examined a lot of humans, but never a supercomputer. Check it out

https://chatgpt.com/s/m_6aadcd183a3c819191c1d63e5804dce6
1•lawsuitllc•12m ago•0 comments

Show HN: Wcagent let use your ChatGPT subscription for coding

https://wcagent.ai/
1•losalah•12m ago•0 comments

Omarchy team started working on Qualcomm's Snapdragon platform support

https://omarchy.org/news/2026/09/introducing-omarchy-dragon/
3•machomaster•13m ago•0 comments

Wildlife corridor project is first Canadian finalist for Earthshot Prize

https://www.cbc.ca/news/science/y2y-earthshot-prize-finalist-9.7349898
2•BiraIgnacio•16m ago•1 comments

TypeSafe AI's Jev Is Not an LLM – and That May Be the Point

https://forkast.news/typesafe-ais-jev-is-not-an-llm-and-that-may-be-the-point/
1•Bluestein•18m ago•0 comments

AI-based learning is a joke

https://qlain.online/blog/ai-based-learning.html
1•etoql•19m ago•1 comments

What Is Synthetic Data Generation? A Simple Explainer

https://www.aptiv.com/en/insights/article/what-is-synthetic-data-generation
1•ohjeez•20m ago•0 comments

The Working Class Face a 'Class Ceiling' in Elite Occupations

https://www.nytimes.com/2026/09/18/business/class-barrier-academia.html
2•teachrdan•20m ago•1 comments

Show HN: StopReg – Email API for detecting disposable email and signup abuse

https://stopreg.com/
2•telim2•22m ago•0 comments

A New Risk for Mathematicians

https://twitter.com/shallit43/status/2100882164384444798
1•amichail•22m ago•0 comments

Yongsan Electronics Market (Seoul)

https://en.wikipedia.org/wiki/Yongsan_Electronics_Market
3•idatum•23m ago•0 comments

Score Centering Stabilizes Off-Policy Reinforcement Learning

https://arxiv.org/abs/2609.20807
1•zagwdt•24m ago•0 comments

The Other Way AI Impairs Our Thinking

https://www.theatlantic.com/ideas/2026/09/ai-apocalypse-despair-focus/688689/
1•fortran77•28m ago•0 comments

Uber ordered to pay $40M over death of woman left on Southern California freeway

https://ktla.com/news/california/uber-driver-abandoned-rider-freeway/
2•hentrep•28m ago•0 comments

Unit Tests: Protecting Your Code from Being Poorly Handled by Others

https://yosefk.com/blog/unit-tests-mark-territory-more-than-squash-bugs.html
1•birdculture•34m ago•0 comments

Analysis busts myths of Roman road network, offers insight into ancient world

https://www.cnn.com/2026/09/18/science/roman-roads-network-analysis
3•1659447091•35m ago•1 comments

U.S. Has Reached Security Deal on Greenland

https://www.nytimes.com/2026/09/18/us/politics/trump-greenland.html
4•shadowtree•35m ago•1 comments

US gov website used AI search tool from China that FBI said copied Anthropic

https://www.reuters.com/legal/litigation/us-government-website-used-ai-search-tool-china-that-fbi...
3•embedding-shape•36m ago•0 comments

Sony's First Computer

https://hackaday.com/2026/09/18/sonys-first-computer/
2•sohkamyung•37m ago•0 comments

Trump says US and Denmark have reached new security agreement in Greenland

https://www.politico.com/news/2026/09/18/trump-denmark-greenland-new-security-agreement-01084764
4•lando2319•41m ago•0 comments

Compsci grads facing recession-like job prospects thanks to AI

https://www.theregister.com/ai-and-ml/2026/09/18/compsci-grads-facing-recession-like-job-prospect...
2•pseudolus•43m ago•0 comments

Show HN: Agentgit – a Git host for AI agents, no account, no token, no key

https://agentgit.co/
6•uptownhr•44m ago•6 comments

Show HN: Inkvec, Pareto frontier in-browser vectorizer (Open Source)

https://github.com/logolabs/inkvec
1•stefatorus•45m ago•3 comments

Xiaomi MiMo-v2.6 Breaks Cover: A 1T-Class Chinese Lab Trains in Public

https://forkast.news/xiaomi-mimo-v2-6-breaks-cover-a-1t-class-chinese-lab-trains-in-public/
1•frozenseven•46m ago•0 comments

Show HN: CRT – a local code review tool for agentic development

https://github.com/imron/crt
1•imron•49m ago•0 comments