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!

Are we in the middle of a crisis of relational intelligence?

https://www.theguardian.com/books/2026/nov/29/are-we-in-the-middle-of-a-crisis-of-relational-inte...
1•cdrnsf•2m ago•0 comments

Show HN: Rootbar – A bar above the macOS Dock that sorts windows by project

https://rootbar.app/
1•IanXavier•3m ago•0 comments

Humanoid Robot Cage Match: Now with Wolverine Claws [video]

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

Chamberlain is giving itself a permanent license to data, may use it to train AI

https://www.theverge.com/tech/1050757/chamberlain-garage-door-smart-home-camera-tos-terms-service...
2•nobody9999•4m ago•0 comments

Show HN: Offline Chat Wrapped for ChatGPT/WhatsApp

https://www.aichatwrapped.com
1•yiyiyayo•4m ago•0 comments

The Role of Trust in Scientific Collaboration

https://causalinf.substack.com/p/the-role-of-trust-in-scientific-collaboration
1•tomrod•5m ago•0 comments

Quantifying the Mathocalypse

https://defensesindepth.bio/quantifying-the-mathocalypse/
1•meetpateltech•6m ago•0 comments

Senate Democratic leader Chuck Schumer says he will not seek reelection in 2028

https://www.npr.org/2026/12/06/g-s1-157724/senate-democratic-leader-chuck-schumer-says-he-will-no...
1•blinding-streak•8m ago•0 comments

Phylloxera and the Grapes of Wrath

https://www.historytoday.com/archive/great-debates/phylloxera-and-grapes-wrath
1•bryanrasmussen•8m ago•0 comments

The Clever Engineering That Stops the A380's Cabin Shaking [video]

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

If anyone reads it, everyone laughs

https://dolos.substack.com/p/if-anyone-reads-it-everyone-laughs
1•Lithuanian•11m ago•0 comments

You can now trade stocks around the clock, 5 days a week. Not many are happy

https://www.npr.org/2026/12/06/nx-s1-6064919/why-23-5-could-redefine-stock-trading-as-we-know-it
1•blinding-streak•12m ago•0 comments

The "Highway" to the South Pole

https://signoregalilei.com/2026/12/05/the-highway-to-the-south-pole/
1•Brajeshwar•13m ago•0 comments

Building Pico, the fastest signals library

https://isograph.dev/blog/2026/12/03/building-the-worlds-fastest-signals-library/
1•Brajeshwar•13m ago•0 comments

A security warning about the BN254 curve

https://blog.ethereum.org/2026/12/06/bn254-security-warning
2•soheilpro•13m ago•0 comments

Finding a zero-day RCE in Zoom's custom video codec

https://mrbruh.com/zoom/
1•Brajeshwar•13m ago•0 comments

I let an AI agent organise my life and it became weirdly protective of me

https://www.bbc.com/news/articles/cxvg21mzypyyo
2•saikatsg•14m ago•2 comments

I made a site where you can pop the confetti for no reason

https://poptheconfetti.website/
1•beingmani•15m ago•0 comments

Microsoft SecureDesignStudio

https://github.com/microsoft/SecureDesignStudio
2•algorithmsRcool•15m ago•0 comments

ChatGPT Classic Retires in January

https://9to5mac.com/2026/11/02/openai-is-retiring-chatgpt-classic-app-will-soon-combine-chat-and-...
2•tosh•15m ago•0 comments

Run Julia apps almost as-is in the browser, on CPU and GPU

https://discourse.julialang.org/t/run-julia-apps-almost-as-is-in-the-browser-on-cpu-and-gpu/143504
1•leephillips•16m ago•0 comments

Kana Boxing – fitness game to lear Japanese Kana

https://github.com/dinamika-games/kana-boxing
2•mristin•19m ago•1 comments

Show HN: OpenVGal – Turn folders of images into a walkable 3D gallery

https://github.com/lbartworks/openvgal
1•thelbartworks•20m ago•0 comments

Why does LibreOffice still popup document recovery?

https://github.com/hatonthecat/NoPromptOS
1•initramfs•21m ago•0 comments

Let's just call it a feed

https://openrss.org/blog/lets-just-call-it-a-feed
2•theanonymousone•22m ago•0 comments

What Was Coding

https://aeon.co/essays/programming-existed-before-code-it-will-survive-ai-too
1•llm_nerd•23m ago•0 comments

Ask HN: What are the uses for matmul algorithms with omega lower than Strassens?

1•Rabbit504030201•23m ago•0 comments

My Perosnal Website

https://jesal.wiki
3•jes4l•23m ago•3 comments

Do you work in tech and lean left? I'd love to talk

https://www.youtube.com/watch?v=rmRtTfoxuYc
1•bealesh•25m ago•1 comments

Show HN: Refloow Air Quality – local-first desktop air monitor and sensor hub

https://github.com/Refloow/Refloow-Air-Quality
2•refloow•26m ago•0 comments