frontpage.
newsnewestaskshowjobs

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!

Show HN: I built a free Open Graph image designer

https://mosaicora.io/tools/og-image-designer
1•d-atanasov•1m ago•0 comments

Prediction Markets Need Prestige Signals to Fulfill Their Mission

https://www.richardhanania.com/p/prediction-markets-need-prestige
1•paulpauper•2m ago•0 comments

Book Review: The Epic of Gilgamesh

https://www.astralcodexten.com/p/your-book-review-the-epic-of-gilgamesh
1•paulpauper•3m ago•0 comments

Report 08/2026: Collision between two passenger trains near Talerddig

https://www.gov.uk/raib-reports/report-08-slash-2026-collision-between-two-passenger-trains-near-...
1•Jimmc414•6m ago•2 comments

From MIT: AI financial advice is surprisingly good

https://mitsloan.mit.edu/ideas-made-to-matter/ai-financial-advice-surprisingly-good-especially-if...
6•foxtrot8672•6m ago•1 comments

CSB Releases Bio-Lab Conyers Final Investigation Report

https://www.csb.gov/csb-releases-bio-lab-conyers-final-investigation-report/
1•Jimmc414•9m ago•0 comments

RFC 9987: Secure Shell (SSH) Agent Protocol

https://www.rfc-editor.org/rfc/rfc9987.html
2•Jimmc414•9m ago•0 comments

Stateless MCP has recaptured my interest

https://simonwillison.net/2026/Jul/31/stateless-mcp/
3•swyx•9m ago•0 comments

Show HN: Pronto – real‑time wire for AI agents (70k+ feeds connected)

https://pronto.stream/
1•MomohNobert•10m ago•0 comments

Drug reverses autism-like brain changes in adult mice within hours

https://www.uclahealth.org/news/release/drug-reverses-autism-like-brain-changes-adult-mice-within
1•gmays•11m ago•0 comments

Oil Droplets Remodel Themselves, Swallow Their Surroundings Like Living Cells

https://www.nyu.edu/about/news-publications/news/2026/july/oil-droplets-remodel-themselves.html?c...
2•geox•14m ago•0 comments

Was AI Responsible for Finding the Coldcard Security Flaw?

https://cryptonews.net/news/security/33234551/
1•paulpauper•14m ago•1 comments

A discarded SpaceX rocket is on a high-speed collision course with the moon

https://phys.org/news/2026-07-discarded-spacex-rocket-high-collision.html
1•bookmtn•20m ago•0 comments

AT&T CEO Says He Can't Deploy Robocall Blockers Without FCC Approval. He's Wrong (2016)

https://web.archive.org/web/20160602030339/http://consumerist.com/2016/06/01/att-ceo-says-he-cant...
2•dredmorbius•22m ago•1 comments

Show HN: Created a Drink Journal App, Drinqly

https://drinqly.io/welcome
1•haileivera•22m ago•0 comments

Docs in 2026: Feed the machine, then guide the humans

https://passo.uno/tech-writing-role-split/
1•theletterf•27m ago•0 comments

Karakeep Release 0.33.1

https://github.com/karakeep-app/karakeep/releases/tag/v0.33.1
1•toomuchtodo•28m ago•1 comments

Rcarmo/umcp: A micro MCP core (asyncio and synchronous)

https://github.com/rcarmo/umcp
1•rcarmo•28m ago•0 comments

Laravel LSP, Pest 5, Laracon US 2026 – A Day with Laravel #062

https://a-day-with-laravel.happyto.dev/p/laravel-lsp-pest-5-laracon-us-2026-a-day-with-laravel-062
1•happytodev•29m ago•0 comments

I am building a cool OS like simulator based on Corgis

https://github.com/ILikeLinux123/Corgi-OS
2•Linuxisgood•30m ago•0 comments

Atom is better than RSS, in ways that matter

https://chrismorgan.info/atom%3Erss
5•frizlab•31m ago•0 comments

2025 Review of Notorious Markets for Counterfeiting and Piracy [pdf]

https://ustr.gov/sites/default/files/files/Press/Releases/2026/2025%20Notorious%20Markets%20List%...
2•zebreus•34m ago•0 comments

ModelExpress: Distributing Model Artifacts at the Speed of Light

https://developer.nvidia.com/blog/modelexpress-distributing-model-artifacts-at-the-speed-of-light/
2•gmays•38m ago•0 comments

Conor Oberst Survived Teenage Rock Stardom

https://www.nytimes.com/2026/07/24/arts/music/conor-oberst-bright-eyes-interview-popcast.html
1•bookofjoe•38m ago•1 comments

Show HN: Evidence-to-Skill – a gate between untrusted sources and agent skills

https://github.com/Sanexxxx777/evidence-to-skill
2•Aleksandr_NFA•43m ago•0 comments

The Beelink Mate Pro

https://taoofmac.com/space/reviews/2026/08/01/2130
1•rcarmo•45m ago•0 comments

Presigned URLs are technically a security vuln

https://www.tigrisdata.com/blog/presigned-urls-security-vuln/
1•ErenayDev•47m ago•1 comments

Grace

https://rodrigoalvesvieira.com/2026/08/01/grace
1•ravieira•48m ago•0 comments

Busy Beaver Holdouts Lists

https://wiki.bbchallenge.org/wiki/Holdouts_lists
2•frozenseven•48m ago•0 comments

Harry Potter and the Chamber of Secrets

https://en.wikipedia.org/wiki/Harry_Potter_and_the_Chamber_of_Secrets
1•chistev•48m ago•0 comments