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!

Court orders Samsung to stop "spying" on Texans through its TVs

https://www.sammobile.com/news/court-orders-samsung-to-stop-spying-on-texans-through-its-tvs/
1•shscs911•15s ago•0 comments

Strengthening supply chain security: Preparing for the next malware campaign

https://github.blog/security/supply-chain-security/strengthening-supply-chain-security-preparing-...
1•OptionOfT•2m ago•0 comments

Reza Pahlavi: Iran is ready for a democratic transition

https://www.washingtonpost.com/opinions/2026/01/06/pahlavi-iran-democracy-transition-planning
1•agnosticmantis•2m ago•1 comments

NoCheat: Students Can't Cheat Anymore

2•Ahm_AK•3m ago•0 comments

Two Dead Economists on AI

https://oswalia.substack.com/p/two-dead-economists-on-ai
1•paulpauper•5m ago•1 comments

Hayek's Rules for AI

https://www.civitasoutlook.com/research/hayeks-rules-for-ai-459b38fc-552a-4f7c-981c-88065f6a151d
1•paulpauper•6m ago•0 comments

Building Startups That Last (2 of 5): The Two Necessary Company Traits to Win

https://www.sachinkamdar.com/building-startups-that-last-part-2-of-5-the-two-necessary-company-tr...
1•sak84•6m ago•1 comments

Codex reads files outside working directory without my permission

https://github.com/openai/codex/issues/5237
1•thomas34298•7m ago•0 comments

Amazon must face price gouging lawsuit, US judge rules

https://www.reuters.com/sustainability/boards-policy-regulation/amazon-must-face-price-gouging-la...
1•1vuio0pswjnm7•10m ago•0 comments

Show HN: Waveform Playlist v5 – Multi-track Web Audio editor (React and Tone.js)

https://naomiaro.github.io/waveform-playlist/
6•st0ryteller•11m ago•1 comments

P15 CoNetworkingSpace Accepts GNU Taler Payments in Swiss Francs

https://www.taler.net/en/news/2025-04.html
1•F3nd0•12m ago•0 comments

Who owns the memory? Who calls free?

https://lukefleed.xyz/posts/who-owns-the-memory-pt2/
1•fanf2•13m ago•0 comments

vpternlog: Signed Saturation

https://wunkolo.github.io/post/2025/12/vpternlog-signed-saturation/
1•jandrewrogers•13m ago•0 comments

Prompt optimization can outperform reinforcement learning on LLMs

https://sderosiaux.substack.com/p/prompt-optimization-can-outperform
1•chtefi•14m ago•0 comments

Show HN: GTKX – React for native GTK4 Linux apps, no Electron

https://eugeniodepalo.github.io/gtkx/
1•perpetuus•14m ago•0 comments

Digital microwaves show an example of good UI doing what you wanted

https://utcc.utoronto.ca/~cks/space/blog/tech/MicrowaveGoodUIBehavior
1•leephillips•16m ago•0 comments

Monitor New NYC Mayor – Monitormamdani.com

https://monitormamdani.com
1•bolcoto•16m ago•0 comments

Trump Moves to Ban Investors from Buying Single-Family Homes

https://www.wsj.com/economy/housing/trump-moves-to-ban-investors-from-buying-single-family-homes-...
6•JumpCrisscross•17m ago•0 comments

Intel's 'Panther Lake' Core Ultra Laptop Chips Are Ready for Prime Time

https://www.pcmag.com/news/intel-panther-lake-core-ultra-laptop-chips-details-ces-2026
1•taubek•17m ago•0 comments

Give it Up, Turn it Loose

https://thinkhuman.com/give-it-up-turn-it-loose/
1•jamesgill•18m ago•0 comments

Triton Extensions: a framework for developing and building compiler extensions

https://github.com/triton-lang/triton-ext
1•matt_d•19m ago•0 comments

Seized by US: why so much interest in a rusty tanker in the Atlantic?

https://www.theguardian.com/world/2026/jan/07/marinera-seized-tanker-atlantic-us-uk-russia
3•n1b0m•19m ago•0 comments

Show HN: I built a tool to stop pretending I understood research papers

https://papersplain.com
1•jjoe•19m ago•0 comments

The Psychology of Stranger Things

https://allaboutpsychology.substack.com/p/the-psychology-of-stranger-things
1•rendx•20m ago•0 comments

Show HN: FightHOAFines – An AI agent that reads bylaws to dispute HOA violations

https://fighthoafines.com/
1•todaycompanies•22m ago•1 comments

The Giant Hoax of Shadow of the Colossus [video]

https://www.youtube.com/watch?v=NvGZLMUx7AM
2•crtasm•23m ago•0 comments

OpenCore Legacy Patcher – Experience macOS just like before

https://github.com/dortania/OpenCore-Legacy-Patcher
1•petethomas•24m ago•0 comments

NPM to implement staged publishing after turbulent shift off classic tokens

https://socket.dev/blog/npm-to-implement-staged-publishing
7•feross•24m ago•0 comments

WikiFlix

https://wikiflix.toolforge.org/#/
1•Tomte•25m ago•0 comments

Fun with Algebraic Effects – From Toy Examples to Hardcaml Simulations

https://blog.janestreet.com/fun-with-algebraic-effects-hardcaml/
1•i_don_t_know•25m ago•0 comments