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!

Show HN: Abaxly – Ad-free calculators that run in the browser

https://abaxly.com/
1•yanemial•8s ago•0 comments

Tellgan – AI Cost Tracking

https://www.tellgan.com/
1•JakeDuke•1m ago•0 comments

Show HN: Free date, word, number, address and currency tools, no signup

https://daytoolkit.com/
1•rvsdistributors•4m ago•1 comments

Show HN: 12-Month Email Marketing TCO Calculator (list growth and tier jumps)

https://martechpricing.com/tools/email-tco-calculator/
1•applesstt•5m ago•0 comments

Edit Multiple Areas of an Image in a Single AI Generation [video]

https://www.youtube.com/shorts/Z2C2aLIj52A
1•prfsch•6m ago•0 comments

Intelligence as a Resource [pdf]

https://github.com/sebkrier/intelligence-as-a-resource/blob/main/Krier_2026_Intelligence_as_a_Res...
1•HR01•6m ago•0 comments

Top Free GitHub Repositories for Learning Industrial Automation and IIoT

https://iiotjob.com/blog/top-10-free-github-repositories-for-learning-industrial-automation-and-iiot
1•ishikawa•7m ago•0 comments

Nvidia Acknowledges AI Chip Smuggling into China in Senate

https://asiaai.fyi/nvidia-acknowledges-ai-chip-smuggling-china/
2•ghernando•7m ago•0 comments

A Tiny Fish Is Moving to Cooler Waters

https://www.nytimes.com/2026/12/04/climate/peru-anchovies-seafood-industry.html
1•saikatsg•8m ago•0 comments

82% of Americans Fly Once a Year or Less–and Don't Know the Rules

https://viewfromthewing.com/82-of-americans-fly-once-a-year-or-less-and-dont-know-the-rules/
1•bushwart•8m ago•0 comments

The US economy unexpectedly lost 6k jobs in November

https://lite.cnn.com/2026/12/04/economy/us-jobs-report-november
2•DeepLogin•9m ago•0 comments

Visited Links Are Purple

https://dbushell.com/2026/11/16/visited-links/
2•surprisetalk•10m ago•0 comments

Why AI Is Bad – AI-built site where frontier models critique AI daily

https://whyaiisbad.com/
1•AlexIsland•10m ago•0 comments

Misha Gromov explains why life, the brain and LLMs are "miracles" [video]

https://www.youtube.com/watch?v=010zB6EpJYQ
1•eph0m0ral•11m ago•0 comments

iCloud Drive, File Provider and FPCK

https://eclecticlight.co/2026/12/04/icloud-drive-file-provider-and-fpck/
1•Brajeshwar•12m ago•0 comments

Show HN: Speicher.md Git-backed Markdown reader with IdP and MCP access control

https://github.com/coPetence/speicher.md
1•fduschka•14m ago•0 comments

AI points researchers to novel coronaviruses in museum's frozen bats

https://www.cam.ac.uk/research/news/ai-points-researchers-to-novel-coronaviruses-in-museums-froze...
1•Brajeshwar•15m ago•0 comments

Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill)

https://www.reddit.com/r/googlecloud/comments/1yazk1p/google_sent_me_to_collections_20min_vertex_ai/
6•sheep1165•15m ago•0 comments

Mercurial 7.2.6: critical release fixes chained client and server RCE

https://mercurial-scm.org/news/2026/0009-release-7.2.6
1•acossta•15m ago•0 comments

Show HN: Bald – The World’s Fastest Linker

https://heavey.dev/2026/12/04/bald/
2•mutant_self•17m ago•0 comments

Does a Worm Have Thoughts?

https://new.life.com/stories-details/michael-levin-consciousness
1•jger15•17m ago•0 comments

Quint: Yet another auto-formalization / executable specification startup

https://quint.sh
1•csbartus•19m ago•0 comments

Qwen4-35B-A3B vs. Qwen3.8-27B on one H200: vLLM and SGLang, benchmarked

https://gurubase.io/blog/2026/qwen4-35b-a3b-vs-qwen3-8-27b-h200-vllm-sglang-benchmark/
1•fatihbaltaci•19m ago•0 comments

CRI-O ended support for container-level restore

https://www.cncf.io/blog/2026/12/04/cri-o-ended-support-for-container-level-restore/
1•shscs911•20m ago•0 comments

2026 Year in Review: Analyzing a year of public celebrity sightings

https://wherecelebsgo.com/year-in-review/2026
1•wherecelebsgo•21m ago•0 comments

Show HN: Wee made weemuu, a friendly AI team

https://github.com/tmlunde/weemuu
1•tmlunde•22m ago•1 comments

Tao: Cryptocurrency may have the positive use case as a crumple zone

https://mathstodon.xyz/@tao/117722803711982471
1•sidcool•24m ago•0 comments

OpenAI – How we measure alignment

https://openai.com/index/how-we-measure-alignment/
1•sidcool•26m ago•0 comments

Show HN: Hacker News Replies by Web Push

https://hackandchat.com/
1•gringofyx•27m ago•0 comments

WSP MCP: A Free WordPress Plugin to Connect AI with Your Website

https://github.com/bilalnaseer/wsp-wordpress-mcp
1•wspmcp69•28m ago•0 comments