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•1y 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!

GitHubDesktopPlus: Fork of GitHub Desktop to work with alt.providers

https://github.com/pol-rivero/github-desktop-plus
1•xeonmc•34s ago•0 comments

Soaring stocks created 2M new millionaires around the world last year

https://www.cnbc.com/2026/06/04/stocks-new-millionaires.html
1•ajay-d•2m ago•0 comments

Show HN: FirstDraft – AI workers that claim Jira tickets and open PRs

https://firstdraft.run
1•gamerdrome•2m ago•0 comments

Exploring Ruby Algorithms for Fibonacci Numbers

https://www.rorvswild.com/blog/2025/fibonacci-ruby-algorithms
1•thunderbong•4m ago•0 comments

Tell HN: Our knowledge never was the limit

1•franze•4m ago•0 comments

SpaceX investor roadshow presentation [pdf]

https://content.spacex.com/cms-assets/assets/SpaceX%20IPO%20Roadshow.pdf
1•frasermarlow•6m ago•1 comments

Show HN: Revaiso – AI writing in Google Docs as native suggestions

https://chromewebstore.google.com/detail/revaiso/pgadnhlihdcmplleikbcmippnmfpfbin
1•roykishony•7m ago•0 comments

End of CHU: Canada's Official Shortwave Time Signal Goes Silent in 2026

https://radio-hobbyist.com/canada-chu-time-signal-shutdown-2026/
3•7402•9m ago•0 comments

Palantir to manage UK firearms, explosives, and poisons licensing

https://www.theregister.com/databases/2026/06/04/palantir-wins-9m-contract-to-run-uk-firearms-lic...
2•logickkk1•12m ago•0 comments

Porting Wasmer Django backend to Rust improved the infra usage by 90%

https://wasmer.io/posts/ported-wasmer-backend-django-to-rust
1•syrusakbary•12m ago•0 comments

Bel spec guide interleaved with its source code

https://github.com/pmc99/pmc99.github.io
1•pmc99•16m ago•0 comments

Why Gamers Are Drawn to High-Risk, High-Reward Mechanics

https://nichegamer.com/why-gamers-are-drawn-to-high-risk-high-reward-mechanics/
1•HelloUsername•16m ago•0 comments

Cloud-optimizing the GOES-16 satellite data archive without copying data

https://www.earthmover.io/blog/virtual-zarr/
7•tomnicholas1•17m ago•1 comments

The Effective Sample Size

https://alex.smola.org/posts/40-effective-sample-size/
1•jxmorris12•20m ago•0 comments

Can Postgres Queues Scale?

https://www.dbos.dev/blog/making-postgres-queues-scale
2•KraftyOne•20m ago•1 comments

Nintendo announces new Switch 2 model with removable battery In the EU

https://www.nintendo.com/en-gb/Corporate/Consumer-Information/Compliance-with-EU-Directives-and-R...
3•HelloUsername•20m ago•0 comments

See, Act, Correct: three levers for working with a code agent

https://blog.owulveryck.info/2026/06/04/see-act-correct-three-levers-for-working-with-a-code-agen...
1•owulveryck•20m ago•0 comments

Show HN: Vlags, small vector flags. Less than 900 bytes each

https://vlags.com/
1•ryancanzo•22m ago•0 comments

Opensessions – A beautiful TMUX sidebar, no nonsense

https://github.com/Ataraxy-Labs/opensessions
1•rohanucla•22m ago•0 comments

Show HN: Apple's Unreleased Persona Body Animation Solver, Running on a Mac

https://gitlab.com/niallhorn/persona-coreik-simulatordemo
1•iheartbiggpus•23m ago•1 comments

Hays Code

https://en.wikipedia.org/wiki/Hays_Code
2•fidotron•24m ago•0 comments

Information Overload

https://disconnect.blog/information-overload/
2•cdrnsf•24m ago•1 comments

Immigrant Rights Lawyers File Lawsuit over Palantir's Elite

https://www.404media.co/immigrant-rights-lawyers-file-lawsuit-over-palantirs-elite/
1•cdrnsf•25m ago•0 comments

Multigres v0.1 Alpha: an operating system for Postgres

https://supabase.com/blog/multigres-v0-1-alpha
5•alex-reyss•27m ago•0 comments

A Desperate Plea for a Free Software Alternative to Aspera (2018)

https://www.ccdatalab.org/blog/a-desperate-plea-for-a-free-software-alternative-to-aspera
2•downbad_•29m ago•0 comments

BrickThink Launches to the Masses

https://www.brickthink.io/
1•workpage•30m ago•0 comments

'Touchy-feely' dark matter is having a moment

https://www.scientificamerican.com/article/touchy-feely-dark-matter-is-having-a-moment/
1•speckx•31m ago•0 comments

Review HN

https://reviewreply.pages.dev
1•Contentbase•31m ago•1 comments

Ladybird browser update (May 2026)

https://www.youtube.com/watch?v=GZoLy5e8y-4
4•poly2it•32m ago•0 comments

Some spinosaurs cried salty tears to thrive in brackish waters

https://www.science.org/content/article/some-spinosaurs-cried-salty-tears-thrive-brackish-waters
1•gmays•33m ago•0 comments