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•7mo 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!

Is Alexa Overloaded

1•dzdt•5m ago•0 comments

Timeless Games

https://cxong.github.io/2025/12/timeless-games
2•todsacerdoti•6m ago•0 comments

Tesla Robotaxis Are Big on Wall St. but Lagging on Roads

https://www.nytimes.com/2025/12/25/business/tesla-robotaxis-austin-waymo.html
1•edward•7m ago•0 comments

Salesforce regrets firing 4000 experienced staff and replacing them with AI

https://maarthandam.com/2025/12/25/salesforce-regrets-firing-4000-staff-ai/
3•whynotmaybe•7m ago•0 comments

Ask HN: MIT grad, junior dev layoffs – watching my daughter lose faith in merit

1•MITfather•7m ago•0 comments

The Smell of Kerosene [pdf]

https://www.nasa.gov/wp-content/uploads/2021/04/88797main_kerosene.pdf
1•belter•8m ago•0 comments

Show HN: Festive Greetings – Create and share Holiday Cards with your loved ones

https://festivegreeting.vercel.app/
2•mr_o47•12m ago•0 comments

Show HN: Paste Recipe – AI-powered recipe formatter

https://www.pasterecipe.com
1•BuildItBusk•17m ago•1 comments

The Architecture of Open Source Applications

https://aosabook.org/en/index.html
2•bcye•22m ago•0 comments

Waymo is using the Honk app to pay $20-$24 to manually close doors

https://www.washingtonpost.com/technology/2025/12/25/waymo-robots-human-work/
3•sleepingreset•23m ago•0 comments

Artists revolt as X's latest feature lets users AI-edit any photo

https://piunikaweb.com/2025/12/25/x-grok-ai-edit-image-feature-artists-leaving-no-opt-out/
1•doright•24m ago•1 comments

Largest Companies by Marketcap

https://companiesmarketcap.com/
1•ksec•25m ago•1 comments

Legible Hacker News

https://adam.farkas.pro/legible-hackernews/
2•piersj225•29m ago•2 comments

Inferal Workspace Architecture: How We Work at Inferal

https://gist.github.com/yrashk/59b1cd144864bc3320a0ac0c766d4f55
1•yrashk•30m ago•1 comments

Show HN: Q-SSP – Quantum-Entropy Sanitization (7.997 bits/byte)

https://github.com/Alpha-Legents/Q-SSP
1•zenith_vortex•30m ago•0 comments

The worst fire in space history

https://www.sciencefocus.com/space/fire-in-space-jerry-linenger
1•slow_typist•30m ago•1 comments

Older Americans Quit Weight-Loss Drugs in Droves

https://www.nytimes.com/2025/12/21/health/older-people-glp1-weight.html
1•prmph•35m ago•0 comments

I wrote a 2M-character novel with ChatGPT, without an outline

1•hideroze•35m ago•1 comments

I learned to stop worrying and love AI slop

https://www.technologyreview.com/2025/12/23/1130396/how-i-learned-to-stop-worrying-and-love-ai-slop/
1•Brajeshwar•41m ago•0 comments

AI overestimates how smart people are, according to economists

https://techxplore.com/news/2025-12-ai-overestimates-smart-people-economists.html
1•Brajeshwar•41m ago•0 comments

Bee collecting honeydew produced by scale insects [video]

https://www.youtube.com/watch?v=-4lijMoA_3M
1•joebig•42m ago•0 comments

Asahi Linux with Sway on the MacBook Air M2

https://daniel.lawrence.lu/blog/2024-12-01-asahi-linux-with-sway-on-the-macbook-air-m2/
1•andsoitis•45m ago•0 comments

Complaint Tablet to EA-NāṣIR – Oldest Customer Complaint

https://en.wikipedia.org/wiki/Complaint_tablet_to_Ea-nāṣir
1•andsoitis•49m ago•0 comments

Show HN: Crossview – visualize Crossplane resources and compositions

https://corpobit.com/products/crossview
1•moeidheidari•52m ago•0 comments

The year data centers went from back end to center stage

https://techcrunch.com/2025/12/24/the-year-data-centers-went-from-backend-to-center-stage/
1•saikatsg•52m ago•0 comments

Nvidia to license AI chip challenger Groq's tech and hire its CEO

https://techcrunch.com/2025/12/24/nvidia-acquires-ai-chip-challenger-groq-for-20b-report-says/
1•saikatsg•53m ago•1 comments

Dark Patterns and Deceptive Designs in Chinese and Japanese F2P Mobile Games

https://arxiv.org/abs/2511.17512
1•PaulHoule•55m ago•0 comments

Show HN: Gwt-Claude – Parallel Claude Code sessions with Git worktrees

https://github.com/slowestmonkey/gwt-claude
2•slowmonkey•55m ago•1 comments

Show HN: Top Four – a directory of /top4 pages

https://topfour.net
1•peterspath•56m ago•0 comments

Autonomous Cars

https://daniel.lawrence.lu/blog/2025-12-24-autonomous-cars/
1•andsoitis•57m ago•0 comments