frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: DeepTeam – Penetration Testing for LLMs

https://github.com/confident-ai/deepteam
3•jeffreyip•1y 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!

GenAI prompting Dutch secondary schools to rethink how they assign homework

https://nltimes.nl/2026/08/25/ai-prompting-dutch-secondary-schools-rethink-handle-homework
1•giuliomagnifico•30s ago•0 comments

Por que sua skin atual está limitando O nível de jogo

https://victormignone.substack.com/p/por-que-sua-skin-atual-esta-limitando
1•victormignone•39s ago•0 comments

Maps of Osaka

https://chyuang.com/writing/maps-of-osaka/
1•yongyongyong•50s ago•0 comments

Elm releases its first update since 2019

https://github.com/elm/compiler/releases
1•nor0x•1m ago•0 comments

Show HN: Building USoC Part 1: The Wishbone Bus

http://axiomfactory.co/wishbone
1•dvc94ch•2m ago•0 comments

We built a structured entity graph for an AI agent. Then we removed most of it

https://blog.getcassis.com/context-engineering-for-analytics-agents/
1•matthieu_bl•4m ago•0 comments

HelloAssembly The smallest possible complete Windows application

https://github.com/PlummersSoftwareLLC/HelloAssembly
1•Bluestein•7m ago•0 comments

At least 1-in-4 former NFL players who died between 2016-2021 had CTE

https://news.massgeneralbrigham.org/en/1-in-4-former-nfl-players-who-died-2016-2021-had-cte
1•geox•7m ago•0 comments

Show HN: Shepherdr – A mobile-first web UI for agents on Herdr

https://github.com/luiscleto/shepherdr
1•lfcc•8m ago•0 comments

Show HN: Turn any video into a scroll-controlled website with an Agent Skill

https://github.com/musoyangrigor/scroll-video-website-skill
1•MusoyanGrigor•9m ago•0 comments

Credit Card Rewards Became a $9.2B Wealth Transfer

https://www.library.hbs.edu/working-knowledge/how-credit-card-rewards-became-multibillion-dollar-...
3•conbrian•9m ago•0 comments

An Interesting AI Educational Animation Generator

https://fogsight.ai
1•redreamality•10m ago•0 comments

How to transfer Databricks certificates and Badges when changing employers

https://medium.com/databrickscommunity/how-to-transfer-databricks-certificates-and-badges-when-ch...
2•protmaks•13m ago•0 comments

The American People Hate Data Centers

https://thezvi.wordpress.com/2026/08/24/the-american-people-really-hate-data-centers/
4•zug_zug•14m ago•0 comments

British man charged in Singapore two years after alleged theft at airport

https://www.bbc.com/news/articles/ckg024vrzxjo
1•jonathanlydall•15m ago•0 comments

The data center era that's reshaping America

https://www.axios.com/2026/08/25/data-centers-ai-electricity-water-politics
4•1vuio0pswjnm7•15m ago•0 comments

RetroPad is a full-feature-parity version of Notepad from XP in just 2749 bytes

https://www.tomshardware.com/software/windows/retropad-is-a-full-feature-parity-version-of-notepa...
2•Bluestein•15m ago•1 comments

Local Privilege Escalation via the NetBird Client Daemon IPC

https://netbird.io/knowledge-hub/security-advisory-daemon-ipc-local-privilege-escalation
1•hollow-moe•16m ago•0 comments

Create videos for your products using your terminal/IDE

https://github.com/kritikmodi/product-video-as-code
1•kritikmodi•16m ago•1 comments

The Neumann Hangover from 1945

https://ussphoenix.substack.com/p/why-patching-and-triage-are-just
1•mavercik1337•16m ago•0 comments

Nostr vs. Fediverse vs. Bluesky: A Comparison of Decentralized Social Protocols

https://soapbox.pub/blog/comparing-protocols
2•Bluestein•19m ago•0 comments

Study's Alarming Finding: At Least 1 in 4 NFL Players Gets Brain Disease

https://www.nytimes.com/2026/08/25/us/nfl-cte-brain-disease.html
1•bookofjoe•20m ago•1 comments

The Move to Python 3 Begins

https://store.steampowered.com/news/app/8500/view/690892322235222263
2•dkpk•21m ago•1 comments

In solarpunk cities of the future tech follows natures lead

https://aeon.co/essays/in-solarpunk-cities-of-the-future-tech-follows-natures-lead
1•proudestmonkey•21m ago•0 comments

Offgrid Electric Car (2025)

https://joeyh.name/blog/entry/offgrid_electric_car/
2•birdculture•23m ago•0 comments

Hugging Face reportedly in talks to be acquired for $13B

https://techcrunch.com/2026/08/24/hugging-face-reportedly-in-talks-to-be-acquired-for-13b/
3•doppp•24m ago•0 comments

Helm Dashboard Sequence Diagrams

https://app.ilograph.com/demo.ilograph.Helm%2520Dashboard/Start%2520Dashboard
1•billyp-rva•24m ago•0 comments

Why we built an APFS filesystem version control tool for Mac?

https://scaleninja.com/blog/deltasnap/
1•yadvr•25m ago•0 comments

Meeting Seed7

https://genodians.org/nfeske/2025-12-22-meeting-seed7
1•mentalgear•26m ago•1 comments

SEC reportedly subpoenas Wall St banks over AI hedge fund Situational Awareness

https://www.cnbc.com/2026/08/25/sec-situational-awareness-hedge-fund-subpoenas.html
2•1vuio0pswjnm7•26m ago•0 comments