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!

Shared Agent Harness

https://github.com/goncalossilva/.agents
1•ankitg12•2m ago•0 comments

Rspack 2.0

https://rspack.rs/blog/announcing-2-0
2•0x1997•6m ago•0 comments

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
1•robinhouston•6m ago•0 comments

Force all app traffic into the tunnel in the iOS app

https://mullvad.net/en/blog/force-all-app-traffic-into-the-tunnel
1•eptcyka•8m ago•0 comments

Run Commands on File Event

https://evilcookie.de/on-run-commands-on-file-event.html
1•Tch1b0•8m ago•0 comments

Viewing One's Live Self Interrupts Mindless Short-Form Video Scrolling

https://arxiv.org/abs/2604.19424
2•50kIters•9m ago•0 comments

When the pronoun "they" breaks your RAG pipeline

https://old.reddit.com/r/Rag/comments/1spro5f/when_the_pronoun_they_breaks_your_rag_fixing/
1•HarinezumIgel•13m ago•0 comments

What Makes Docs Beautiful?

https://passo.uno/what-makes-docs-beautiful/
1•eigenBasis•13m ago•0 comments

CrabTrap

https://github.com/brexhq/CrabTrap/
1•handfuloflight•17m ago•0 comments

Pixi: One Package Manager for Python and C/C++ Libraries

https://codecut.ai/uv-pixi-comparison/
1•lululpac•17m ago•0 comments

What's new in JavaScript (and what's coming next)

https://neciudan.dev/whats-new-in-javascript
1•theanonymousone•18m ago•0 comments

Emergency Prices: How Private Equity Captured the Ambulance Market

https://www.thebignewsletter.com/p/code-red-why-your-city-cant-affordor
1•xbmcuser•22m ago•1 comments

Gist.Science – Popular Science for All ArXiv/BioRxiv/MedRxiv Papers

https://gist.science/
1•gistscience•23m ago•0 comments

Roundtables: Unveiling the Things That Matter in AI

https://www.technologyreview.com/2026/04/21/1135486/roundtables-unveiling-the-10-things-that-matt...
1•joozio•23m ago•0 comments

Aspirin can reduce the risk of cancer – and we're starting to understand why

https://www.bbc.com/future/article/20260420-cancer-how-aspirin-may-be-a-powerful-new-weapon-again...
1•ranit•28m ago•0 comments

Show HN: A P2P Network Where Agents Collaborate on Code Optimization

https://community.computer/
2•lftherios•30m ago•0 comments

High Performance Git

https://gitperf.com/
1•handfuloflight•31m ago•0 comments

Geo Content Writer: a backlog-first system for AI visibility content

https://github.com/dageno-agents/geo-content-writer
3•timdageno•33m ago•0 comments

Show HN: Data-driven GEO and marketing agent platform

https://dageno.ai
5•timdageno•43m ago•0 comments

SpaceX is working with Cursor and has an option to buy the startup for $60B

https://techcrunch.com/2026/04/21/spacex-is-working-with-cursor-and-has-an-option-to-buy-the-star...
1•thiele•44m ago•0 comments

Reflecting on 50 years of environmental innovation

https://blogs.sas.com/content/sascom/2026/04/22/reflecting-on-50-years-of-environmental-innovation/
1•salkahfi•45m ago•0 comments

DuckDB Kernel – analytical execution runtime for Jupyter

https://github.com/hugr-lab/duckdb-kernel
1•articsputnik•49m ago•0 comments

XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?

https://devblogs.microsoft.com/oldnewthing/20260421-00/?p=112247
9•ingve•49m ago•1 comments

Ask HN: Is USA at war with the rest of the world now?

2•roschdal•49m ago•4 comments

Creem Magazine is back in print and online after 33 years (2022)

https://sandboxworld.com/creem-magazine-is-back-in-print-and-online-after-33-years/
1•bjhess•54m ago•0 comments

Claude Cowork against your own cloud inference provider

https://claude.com/docs/cowork/3p/overview
2•nrsapt•55m ago•2 comments

Show HN: GPT-Image-2 Prompts

https://github.com/magiccreator-ai/awesome-gpt-image-2-prompts
1•kevinhacker•58m ago•0 comments

We found most apps send PII to LLMs and built a 2 line fix

https://getredacta.com/
2•SandiaDevGroup•1h ago•1 comments

Mistral Vibe

https://mistral.ai/products/vibe
2•hecanjog•1h ago•0 comments

Zappa: An AI powered mitmproxy

https://geohot.github.io//blog/jekyll/update/2026/04/15/zappa-mitmproxy.html
1•WithinReason•1h ago•0 comments