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!

Thailand Accelerates Clean Energy Push to Cut LNG Dependence

https://oilprice.com/Latest-Energy-News/World-News/Thailand-Accelerates-Clean-Energy-Push-to-Cut-...
1•thelastgallon•22s ago•0 comments

The broadcast squeezeback, rebuilt with CSS Grid and WebVTT

https://www.mux.com/blog/the-broadcast-squeezeback-rebuilt-with-css-grid-and-webvtt
1•mmcclure•41s ago•0 comments

Suica, Japan's First IC Transit Card

https://www.tokyodev.com/articles/the-story-of-suica
2•zdw•1m ago•0 comments

Japanese polka dot artist Yayoi Kusama dies aged 97

https://www.bbc.com/news/articles/c3v4k0re3vwo
3•herbertl•2m ago•0 comments

Rfclt: Runtime type metadata in TS 7.0 without emitDecoratorMetadata

https://github.com/inversify/rflct
1•ower•3m ago•0 comments

Ratko Mladic, former general convicted of Bosnia genocide, dies

https://www.reuters.com/world/bosnian-serb-general-ratko-mladic-convicted-genocide-has-died-un-of...
1•layer8•6m ago•1 comments

Two alleged TeamPCP hackers arrested over global supply chain attacks

https://www.helpnetsecurity.com/2026/08/27/alleged-teampcp-hackers-arrested-australia/
3•madradavid•6m ago•0 comments

Solving all open source tech debt with Codex

1•surajkrajan•7m ago•0 comments

The Moral and Ethical Imperative of Agents

https://justusdevs.substack.com/p/the-moral-and-ethical-imperative
1•floydhead01•7m ago•0 comments

Apple gave Tim Cook a farewell party a week before Ternus takes over

https://thenextweb.com/news/tim-cook-apple-farewell-party-ternus-handover
2•ksec•9m ago•0 comments

Show HN: A better way to recognize developer contributions

https://github.com/Meridiona/meridian
3•meridiona•9m ago•0 comments

Bargain? We Tested Scaleway's $8 VPS in Amsterdam and Warsaw

https://webbynode.com/articles/bargain-we-tested-scaleways-8-vps-in-amsterdam-and-warsaw
1•gsgreen•9m ago•1 comments

The journey of a failed autonomous AI vulnerability hunter

https://twitter.com/pwnh4/status/2093001388246663370
1•pwnh4•10m ago•0 comments

Performance of Static Rust with MUSL (2025)

https://raniz.se/blog/2025/rust-musl-malloc/
1•mattrighetti•10m ago•0 comments

Launch HN: Salem Robotics (YC S26) – Software for industrial inspection robots

2•Salem_robotics•10m ago•0 comments

We open-sourced an office plugin for DSH (spreadsheets, docs, slides, and more)

https://github.com/dream-num/dsh-univer-office/tree/main
2•Nicole9•10m ago•0 comments

Show HN: PwnPad – hardware hacking platform built for practical learning

https://github.com/twelvesec/PwnPad
1•therepanic•10m ago•0 comments

Musk's SpaceX to build $100B launch facility in Louisiana

https://www.bbc.com/news/articles/cq5xel4v642o
1•ksec•11m ago•0 comments

Updating a vector database is no simple thing

https://softwaredoug.com/blog/2026/08/18/update-graph-vector-db
1•softwaredoug•12m ago•0 comments

Show HN: I built a site to share and find Claude Code passes

https://claudecoupons.com
1•alexander-g•13m ago•0 comments

Show HN: Warp – Run the 313B GLM-5.3-Flash on a MacBook with 8GB RAM

1•marcobambini•14m ago•0 comments

Nvidia: Jetson Orin Nano 2 Robotics Computer

https://nvidianews.nvidia.com/news/nvidia-announces-jetson-orin-nano-2-robotics-computer-to-redef...
1•tosh•15m ago•0 comments

US designates Palestine Action a terrorist group

https://www.bbc.com/news/articles/cn4kzd7k2nvo
2•tartoran•16m ago•0 comments

Engineered yeast for converting plastic and biomass compounds into food

https://acs.digitellinc.com/live/37/session/586399
1•ehwa37•16m ago•0 comments

SK Hynix holds groundbreaking ceremony for $4B HBM packaging facility at Purdue

https://www.reuters.com/world/asia-pacific/sk-hynix-holds-groundbreaking-ceremony-4-billion-india...
1•alephnerd•17m ago•0 comments

Ask HN: Should I leave web development to study medicine in my mid-30s?

2•lovepuzzles•18m ago•2 comments

IP Whitelisting for OpenRouter: What You Need to Know

https://outboundgateway.com/blogs/openrouter-ip-whitelisting/
2•theanonymousone•18m ago•0 comments

Openmuster See what your agents are doing in real time

https://www.openmuster.com/
1•johnngu•18m ago•1 comments

Uefa pursuing criminal legal action against Infantino

https://www.bbc.com/sport/football/articles/cx2zl5kwlxjo
2•brudgers•18m ago•0 comments

Parquet: What floor are we standing on?

https://oleander.dev/parquet
1•phixMe•20m ago•0 comments