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

Piclaw-Addons

https://rcarmo.github.io/piclaw-addons/
1•rcarmo•1m ago•0 comments

Ask HN: What does your agentic software dark factory look like?

1•ElFitz•1m ago•0 comments

Datapace, a Postgres reliability agent that catches regressions before they ship

https://datapace.ai
1•mda94•1m ago•0 comments

Show HN: OpenAI Privacy Filter running 100% locally in the browser WebGPU

https://labs.montevive.ai/openai-privacy-demo/
1•jmrobles•3m ago•0 comments

Show HN: I built a dual crossword puzzle where two crosswords share one grid

https://forkle.co.uk/
1•daveoshawrus•3m ago•0 comments

Coding Is Dead ( But It Still Smells Funny)

https://adamtornhill.substack.com/p/coding-is-dead-but-it-still-smells
1•nephrenka•3m ago•0 comments

Pgbackrest is no longer being maintained

https://github.com/pgbackrest/pgbackrest
1•c0l0•4m ago•0 comments

José Valim vs Coding Agent

https://twitter.com/josevalim/status/2048698752077025743
1•bkolobara•5m ago•0 comments

NotAShelf/watt: Modern CPU frequency and power management utility

https://github.com/NotAShelf/watt
1•Lunar5227•5m ago•0 comments

Introduction to Machine code for beginners- Usborne(1983) [pdf]

https://yurichev.com/mirrors/machine-code-for-beginners.pdf
2•pillars•7m ago•0 comments

Google Vision Banana: Image Generators are Generalist Vision Learners

https://vision-banana.github.io/
1•Anon84•8m ago•0 comments

Terminal tab titles for Claude Code with topic and busy/idle marker

https://github.com/franzvill/claude-code-tab-title
1•franzvill•9m ago•0 comments

What Tim Cook Built

https://techcrunch.com/2026/04/26/what-tim-cook-built/
1•yakkomajuri•10m ago•0 comments

You can't learn influence from a book (and neither can ChatGPT)

https://togetherlondon.com/insights/you-cant-learn-influence-from-a-book
1•lucidplot•11m ago•0 comments

A Fight to Save a Corporate Campus Intertwined with Nature (2021)

https://www.nytimes.com/2021/02/12/business/weyerhaeuser-campus-landscape-conservation.html
1•taubek•13m ago•0 comments

Dual pane file manager for macOS with built in terminal, SFTP, keyboard first

https://www.captains-deck.com/
1•juhapekka69•13m ago•0 comments

PyWry: Cross-Platform Rendering Engine in Python

https://deeleeramone.github.io/PyWry/
1•filipovic•18m ago•0 comments

DeepSeek Slashes Fees for New AI Model

https://www.bloomberg.com/news/articles/2026-04-27/deepseek-slashes-fees-for-new-ai-model-in-chin...
4•jbredeche•18m ago•1 comments

Show HN: Doom Inside Claude Code

https://github.com/erkandogan/doom-in-claude-code
1•redoh•23m ago•0 comments

More Minitest:Spec Shenanigans

https://remimercier.com/more-minitest-spec/
1•thunderbong•25m ago•0 comments

Vibe → Environment → Culture: Why Leadership Gets This Backwards

https://medium.com/@hnshah/vibe-environment-culture-why-leadership-gets-this-backwards-c8b26af42519
1•BerislavLopac•27m ago•0 comments

The Future of AI in Ubuntu

https://discourse.ubuntu.com/t/the-future-of-ai-in-ubuntu/81130
4•jmngomes•28m ago•0 comments

Hyperscale data center in Utah to consume more power than entire state

https://www.sltrib.com/news/2026/04/25/hyperscale-data-center-may-be/
2•elsewhen•29m ago•0 comments

DeepMind Releases Vision Banana: Frontier Generalist Image Model

https://vision-banana.github.io/#results
1•filkny•31m ago•0 comments

Who Asked for This?

https://calnewport.com/who-asked-for-this/
2•ingve•37m ago•0 comments

Bug Bounty Guide – Methodology, AI tools, and lessons from 4 years of hunting

https://aituglo.com/guide/bug-bounty/
2•aituglo•38m ago•1 comments

Dynamic Pricing in B2B ECommerce in 2026

https://virtocommerce.com/blog/dynamic-pricing-in-b2b-ecommerce
1•vcmarketing•40m ago•1 comments

Ask HN: Is there a good CV review service for tech roles in Switzerland?

3•swissdom•41m ago•0 comments

A man who is paying to see the future – Semafor

https://www.semafor.com/article/04/24/2026/the-man-who-is-paying-to-see-the-future
1•voisin•41m ago•0 comments

RLM: LLMs to process arbitrarily long prompts with inference-time scaling (2025)

https://github.com/alexzhang13/rlm
1•ihrimech•42m ago•1 comments