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!

India asks refiners for weekly Russian oil import data as it seeks US trade deal

https://www.reuters.com/business/energy/india-asks-refiners-weekly-russian-oil-import-data-it-see...
1•JumpCrisscross•2m ago•0 comments

4th Edition Unix in the Browser

https://unixv4.dev/
2•pjmlp•3m ago•0 comments

Food Delivery company maintains a „desperation score" to pay drivers less

https://twitter.com/d0wnsideofme/status/2006970570769101234
2•MrBuddyCasino•4m ago•0 comments

The AI Purple Website Problem [video]

https://www.youtube.com/watch?v=AG_791Y-vs4
1•walterbell•5m ago•0 comments

Video Games of 2025

https://kotaku.com/the-12-best-video-games-of-2025-2000656161
1•bryan0•5m ago•0 comments

Why culture got worse after the 00s, #2

https://www.technotheoria.org/p/why-culture-got-worse-after-the-00s-9e1
3•paulpauper•8m ago•0 comments

TinyTinyTPU: 2×2 systolic-array TPU-style matrix-multiply unit deployed on FPGA

https://github.com/Alanma23/tinytinyTPU-co
2•Xenograph•8m ago•0 comments

A new worst coder has entered the chat: vibe coding without code knowledge

https://stackoverflow.blog/2026/01/02/a-new-worst-coder-has-entered-the-chat-vibe-coding-without-...
2•mikece•8m ago•0 comments

MHC: Manifold-Constrained Hyper-Connections

https://www.arxiv.org/pdf/2512.24880
1•sonabinu•10m ago•0 comments

America's chip export controls are working

https://www.noahpinion.blog/p/americas-chip-export-controls-are
3•paulpauper•11m ago•0 comments

How About a Markdown Web?

https://brettterpstra.com/2026/01/02/how-about-a-markdown-web/
2•ingve•16m ago•1 comments

In China, A.I. Is Finding Deadly Tumors That Doctors Might Miss

https://www.nytimes.com/2026/01/02/world/asia/china-ai-cancer-pancreatic.html
3•alazsengul•17m ago•0 comments

MTV's 24-Hour Music Channels Shut Down Across the Globe

https://consequence.net/2025/12/mtv-music-channels-shut-down/
1•xbmcuser•17m ago•0 comments

Vibration energy harvesting by ferrofluids in external magnetic fields

https://www.nature.com/articles/s41598-025-12490-w
2•PaulHoule•19m ago•0 comments

Tesla Falls Behind China's BYD as Vehicle Sales Drop for Second Year

https://www.wsj.com/business/autos/tesla-sales-drop-for-second-year-in-a-row-958dec20
2•JumpCrisscross•21m ago•1 comments

I built a tool to catch accidental Supabase data exposure

https://www.supaguard.pro/
1•vikzsharma•21m ago•1 comments

Pebble Round 2

https://techcrunch.com/2026/01/02/pebble-reboots-its-thinnest-smartwatch-with-the-pebble-round-2/
3•noflag•24m ago•1 comments

Biggest Cybersecurity and Cyberattack Stories of 2025

https://www.bleepingcomputer.com/news/security/the-biggest-cybersecurity-and-cyberattack-stories-...
1•belter•27m ago•0 comments

Ask HN: What do you plan to read in 2026?

2•__patio•27m ago•1 comments

Giving Your Agent Eyes Is Not Enough

https://qckfx.com/blog/giving-your-agent-eyes-is-not-enough
1•chw9e•28m ago•0 comments

Science Is a Guessing Game

https://himanshusinghbisht.substack.com/p/science-is-a-guessing-game-conjectures
1•gilfoyle_7•31m ago•0 comments

I built a screen-aware desktop assistant; now it can write and use your computer

2•luthiraabeykoon•31m ago•2 comments

Ask HN: Why is iOS in-app purchase monetization so hard to learn as a system?

1•mnrj_vv•31m ago•0 comments

Does AI pose an existential threat to mathematicians?

https://kityates.substack.com/p/does-ai-pose-an-existential-threat
1•headalgorithm•33m ago•0 comments

Was It a Billion Dollar Mistake?

https://www.gingerbill.org/article/2026/01/02/was-it-really-a-billion-dollar-mistake/
4•gingerBill•35m ago•1 comments

Hacking Welfare Doubles Somalia's GDP

https://jessicar.substack.com/p/fraudulent-businesses-paid-the-equivalent
2•mensetmanusman•36m ago•1 comments

Show HN: I mapped System Design concepts to AI Prompts to stop bad code

https://github.com/nimin1/system-design-vibecoding
3•systemdesignai•36m ago•1 comments

Questions to ask yourself every year (2016)

https://stephango.com/40-questions
1•ayoisaiah•37m ago•0 comments

The Chicken Game and the Evolution of the DRAM Industry from 2006 to 2014 [pdf]

https://s-space.snu.ac.kr/bitstream/10371/95351/1/01%20Jeho%20Lee.pdf
2•walterbell•37m ago•0 comments

A "Fresh" New Terminal Text Editor

https://www.youtube.com/watch?v=dspEVA8eoUg
1•bane•37m ago•0 comments