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!

Show HN: I made a $25 lifetime Screen Studio alternative

https://debut.sh/
1•ben_hrris•4m ago•0 comments

The Left's Deafening Silence on Iran

https://www.thefp.com/p/the-lefts-deafening-silence-on-iran
2•mhb•6m ago•1 comments

Are Atomic Operations Better Than a Mutex? It Depends

https://madflojo.dev/posts/are-atomic-operations-faster-than-a-mutex/
1•madflojo•6m ago•0 comments

They Write the Right Stuff

https://www.fastcompany.com/28121/they-write-right-stuff
1•robbs•10m ago•1 comments

A rare interview with the elusive Agatha Christie

https://www.bbc.com/culture/article/20260109-a-rare-interview-with-the-elusive-agatha-christie
1•1659447091•11m ago•0 comments

Be Wary of Digital Deskilling

https://calnewport.com/be-wary-of-digital-deskilling/
1•monobot12•12m ago•0 comments

Show HN: Yoth-yoth – your all-in-one workspace

https://yoth-yoth.com/hello
2•volokh•17m ago•0 comments

Data is not available upon request

https://osf.io/preprints/psyarxiv/jbu9r_v3
1•sien•19m ago•0 comments

I Graduated from Survival Mode

https://www.fieldnotes.nautilus.quest/p/i-graduated-from-survival-mode
1•zeldapoem•19m ago•0 comments

The Pentagon used a secret aircraft painted to look like a civilian plane

https://www.nytimes.com/2026/01/12/us/politics/us-boat-attacks-law.html
1•perihelions•21m ago•2 comments

Verizon to stop automatic unlocking of phones as FCC ends 60-day unlock rule

https://arstechnica.com/tech-policy/2026/01/fcc-lets-verizon-lock-phones-for-longer-making-it-har...
2•DefineOutside•27m ago•0 comments

A 'Holy Grail' Sleep Apnea Pill Could Be on the Market Next Year

https://www.forbes.com/sites/amyfeldman/2026/01/12/a-holy-grail-sleep-apnea-pill-could-be-on-the-...
2•cebert•27m ago•1 comments

Great code doesn't matter if you can't sell it

https://platformtoolsmith.com/blog/senior-engineer-part-3/
2•sharp-dev•27m ago•1 comments

FCC revises Verizon phone unlocking rules after significant fraud issues

https://www.reuters.com/business/media-telecom/fcc-revises-verizon-phone-unlocking-rules-after-si...
2•petethomas•27m ago•0 comments

Canada's Scaling Problem Isn't Compute, It's Coastlines

https://zeitgeistml.substack.com/p/canadas-scaling-problem-isnt-compute
2•sjosh003•28m ago•0 comments

Show HN: Minimal type-safe language for software architecture

https://github.com/tesserato/Tect
2•tesserato•28m ago•0 comments

Bug 55867 – Doesn't know how to tag XI_TRACKBALL

https://bugs.freedesktop.org/show_bug.cgi?__goaway_challenge=meta-refresh&__goaway_id=bdd4239d39d...
1•rballpug•33m ago•3 comments

From Starbase: Pete Hegseth on Defense Innovation Reform [video]

https://www.youtube.com/watch?v=MlRm9tCT0Ug
1•0xWTF•36m ago•1 comments

Meta shakes up its review system with 'stronger rewards for top performers'

https://www.businessinsider.com/meta-performance-review-system-stronger-rewards-top-performers-20...
2•ryandrake•42m ago•0 comments

Paramount Wants Warner to Show Its Work

https://www.bloomberg.com/opinion/newsletters/2026-01-12/paramount-wants-to-warner-to-show-its-work
1•feross•43m ago•0 comments

Turning Agents into Learning Machines

https://twitter.com/ashpreetbedi/status/2010781132418064750
1•bedify•45m ago•0 comments

DJT Says Microsoft to Make Changes to Curb Data Center Power Costs for Americans

https://money.usnews.com/investing/news/articles/2026-01-12/trump-says-microsoft-to-make-changes-...
1•schmuckonwheels•52m ago•1 comments

Living with LLMs Everywhere – How Ambient LLMs Negate Security Policy

1•djwide•54m ago•0 comments

Who Companies Call When They Want to Become a Bank

https://www.bloomberg.com/news/articles/2026-01-12/fintechs-call-klaros-group-when-they-want-bank...
1•petethomas•58m ago•0 comments

Apple: You (Still) Don't Understand the Vision Pro

https://stratechery.com/2026/apple-you-still-dont-understand-the-vision-pro/
1•feross•58m ago•1 comments

Show HN: Idlen.io ($IDL), the first privacy-first AI ad network is launched

https://www.idlen.io/fr/
4•paulefizelier•59m ago•1 comments

Ask HN: How are you using AI to self-augment?

1•almostlikemagic•1h ago•0 comments

Show HN: I built a tool to calculate the True Cost of Ownership (TCO) for yachts

https://yachtvaluereport.com/
2•todaycompanies•1h ago•2 comments

Sherlock MCP server so you can use AI to do OSI research

https://github.com/Burnsedia/sherlock-mcp
2•Burnsedia•1h ago•0 comments

Picao AI Landing Page

https://picaoai.com
2•Kathrine_Oduah•1h ago•0 comments