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

Postgres – Asynchronous Commits

https://www.postgresql.org/docs/current/wal-async-commit.html
1•Brysonbw•50s ago•0 comments

AI inference infrastructure built on small and nano models

https://www.youtube.com/watch?v=C-6Zo1JvZkE
1•its_maddy_a•1m ago•1 comments

The ultimate guide to RL environments: building and scaling them in the LLM era

https://huggingface.co/spaces/AdithyaSK/rl-environments-guide
2•kashifr•1m ago•0 comments

It's official: Utah is the U.S. state closest to banning VPNs

https://tech.yahoo.com/vpn/article/its-official-utah-is-the-us-state-closest-to-banning-vpns-1535...
3•giantg2•1m ago•0 comments

Show HN: Claude-smart – Make Claude Code self-improve from every session

https://github.com/ReflexioAI/claude-smart
1•yilu331•2m ago•0 comments

LLM-test-kit – Test consistency, latency, cost and behavior of LLM apps

https://github.com/muskanjoshi01/llm-test-kit
1•muskanjo•3m ago•0 comments

Notes from Optimizing CPU-Bound Go Hot Paths

https://blog.andr2i.com/posts/2026-05-03-notes-from-optimizing-cpu-bound-go-hot-paths
1•molecularman•3m ago•0 comments

Show HN: I used accounting controls to build a governed AI coding tool

https://github.com/CodeMaestro-AI/CodeMaestro
1•lw1981•4m ago•0 comments

I love AI assistants but objectively they're still terrible. (A Lefos review)

https://techstackups.com/articles/lefos-earendil-review/
1•sixhobbits•5m ago•0 comments

Show HN: Memopt: Open-source GPU memory fabric for AI infrastructure

https://github.com/basnetlachu/memopt
1•lachu_536•5m ago•0 comments

HN: AquaLens – Real-time NOAA and GEBCO ocean dashboard for vessel operations

https://research-vessel-ops-4.emergent.host
1•stefymaestro•6m ago•0 comments

AI won't speed up software delivery – nothing has

https://thenewstack.io/feedback-driven-ai-adoption/
1•Brajeshwar•6m ago•0 comments

The Great Pacific Garbage Patch could be part of a hidden problem

https://www.cnn.com/2026/05/04/climate/microplastics-nanoplastics-air-global-warming
1•Tomte•7m ago•0 comments

Whetstone: AI agents don't lack capability, they lack process

https://ilia.ws/blog/ai-agents-dont-lack-capability-they-lack-process
2•ilia-a•7m ago•0 comments

Charting the AI perception gap between experts and the public

https://link.springer.com/article/10.1007/s00146-026-03023-8
1•i7l•8m ago•0 comments

Gmail Storage Full? Find and Delete Large Emails to Fix It Fast

https://clearmailapp.com/blog/gmail-storage-full-delete-large-emails/
1•raghukumar•8m ago•0 comments

When merchandise crowds the aisle and carts crowd the shopper: Effects on sales

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0346492
1•ndr42•8m ago•0 comments

Airborne Microplastics May Be Warming the Planet

https://e360.yale.edu/digest/airborne-microplastics-climate-change
3•speckx•9m ago•0 comments

Practical Package Security: The Unofficial Guide

https://www.wiz.io/blog/practical-package-security-the-unofficial-guide
2•yarapavan•9m ago•0 comments

Show HN: Pagoda – a Tichu ML Powered game trained on human games

https://liqpil.com/pagoda/
1•pcrausaz•11m ago•0 comments

Show HN: I made a local proxy for AI tool calls to keep my API keys safe

https://github.com/factorly-dev/factorly
2•jsherer•11m ago•0 comments

Pricing Is a Product Surface

https://arnon.dk/pricing-is-a-product-surface/
1•arnon•13m ago•0 comments

Ask HN: Is manual review the only way to govern the AI-generated code?

1•dicksent•14m ago•0 comments

Coinbase lays off 14% of staff

https://www.marketwatch.com/story/coinbase-will-lay-off-14-of-its-staff-as-ai-spurs-a-new-way-of-...
2•spikepuppet•14m ago•0 comments

AI Agents That Builds Themselves

https://twitter.com/joaomdmoura/status/2049562041007194275
1•gmays•15m ago•0 comments

Mnemara – Fix Claude agent loops and drift with a self-monitoring role doc

https://github.com/mekickdemons-creator/mnemara
1•Mekickdemons•15m ago•1 comments

British mathematician hands OpenClaw agent a credit card

https://www.theregister.com/2026/05/05/british_mathematician_tinkers_with_openclaw/
2•beardyw•16m ago•0 comments

AgentOS: A portable open-source operating system for agents

https://github.com/rivet-dev/agent-os
1•yakkomajuri•16m ago•0 comments

ClearlyDefined: A Three-Year Roadmap for Sustainability and Growth

https://opensource.org/blog/clearlydefined-a-three-year-roadmap-for-sustainability-and-growth
1•Tomte•17m ago•0 comments

Apple Eyes Intel and Samsung as Backup US Chipmakers

https://www.macrumors.com/2026/05/05/apple-talks-intel-samsung-us-chipmakers/
1•mgh2•18m ago•0 comments