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!

Command Injection Bug in OpenAI Codex Exposed GitHub OAuth Tokens

https://decipher.sc/2026/03/30/command-injection-bug-in-openai-codex-exposed-github-oauth-tokens/
1•whiteyford•55s ago•0 comments

OpenAI rolls out ChatGPT Library to store your personal files

https://www.bleepingcomputer.com/news/artificial-intelligence/openai-rolls-out-chatgpt-library-to...
1•gmays•1m ago•0 comments

The Return of the Energy Weapon

https://www.foreignaffairs.com/united-states/return-energy-weapon-bordoff-osullivan
1•mooreds•1m ago•0 comments

A Border Wall Plan Unites Republicans and Democrats in Texas: 'This Is Insane'

https://www.nytimes.com/2026/03/30/us/a-border-wall-plan-unites-republicans-and-democrats-in-texa...
1•duxup•1m ago•1 comments

An AI Odyssey, Part 3: Lost Needle in the Haystack

https://www.johndcook.com/blog/2026/03/27/an-ai-odyssey-part-3-lost-needle-in-the-haystack/
1•ibobev•2m ago•0 comments

An AI Odyssey, Part 2: Prompting Peril

https://www.johndcook.com/blog/2026/03/04/an-ai-odyssey-part-2-prompting-peril/
1•ibobev•2m ago•0 comments

An AI Odyssey, Part 1: Correctness Conundrum

https://www.johndcook.com/blog/2026/03/02/an-ai-odyssey-part-1-correctness-conundrum/
1•ibobev•2m ago•0 comments

Humanoid robot spreads joy in New York City as children chase it through park

https://www.dailymail.co.uk/news/article-15689529/unitree-robot-new-york-children-video.html
1•Bender•2m ago•0 comments

Run third-party tools and AI agents securely on your machine

https://github.com/ashishb/amazing-sandbox
1•mooreds•2m ago•0 comments

Web dev is making me hear voices and see things

https://www.silvestar.codes/articles/web-dev-is-making-me-hear-voices-and-see-things/
1•speckx•3m ago•0 comments

New detector chip compresses X-ray data 100- to 200-fold in real time

https://techxplore.com/news/2026-03-detector-chip-compresses-ray-real.html
1•PaulHoule•4m ago•0 comments

Resource Curse

https://en.wikipedia.org/wiki/Resource_curse
1•simonebrunozzi•5m ago•0 comments

New e-bike bill in Congress could bring long-awaited federal regulation

https://electrek.co/2026/03/30/new-e-bike-bill-in-congress-could-bring-long-awaited-federal-regul...
1•Bender•6m ago•0 comments

Steve Jobs and the greatest run of products in tech history

https://www.theverge.com/tech/900655/steve-jobs-imac-ibook-ipod
1•stalfosknight•6m ago•0 comments

When Did China Become a Leader in Medical Innovation?

https://www.governance.fyi/p/since-when-did-china-become-a-leader
2•bigbobbeeper•6m ago•1 comments

Ökologische Informatik Speicher vs. Logik Algorithmus

https://www.researchgate.net/publication/403033331_Okologische_Informatik_Speicher_vs_Logik_Algor...
1•TiagoEckhardt•7m ago•0 comments

Tesla carelessly promotes 'Full Self-Driving' for driver losing his eyesight

https://electrek.co/2026/03/29/tesla-promotes-cybertruck-buyer-losing-eyesight-fsd/
2•Bender•7m ago•0 comments

Show HN: Ace Influence – Turn your brand into stories people watch

https://aceinfluence.ai
1•SecularVan•7m ago•0 comments

How the housing crisis is fucking up the kids

https://www.urbanproxima.com/p/how-the-housing-crisis-is-fucking
3•viajante1882•8m ago•0 comments

The comforting lie of sha pinning

https://www.vaines.org/posts/2026-03-24-the-comforting-lie-of-sha-pinning/?trk=feed_main-feed-car...
2•twunde•8m ago•0 comments

Show HN: The Art of Retrieval

1•gokuljs•9m ago•1 comments

Canada's Arctic Foreign Policy

https://international.canada.ca/en/global-affairs/corporate/reports/arctic-policy-2024?lang=eng
1•simonebrunozzi•10m ago•0 comments

BrowserHawk – Open-source autonomous QA agent skill for Claude Code

https://github.com/JakubKontra/skills
1•JakubKontra•11m ago•0 comments

Show HN: OpenPiste an open dataset of ~150 French ski resorts

https://open-piste.raed.workers.dev
1•Raed667•11m ago•0 comments

Euro-Office Wants to Replace Google Docs and Microsoft Office

https://www.howtogeek.com/this-new-open-source-web-editor-wants-to-replace-google-docs-and-micros...
1•rapnie•11m ago•0 comments

Migrating a 1TB PostgreSQL from AWS to Azure with Pgcopydb

https://underthehood.meltwater.com/blog/2026/03/19/migrating-a-1tb-postgresql-from-aws-to-azure-w...
2•speckx•12m ago•0 comments

Stiff penalties for workplace deaths are doing their job

https://independentaustralia.net/politics/politics-display/stiff-penalties-for-workplace-deaths-a...
1•rectang•14m ago•0 comments

Show HN: Phantom – Open-source AI agent on its own VM that rewrites its config

https://github.com/ghostwright/phantom
1•mcheemaa•14m ago•0 comments

Universal Category System

https://universalcategorysystem.com/
2•gglitch•15m ago•0 comments

How to Turn Anything into a Router

https://nbailey.ca/post/router/
3•yabones•16m ago•0 comments