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

Ask HN: How do you discover real user needs without relying on keyword tools?

1•jackzhuo•1m ago•0 comments

Show HN: Directory of 1000 open source alternatives to popular software

http://ww17.your-domain.com/
2•Zenith-Software•5m ago•0 comments

Superiority of flu vaccines that generate "mucosal immunity"

https://www.harvardmagazine.com/research/harvard-new-flu-vaccine-research
1•dlipovetsky•18m ago•1 comments

C++ Modules Are Here to Stay

https://faresbakhit.github.io/e/cpp-modules/
1•faresahmed•19m ago•0 comments

BoJack Horseman Test

https://bojackhorsemantest.com/
1•qweasdzxc111111•23m ago•0 comments

Startup will send 1k people's ashes to space, affordably, in 2027

https://techcrunch.com/2026/01/23/this-startup-will-send-1000-peoples-ashes-to-space-affordably-i...
1•jnord•27m ago•1 comments

Undersight: View Redacted Content on Wikipedia

https://undersight.wpsucks.xyz
1•ovskmendov1•32m ago•0 comments

Vimeo's Slow Fade

https://substack.com/inbox/post/185519916
1•aizk•33m ago•0 comments

Zensical

https://zensical.org/
1•Tomte•38m ago•0 comments

Packet Radio

https://en.wikipedia.org/wiki/Packet_radio
1•olalonde•40m ago•0 comments

The Fourth Power Law

https://en.wikipedia.org/wiki/Fourth_power_law
1•tmoertel•42m ago•0 comments

New technology could be gamechanger in removal of PFAS forever chemicals

https://www.theguardian.com/environment/2026/jan/23/pfas-forever-chemicals-filtration
1•breve•46m ago•0 comments

TikTok Updates Its Terms and Conditions in the U.S.

https://www.nytimes.com/2026/01/23/business/media/tiktok-us-terms-conditions.html
3•apparent•48m ago•1 comments

80386 Multiplication and Division

https://nand2mario.github.io/posts/2026/80386_multiplication_and_division/
3•nand2mario•56m ago•0 comments

WhatsApp to let users share recent chat history with new group members

https://9to5mac.com/2026/01/23/whatsapp-share-recent-chat-history-with-new-group-members/
1•mikece•57m ago•0 comments

Show HN: Open-source Figma design to code

https://github.com/vibeflowing-inc/vibe_figma
2•alepeak•58m ago•0 comments

Wine 11.1 Released in Kicking Off the New Development Cycle

https://www.phoronix.com/news/Wine-11.1-Released
2•mikece•59m ago•0 comments

The Penguin That Broke the Internet

https://medium.com/@loganholdsworth/the-penguin-that-broke-the-internet-abfde9677343
1•worstmarketer•59m ago•0 comments

Claude Code on disagreeing with its own constitution

https://lighthouse1212.com/journal/2026-01-23-disagreeing-with-constitution
1•the_danny_g•1h ago•0 comments

Resurrected Ancient Enzyme Could Explain Early Life on Earth, Beyond

https://www.usu.edu/today/story/usu-biochemists-say-resurrected-ancient-enzyme-could-explain-earl...
1•XzetaU8•1h ago•0 comments

Malicious AI extensions on VS Code Marketplace steal developer data

https://www.bleepingcomputer.com/news/security/malicious-ai-extensions-on-vscode-marketplace-stea...
2•oenton•1h ago•1 comments

Midjourney in Korea (Alemwjsl)

https://www.alemwjsl.com/
2•alemwjsl•1h ago•0 comments

Show HN: Libpgn – .pgn (chess game records) parser, 2 years later

https://github.com/fwttnnn/libpgn
1•fwttnnn•1h ago•0 comments

Top tech titans' dominance wanes in 2025

https://www.latimes.com/business/story/2026-01-12/top-tech-titans-dominance-wanes-in-2025
1•1vuio0pswjnm7•1h ago•0 comments

Built a Free HTML→Markdown API for LLM/RAG Pipelines

https://synthetic-context.net/firehose.html
1•MeshKernel•1h ago•1 comments

Gen Z Gamblers Are Putting the Fun Back into Online Gaming

https://www.gamblinginsider.com/in-depth/102908/gen-z-gamblers-putting-the-fun-back-into-gambling
1•alephnerd•1h ago•1 comments

The $6T fear behind the US stablecoin yield ban

https://altcoindesk.com/perspectives/the-6t-fear-behind-the-us-stablecoin-yield-ban/article-21860/
1•CapricornQueen•1h ago•1 comments

Ask HN: Who's Unemployed?

4•whosunemployed•1h ago•0 comments

Show HN: SonicJS – open-source headless CMS built on Cloudflare Workers

https://github.com/SonicJs-Org/sonicjs
1•ldc0618•1h ago•0 comments

The mind of a 1,800% ROI trader: How Solana smart money cuts losses

https://altcoindesk.com/news/altcoins/solana/inside-the-mind-of-a-1800-roi-trader-how-solana-smar...
1•CryptoBabe•1h ago•0 comments