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

Value Investing Is Struggling to Remain Relevant (2020)

https://www.economist.com/briefing/2020/11/14/value-investing-is-struggling-to-remain-relevant
1•jcartw•1m ago•0 comments

Next-Gen Big Data Dashboards – For All Industries

https://dashtera.com/
1•abhimattoria•3m ago•1 comments

The Prime IDs of Hacker News

https://dosaygo-studio.github.io/prime-news/?filter=fermat&p=1
1•keepamovin•4m ago•0 comments

Decades-old mystery solved as scientists identify what makes ice slippery

https://www.thebrighterside.news/post/decades-old-mystery-solved-as-scientists-identify-what-real...
1•thunderbong•5m ago•0 comments

Meta to acquire Chinese startup Manus to boost advanced AI features

https://www.reuters.com/world/china/meta-acquire-chinese-startup-manus-boost-advanced-ai-features...
2•testrun•6m ago•0 comments

The human fingerprint of medicinal plant species diversity

https://www.cell.com/current-biology/fulltext/S0960-9822(25)01250-3
2•PaulHoule•7m ago•0 comments

Compile JavaScript to C with Static Hermes

https://devongovett.me/blog/static-hermes.html
1•rexpan•9m ago•0 comments

Transform Your Data Effortlessly

https://documain.ai/
1•abahjat•10m ago•1 comments

Ensayo Sobre El Dolor

https://elidiolatorrelagares.substack.com/p/ensayo-sobre-el-dolor-lluvia-pequena
2•Blakevox•13m ago•0 comments

Converting between geographic and geocentric latitude

https://www.johndcook.com/blog/2025/12/29/geographic-vs-geocentric-latitude/
2•ibobev•13m ago•0 comments

Freedom from Incompetence

https://lemire.me/blog/2025/12/29/freedom-from-incompetence/
2•ibobev•14m ago•0 comments

Pharmaicy

https://www.pharmaicy.store
1•erhuve•16m ago•0 comments

El Yo Infiltrado

https://elidiolatorrelagares.substack.com/p/el-yo-infiltrado-hegemonia-escision
2•Blakevox•16m ago•0 comments

U-Boot Has Joined Software Freedom Conservancy

https://sfconservancy.org/news/2025/dec/29/u-boot-has-joined-sfc/
3•pabs3•16m ago•0 comments

Seed Factories and Self-Improving Systems

https://en.wikibooks.org/wiki/Seed_Factories
2•o4c•18m ago•0 comments

Ask HN: Why did Python fail to evolve?

3•fud101•21m ago•0 comments

State of GPU Hardware (End of Year 2025)

https://asawicki.info/articles/state_of_gpu_hardware_2025.php
2•ibobev•22m ago•0 comments

Why I'm Leaving Harvard

https://www.compactmag.com/article/why-im-leaving-harvard/
3•typeofhuman•23m ago•1 comments

Sam Altman offers $555k salary to fill most daunting role in AI

https://www.theguardian.com/technology/2025/dec/29/sam-altman-openai-job-search-ai-harms
3•devonnull•27m ago•1 comments

How can they claim millions in ARR under a year?

1•haebom•32m ago•0 comments

Innovative ways the world used AI in 2025

https://restofworld.org/2025/ai-innovation-global-2025/
4•billybuckwheat•33m ago•0 comments

From Zero to NVMM hypervisor for NetBSD (2019)

https://blog.netbsd.org/tnf/entry/from_zero_to_nvmm
1•transpute•38m ago•0 comments

Tell HN: No Scrollbar on Google Gemini UI

1•albert_e•40m ago•0 comments

US Justice Department using fraud law to target companies on DEI

https://www.reuters.com/sustainability/society-equity/us-justice-department-using-fraud-law-targe...
3•mandeepj•43m ago•0 comments

1959 Michigan Mid-Century Modern House

https://www.apartmenttherapy.com/1959-michigan-mid-century-modern-house-tour-photos-36985773
1•avonmach•44m ago•0 comments

Show HN: Min. Calendar – Monthly business hours image maker for small shops

https://3min.llll-ll.com
1•kako-jun•44m ago•0 comments

AI Chatbots Linked to Psychosis, Say Doctors

https://www.wsj.com/tech/ai/ai-chatbot-psychosis-link-1abf9d57
3•1vuio0pswjnm7•47m ago•2 comments

Illustrating Motion Through DLP Photography

https://www.cs.cmu.edu/~koppal/procams%20webpage/motion_illustrations.html
1•joebig•47m ago•0 comments

Michael Burry Bets He Isn't Too Early to Go Against the AI Juggernaut

https://www.wsj.com/finance/stocks/michael-burry-bets-he-isnt-too-early-to-go-against-the-ai-jugg...
2•1vuio0pswjnm7•51m ago•0 comments

I gave Claude Code the ability to run its own radio show 24/7

https://www.khaledeltokhy.com/claude-show
2•eltokh7•51m ago•6 comments