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!

Studio Display XDR medical imaging feature gets FDA cleared, launching this week

https://9to5mac.com/2026/04/06/studio-display-xdr-medical-imaging-feature-fda-clearance/
1•kotaKat•1m ago•0 comments

Autonmomous Agent Identity Framework

https://github.com/highflame-ai/zeroid
2•sharathr•2m ago•0 comments

Can deterministic coding be relevant in 2026?

https://npmjs.com/package/@cmpsbl/cli
1•promptfluid•3m ago•1 comments

Show HN: I built a modern, self-hosted control plane to manage migrations

https://github.com/minuth/open-migration
1•xarahe•5m ago•0 comments

The Bedrock Is Shifting: Five Developments Rethinking Computat

https://suthakamal.substack.com/p/the-bedrock-is-shifting-five-developments
2•suthakamal•6m ago•0 comments

Real Feelings for Fake Beauty

https://freddiedeboer.substack.com/p/real-feelings-for-fake-beauty
1•paulpauper•6m ago•0 comments

Surprising links between autism, Alzheimer's could change how we treat both

https://www.washingtonpost.com/health/2026/04/02/autism-alzheimers-link-research-treatment/
1•wslh•6m ago•1 comments

Artemis II Lunar Flyby (Official Broadcast)

https://plus.nasa.gov/scheduled-video/nasas-artemis-ii-crew-flies-around-the-moon-official-broadc...
2•layer8•7m ago•0 comments

Can You Fake Being Rich?

https://www.nytimes.com/2026/03/30/style/rich-old-money-tiktok.html
1•paulpauper•7m ago•0 comments

Web Augmenter – Reshape any website with one sentence

https://harishsg993010.github.io/web-augmenter/
2•fidelisakilan•9m ago•2 comments

Acclaimed Physicist and Daughter Are Burying Tiny Nuclear Reactors Underground

https://www.forbes.com/sites/christopherhelman/2026/04/02/acclaimed-physicist-and-his-daughter-ar...
1•Olshansky•9m ago•0 comments

Industrial Policy for the Intelligence Age: Ideas to Keep People First [pdf]

https://cdn.openai.com/pdf/561e7512-253e-424b-9734-ef4098440601/Industrial%20Policy%20for%20the%2...
2•ryan_j_naughton•10m ago•0 comments

Exhaustion vs. Burnout

https://olshansky.info/thoughts/2026-04-06-exhaustion-vs-burnout
1•Olshansky•10m ago•0 comments

India Starts Advanced Reactor That Makes More Fuel Than It Uses

https://twitter.com/narendramodi/status/2041187159655305350
2•dsr12•11m ago•0 comments

Uncomplicating PostgreSQL management in Kubernetes- free webinar 4/14 11AM EST

https://us02web.zoom.us/webinar/register/WN_G1FtqK8fSe-DF3asizQ0xw
1•pgedge_postgres•11m ago•0 comments

Bing, not Google, shapes which brands ChatGPT recommends

https://searchengineland.com/bing-ranking-chatgpt-visibility-study-473680
1•speckx•11m ago•0 comments

Show HN: ComputeLock – Insurance to reduce unpredictable compute spend

https://computelock.com/
2•godelescherbach•11m ago•1 comments

Billions in March Madness betting pool is fodder for research

https://phys.org/news/2026-03-billions-madness-pool-fodder.html
1•PaulHoule•12m ago•0 comments

Angelfire and Tripod, Gone

https://menga.net/angelfire-and-tripod-gone
2•LaSombra•12m ago•0 comments

The hotel where Agatha Christie wrote a classic [video]

https://www.bbc.com/reel/video/p0n3cpm6/watch
1•koolhead17•14m ago•0 comments

Laws of Developer Experience for Content Management Systems

https://www.knut.fyi/blog/2026-04-04/the-10-laws-of-developer-experience-for-content-management-s...
2•kmelve•15m ago•0 comments

Ask HN: Would you use a local-first desktop app for AWS and Terraform workflows?

2•borakostem•16m ago•1 comments

The Cloudflare Bug That Took Down the Internet

https://onlytech.boo/incident/the-cloudflare-bug-that-took-down-the-internet-mnn079uv
1•vednig•17m ago•0 comments

Show HN: DockerTab – Manage your Docker containers from iOS and Android

https://dockertab.app
2•coffee0748•18m ago•1 comments

Nothing Is Real, or Anything Can Be

https://velagao.substack.com/p/nothing-is-real-or-anything-can-be
2•velapod•19m ago•0 comments

P – Formal Modeling and Analysis of Distributed Systems from AWS

https://p-org.github.io/P/
1•polskibus•23m ago•0 comments

Void: A physics-aware video editing tool by Netflix

https://void-model.github.io/
1•Otterly99•23m ago•0 comments

The AI writing witchhunt is pointless

https://www.joanwestenberg.com/the-ai-writing-witchhunt-is-pointless/
1•speckx•24m ago•0 comments

Show HN: Moon simulator game, ray-casting

https://mooncraft2000.com
4•JKCalhoun•25m ago•0 comments

USB-Clawd and a Mini Fax Machine

https://benbyfax.substack.com/p/clawd-minifax
2•meetpateltech•26m ago•0 comments