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•6mo 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: Jobstocks.ai – Live hiring momentum for 1k public companies

https://jobstocks.ai/
1•TalO•1m ago•0 comments

A.I. Has Changed My Classroom, but Not for the Worse

https://www.nytimes.com/2025/11/25/magazine/ai-higher-education-students-teachers.html
1•cainxinth•3m ago•0 comments

Encoderfile v0.1.0: Deploy Encoder Transformers as Single Binary Executables

https://blog.mozilla.ai/encoderfile-v0-1-0-deploy-encoder-transformers-as-single-binary-executables/
1•theshrike79•4m ago•0 comments

Trillions Spent and Big Software Projects Are Still Failing

https://spectrum.ieee.org/it-management-software-failures
1•pseudolus•4m ago•0 comments

Claude 4 Opus just one-shotted my app idea in 30 seconds

https://www.aithings.dev/
2•rutagandasalim•6m ago•3 comments

Direction-Aware Arrow Shape using corner-shape

https://css-tip.com/arrow/
1•robin_reala•7m ago•0 comments

Show HN: Words that help me think

https://plastithink.com
1•andsko•8m ago•0 comments

Show HN: Chess960v2 – The New Fischer Random Chess (over 400 rounds played)

https://chess960v2.com/en
1•lavren1974•8m ago•0 comments

Nuptial Flight

https://en.wikipedia.org/wiki/Nuptial_flight
1•red369•11m ago•1 comments

Making Crash Bandicoot (2011)

https://all-things-andy-gavin.com/video-games/making-crash/
2•davikr•13m ago•0 comments

Indie game developers have a new sales pitch: being 'AI free'

https://www.theverge.com/entertainment/827650/indie-developers-gen-ai-nexon-arc-raiders
2•doener•14m ago•0 comments

Etälääkäri, joka tarjoaa rauhallista, selkeää ja empaattista tukea ihmisill

https://etalaakari.com/
1•EmiliaKorhonen•18m ago•1 comments

Dangers, Solution of Relying on AI Chatbots for Mental Health, Parasocial

https://hstsethi.vercel.app/posts/lifestyle/dangers-relying-ai-mental-health-parasocial-relations...
2•catstor•18m ago•1 comments

The SPACE of Developer Productivity

https://queue.acm.org/detail.cfm?id=3454124
1•gtirloni•19m ago•0 comments

Does Dioxus Spark Joy?

https://fasterthanli.me/articles/does-dioxus-spark-joy
2•birdculture•19m ago•0 comments

To help kids 'climb the ivy,' Chinese uproot families for Silicon Valley schools

https://www.sfchronicle.com/bayarea/article/chinese-families-ivy-league-schools-21164622.php
1•TMWNN•21m ago•1 comments

Scientists identify five structural eras of the human brain over a lifetime

https://medicalxpress.com/news/2025-11-scientists-eras-human-brain-lifetime.html
1•pseudolus•21m ago•0 comments

A dormant volcano erupted in Ethiopia sending ash plumes toward Yemen and Oman

https://abcnews.go.com/International/wireStory/volcano-erupts-northern-ethiopia-sending-ash-plume...
2•ls-a•22m ago•0 comments

H00k.dev

2•steebono•25m ago•2 comments

Robots and AI Are Already Remaking the Chinese Economy

https://www.wsj.com/tech/ai/ai-robots-china-manufacturing-89ae1b42
1•pseudolus•26m ago•1 comments

How China Lost Mongolia – Does Taipei Still Claim It? [video]

https://www.youtube.com/watch?v=QOIWrmonY0E
1•hunglee2•27m ago•0 comments

Adolescence lasts into 30s – new study shows four pivotal ages for your brain

https://www.bbc.com/news/articles/cgl6klez226o
3•beardyw•29m ago•0 comments

The 30-foot sea cow quickly hunted to extinction because of its tasty meat

https://www.nationalgeographic.com/history/article/stellers-sea-cow-30-foot-hunted-extinction
2•cbzbc•31m ago•0 comments

Show HN: Martini-Kit, create multiplayer games without writing networking code

https://martini.blueprintlab.io/
1•yaoke259•33m ago•0 comments

Nvidia Says It's Not Enron in Private Memo Refuting Accounting Questions

https://www.barrons.com/articles/nvidia-stock-ai-accounting-allegations-366f16ac?gaa_at=eafs&gaa_...
4•zerosizedweasle•35m ago•2 comments

Qwen2.5 Coder 1.5B Roblox

https://huggingface.co/umjunsik1323/Qwen2.5-Coder-1.5B-roblox
1•umjunsik132•35m ago•1 comments

Ask HN: Scaling local FAISS and LLM RAG system (356k chunks)architectural advice

1•paul2495•36m ago•0 comments

DroneEye – Real-Time European Drone Incident Intelligence Dashboard

https://www.droneeye.eu
3•Gyarbij•36m ago•0 comments

Negative Differential Conductance in triangular molecular assemblies

https://arxiv.org/abs/2508.05575
1•peter_d_sherman•39m ago•1 comments

Schema.org: create, maintain, and promote schemas for structured data

https://schema.org/docs/about.html
3•doener•39m ago•0 comments