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

Firefox ext: Bkmker · Your bookmarks, encrypted and private

https://addons.mozilla.org/en-US/firefox/addon/bkmker/
2•fullstacking•5m ago•0 comments

OpenTarget Core: Laser Shooting Platform for Raspberry Pi Using OpenCV

https://github.com/JSK-Project/OpenTarget-Core
1•laurieg•7m ago•0 comments

Aspect Ratios with Sinners Director Ryan Coogler (2025)

https://www.youtube.com/watch?v=78Ru62uFM0s
1•hbcondo714•10m ago•0 comments

Halo-Gravity Traction

https://www.childrenshospital.org/conditions-treatments/halo-gravity-traction
1•walterbell•12m ago•0 comments

California bill aims to help vibe coders

https://www.semafor.com/article/03/20/2026/california-bill-aims-to-help-vibe-coders
1•gnabgib•13m ago•1 comments

A city that wasted nothing [video]

https://aeon.co/videos/the-extraordinary-efficiency-of-japans-edo-economy
3•billybuckwheat•15m ago•1 comments

Show HN: Locro – Fast and accurate local OCR through Chrome's screen_ai

https://github.com/sergiocorreia/clv-locro
1•zzleeper•15m ago•0 comments

'Microshifting' puts a new spin on 9-to-5 schedules

https://apnews.com/article/microshifting-work-time-flexible-schedule-balance-97a98519916b447cd60c...
1•donutshop•16m ago•0 comments

California bill to stop 'dominant platforms' from blocking competition

https://yro.slashdot.org/story/26/03/22/2025249/tech-leaders-support-california-bill-to-stop-domi...
4•MilnerRoute•16m ago•0 comments

Mars to Wars: New Space pivots to weaponize space

https://www.defensenews.com/space/2026/02/19/spacex-and-blue-origin-abruptly-shift-priorities-ami...
3•infinitewars•17m ago•1 comments

The Un-Slop Fiction Prize

https://www.hyperstitionai.com/unslop
1•Curiositry•20m ago•0 comments

Blackburn AI Bill Repeals Section 230, Expands AI Liability, Age Verification

https://reclaimthenet.org/trump-america-ai-act-section-230-repeal-ai-liability-age-verification
3•walterbell•22m ago•0 comments

Nashville library launches Memory Lab for digitizing home movies

https://www.axios.com/local/nashville/2026/03/16/nashville-library-digitize-home-movies
3•toomuchtodo•23m ago•0 comments

Show HN: Generate, preview, and export 3D models without complex software

https://www.ai3dgen.com
2•stewardyunn•29m ago•0 comments

My Prodigal Brainchild

https://nealstephenson.substack.com/p/my-prodigal-brainchild
2•martinlaz•29m ago•0 comments

Show HN: A form builder that feels like chatting

https://www.typerson.com
1•briandev•32m ago•0 comments

Box of Secrets: Discreetly modding an apartment intercom with Matter

https://www.jackhogan.me/blog/box-of-secrets/
5•swq115•33m ago•1 comments

PwC will say goodbye to staff who aren't convinced about AI

https://www.theregister.com/2026/03/19/pwc_ai/
4•gnabgib•39m ago•1 comments

StackOverflow's questions per day have fallen 99%

https://meta.stackoverflow.com/questions/433864/do-you-agree-with-gergely-that-stack-overflow-is-...
11•stevage•41m ago•1 comments

Music manuscripts from Cologne now linked to digitized copies

https://rism.info/library_collections/2026/03/19/Music-manuscripts-from-Cologne.html
1•gnabgib•41m ago•0 comments

Where did 400 MiB go?

https://frn.sh/pmem/
2•thunderbong•42m ago•0 comments

Naomi Klein and Karen Hao: The Empire of AI and the Fight for Our Future [video]

https://www.youtube.com/watch?v=Z1B__Efqacc
1•ares623•42m ago•0 comments

The Equal Vote Coalition

https://www.equal.vote/
3•pabs3•45m ago•1 comments

App for comparing your kid's development

https://appstoreconnect.apple.com/login?targetUrl=%2Fapps%2F6757778539%2Fdistribution%2Fios%2Fver...
1•jbrozena22•49m ago•1 comments

ArrowJS – The first UI framework for the agentic era

https://arrow-js.com/
2•kothariji•50m ago•2 comments

Show HN: RoverBook – PostHog for AI Agents

https://github.com/rtrvr-ai/rover/tree/main/packages/roverbook
2•quarkcarbon279•52m ago•0 comments

Pharaoh – structural codebase maps for AI coding agents

https://pharaoh.so/
2•dangreer•53m ago•0 comments

Autoresearching Apple's "LLM in a Flash" to run Qwen 397B locally

https://twitter.com/danveloper/status/2034353876753592372
1•gurjeet•54m ago•1 comments

Literary Celebrity, Mussolini Mouthpiece, American Traitor: Who Was Ezra Pound?

https://lithub.com/literary-celebrity-mussolinis-mouthpiece-and-american-traitor-who-was-ezra-pound/
1•petethomas•55m ago•0 comments

Show HN: OMyTree – An open-source, tree-based AI canvas for deep research

https://github.com/isbeingto/oMyTree
1•isbeingto•56m ago•0 comments