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!

Closing the knowledge gap with agent skills Blog

https://developers.googleblog.com/en/closing-the-knowledge-gap-with-agent-skills/
1•Anon84•9s ago•0 comments

ODF is the future, OOXML is the past

https://blog.documentfoundation.org/blog/2026/03/27/odf-is-the-future-ooxml-is-the-past/
1•tylerchr•1m ago•0 comments

PyNear: Exact KNN 39× faster than Faiss at d=512, approximate binary 257× faster

https://github.com/pablocael/pynear
1•pcael•4m ago•0 comments

Top Things Not to Do at KubeCon

https://medium.com/@dianatodea/top-10-things-not-to-do-at-kubecon-if-you-want-to-actually-enjoy-i...
1•valyala•4m ago•0 comments

Generative AI Can Harm Learning (2024)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4895486
3•taubek•6m ago•0 comments

Attie.ai

https://attie.ai/login
2•m-hodges•7m ago•0 comments

Mushroom hunting catch and cook in Southern California [video]

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

South Korea Mandates Solar Panels for Public Parking Lots

https://www.reutersconnect.com/item/south-korea-mandates-solar-panels-for-public-parking-lots/dGF...
2•_____k•11m ago•0 comments

Qbtctl 1.5.0 – minimal, scriptable CLI for qBittorrent

https://github.com/creptic/qbtctl
1•creptic•22m ago•1 comments

New discoveries are showing how human anatomy is far from settled

https://theconversation.com/new-discoveries-are-showing-how-human-anatomy-is-far-from-settled-277844
1•zeristor•22m ago•0 comments

Samsung's BM9K1 PCIe drive's controller is based on RISC-V delivering 11.4 GB/s

https://www.tomshardware.com/pc-components/ssds/samsung-announces-bm9k1-pcie-5-0-qlc-ssd
1•fork-bomber•23m ago•0 comments

Black-Hat LLMs [video]

https://www.youtube.com/watch?v=1sd26pWhfmg
1•kkoncevicius•23m ago•0 comments

How Did Hollywood End Up in...Hollywood?

https://www.pbssocal.org/shows/lost-la/how-did-hollywood-end-up-in-hollywood
1•thunderbong•25m ago•0 comments

A $30M lesson in patience

https://www.ft.com/content/b628fcfd-3aa6-4555-aaf8-60294568555d
1•hhs•26m ago•0 comments

He suddenly couldn't speak in space

https://apnews.com/article/nasa-sick-astronaut-medical-evacuation-cc34793ffb73174f18443f2dd9c6ff2f
2•taubek•30m ago•0 comments

Bluesky leans into AI with Attie, an app for building custom feeds

https://techcrunch.com/2026/03/28/bluesky-leans-into-ai-with-attie-an-app-for-building-custom-feeds/
4•doener•32m ago•0 comments

One of the largest salt mines in the world exists under Lake Erie

https://apnews.com/article/cleveland-salt-mine-winter-road-0daf091e3d56f65766bcf6a597683893
1•1659447091•33m ago•0 comments

Computer chip material inspired by the human brain could slash AI energy use

https://www.cam.ac.uk/research/news/new-computer-chip-material-inspired-by-the-human-brain-could-...
3•hhs•36m ago•0 comments

TreeTrek – A raw Git repository viewer web app

https://repo.autonoma.ca/treetrek
2•maxloh•37m ago•0 comments

Why solid-state batteries keep short-circuiting

https://news.mit.edu/2026/why-solid-state-batteries-keep-short-circuiting-0325
6•hhs•40m ago•0 comments

Trump Has Detained the Parents of More Than 11,000 U.S. Citizen Kids

https://www.propublica.org/article/trump-family-deportations-ice-citizen-kids
5•tempodox•41m ago•1 comments

Roman Catholic Churches See a Surge of New Converts

https://www.nytimes.com/2026/03/26/us/catholics-converts.html
8•johntfella•42m ago•0 comments

The Decadelong Feud Shaping the Future of AI

https://www.wsj.com/tech/ai/the-decadelong-feud-shaping-the-future-of-ai-7075acde
1•danielcampos93•45m ago•0 comments

RimWorld: A sci-fi colony SIM driven by an intelligent AI storyteller

https://store.steampowered.com/app/294100/RimWorld/
4•doener•45m ago•0 comments

Why AI Companies Want to Take Control of Your Computer

https://nymag.com/intelligencer/article/why-ai-agents-anthropic-claude-want-to-take-control-of-yo...
1•tempodox•49m ago•0 comments

We hold the key to the universe, and we turned it into a casino

https://seangong.substack.com/p/we-hold-the-key-to-the-universe-and
7•Entropnt•49m ago•1 comments

Sealing Paper Packaging Without Adhesives

https://www.fraunhofer.de/en/press/research-news/2026/march-2026/sealing-paper-packaging-without-...
2•gnabgib•50m ago•0 comments

Why exposing young children to AI content could have irreversible consequences

https://theconversation.com/why-exposing-young-children-to-ai-content-could-have-irreversible-con...
3•tempodox•50m ago•1 comments

NASA scientist backs evidence of non-human intelligence in Earth's skies

https://www.dailymail.co.uk/sciencetech/article-15677677/nasa-scientist-evidence-nonhuman-intelli...
4•SilentM68•53m ago•0 comments

From 300KB to 69KB per Token: How LLM Architectures Solve the KV Cache Problem

https://news.future-shock.ai/the-weight-of-remembering/
2•future-shock-ai•58m ago•0 comments