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

Slides: Terminal based Markdown presentation tool

https://github.com/maaslalani/slides
1•gregsadetsky•3m ago•0 comments

Australia's social media ban in chaos as youths flock to Chinese alternatives

https://www.gbnews.com/news/world/australia-social-media-ban-under-16s-china
1•delichon•3m ago•0 comments

Show HN: Track prices and stock on products across 9 major retailers

https://takemymoney.io
2•myfrontpocket•9m ago•2 comments

The Dark and Predatory World of Crypto Casinos

https://www.nytimes.com/interactive/2025/12/09/us/crypto-casinos-gambling-streamers.html
2•Townley•11m ago•0 comments

Show HN: Create multi-voice podcasts with VibeVoice

https://github.com/skorotkiewicz/vibevoice-podcast
1•modinfo•15m ago•0 comments

Why Some AI SaaS Ideas Reach $100M

1•alexdsouzatopg•19m ago•0 comments

Show HN: Rankiwiki – voting-based rankings for small groups

https://rankiwiki.com
1•rankiwiki•20m ago•1 comments

Fop – Filter Orderer and Preener (Rust Edition) for Adblock

https://github.com/ryanbr/fop-rs
1•mp3geek•22m ago•1 comments

Read Something Wonderful

https://readsomethingwonderful.com/
2•snorbleck•23m ago•0 comments

The Hardest Part of Starting a Startup Isn't Code, It Is This

2•suhaspatil101•24m ago•0 comments

Why Self-Driving Cars Still Don't Exist

https://dan.bulwinkle.net/blog/full-self-driving-cars/
1•pilingual•24m ago•0 comments

The Whole App Is a Blob

https://drobinin.com/posts/the-whole-app-is-a-blob/
3•valzevul•29m ago•0 comments

Vibe Coding as 2025 word of the year in Collins dictionary

https://en.wikipedia.org/wiki/Word_of_the_year
1•py4•30m ago•0 comments

Why Florida Crocs Are Thriving Outside a Nuclear Power Plant

https://www.smithsonianmag.com/smart-news/florida-crocs-are-thriving-outside-nuclear-power-plant-...
1•thunderbong•31m ago•0 comments

Broadcom reveals its mystery $10B customer is Anthropic

https://www.cnbc.com/2025/12/11/broadcom-reveals-its-mystery-10-billion-customer-is-anthropic.html
3•indigodaddy•32m ago•0 comments

Show HN: PicPick – AI-powered photo curator using CLIP and face recognition

https://github.com/hardiksondagar/picpick
2•hardiksondagar•35m ago•0 comments

Arborium: Tree-sitter code highlighting with Native and WASM targets

https://arborium.bearcove.eu/
6•zdw•41m ago•0 comments

Show HN: A systems language with runtime reflection and no GC

https://xxml-language.com
1•thatsoulyguy•41m ago•0 comments

Unscii

http://viznut.fi/unscii/
2•Levitating•43m ago•0 comments

Electric vehicle owners face new pay-per-mile tax. What about the environmental?

https://phys.org/news/2025-11-electric-vehicle-owners-pay-mile.html
1•PaulHoule•44m ago•0 comments

Director Rob Reiner dead at 78

https://www.hollywoodreporter.com/movies/movie-news/rob-reiner-dead-harry-met-sally-princess-brid...
3•RickJWagner•45m ago•1 comments

The Generative AI Industry Is Fraudulent, Immoral and Dangerous

https://dianne.skoll.ca/writings/ai-is-bad/
7•pabs3•46m ago•1 comments

The Synchronization Tax

https://www.symmetrybroken.com/the-synchronization-tax/
2•riemannzeta•46m ago•0 comments

Niantic Spatial, Inc

https://www.nianticspatial.com/
1•salkahfi•47m ago•0 comments

How the lives of India's poorest improved in the last 10 years

https://timesofindia.indiatimes.com/toi-plus/business-economy/how-the-lives-of-indias-poorest-imp...
1•ridiculous_leke•47m ago•1 comments

Dark mode is essential, not a design preference

https://seemeplease.com/blog/dark-mode
5•SeeMePlease•52m ago•3 comments

Analog Calendar with LEDs and Switches

https://www.friendlywire.com/projects/analog-calendar/
1•zdw•53m ago•0 comments

Memories of Burger Becky

https://blitter.net/blog/2025/12/14/memories-of-burger-becky/
1•zdw•55m ago•0 comments

Habits That Make a Great Programmer

https://arpitbhayani.me/blogs/better-programmer/
2•daviddada•55m ago•0 comments

Show HN: GPT Prompt from Searchbar – ChatGPT directly from the browser omnibox

https://github.com/ParasKoundal/GPTSearch
1•alohaTool•1h ago•0 comments