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

Garmin-health-data – Own your Garmin data analysis

https://github.com/diegoscarabelli/garmin-health-data
1•diegoscara•1m ago•1 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
1•softservo•3m ago•0 comments

This photo has no color – how Lippmann Plates work

https://www.youtube.com/watch?v=-DyrBDsKA5s
1•freetime2•5m ago•0 comments

Fraude.Codes

https://fraude.codes/
1•dvdlrg•7m ago•0 comments

A Sum of Errors

https://lyonhe.art/a-sum-of-errors/
2•8organicbits•16m ago•1 comments

Psychology of How Dogs Feel Your Love [video]

https://www.youtube.com/watch?v=JaRB1wEUpIo
2•gmays•19m ago•0 comments

Enabling privacy-preserving AI training on everyday devices

https://news.mit.edu/2026/enabling-privacy-preserving-ai-training-everyday-devices-0429
2•gnabgib•20m ago•0 comments

Newbrew: TUI for discovering recent Homebrew formula additions

https://github.com/matt-riley/newbrew
1•sea-gold•21m ago•0 comments

State of the AI Frontier, April 2026

https://gertlabs.com/blog/state-of-frontier-april-2026
5•gertlabs•21m ago•1 comments

Cardboard Hinge Masterclass [video]

https://www.youtube.com/watch?v=TOm8APHrVas
1•vpribish•22m ago•0 comments

Bringing Fusion onto Claude for Creative Work

https://aps.autodesk.com/blog/bringing-fusion-claude-creative-work
2•nsoonhui•24m ago•0 comments

CVE-2026-31431 (Copy Fail): Linux Kernel LPE

https://securityboulevard.com/2026/04/cve-2026-31431-copy-fail-linux-kernel-lpe/
2•dnemmers•26m ago•1 comments

What is Thundr? Omegle's replacement, warts and all

https://mashable.com/article/what-is-thundr-omegle-replacement-warts-and-all
1•gnabgib•32m ago•0 comments

Agentic Harness Engineering

https://arxiv.org/abs/2604.25850
3•Anon84•34m ago•0 comments

Israeli forces raid Global Sumud Flotilla boats in international waters

https://www.aljazeera.com/news/2026/4/29/israeli-military-speedboats-block-gaza-bound-aid-ship
4•0x54MUR41•44m ago•1 comments

Spite Apps: The Latte Larry's of Apps

https://sxp.studio/blog/spite-apps-the-latte-larrys-of-apps
1•tasoeur•44m ago•0 comments

Show HN: KeeWebX – KeePass that runs from a double-clicked HTML file

https://keewebx.app/app?demo=1
1•edxtz•50m ago•0 comments

AI Skills as loader spec, not prompts – why the architecture changes everything

https://internals.laxmena.com/p/what-youre-actually-writing-when
4•laxmena•50m ago•0 comments

Anomaly detection of private jet flights

https://ews.kylemcdonald.net
2•kcimc•51m ago•0 comments

AI Status (Mac App)| FOSS

https://github.com/Jaecobd1/ai-status
2•jaecob•54m ago•0 comments

On the Future of Apple’s Vision Platform

https://daringfireball.net/2026/04/on_the_future_of_apples_vision_platform
10•ffin•55m ago•2 comments

US falls below Ukraine in press freedom as global autocracy takes hold

https://arstechnica.com/tech-policy/2026/04/us-falls-below-ukraine-in-press-freedom-as-global-aut...
9•canucker2016•56m ago•1 comments

What We're Missing About Generative AI

https://onlinelibrary.wiley.com/doi/10.1155/hbe2/2320511
2•yousufsaif•56m ago•0 comments

Show HN: LLM-Powered News –> Event Map, Timeline, and Analysis

https://conflictintelligence.ai/
1•nclin_•1h ago•0 comments

Ask HN: How are people testing while using agent orchestrators?

1•spmartin823•1h ago•0 comments

Post-quantum encryption for Cloudflare IPsec is generally available

https://blog.cloudflare.com/post-quantum-ipsec/
1•linolevan•1h ago•0 comments

Intercom-client NPM package and lightning PyPI packages compromised

https://opensourcemalware.com/blog/mini-shai-hulud
2•6mile•1h ago•1 comments

ClawIRC – IRC Chat for Agents

https://clawirc.com/
6•randomfrom•1h ago•0 comments

Tell HN: Fossil SCM Server Overloaded

3•thunderbong•1h ago•0 comments

$500M for Virtual Biology Initiative, Funded by Zuckerbergs

https://biohub.org/news/virtual-biology-initiative/
21•warbaker•1h ago•4 comments