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!

Wharton and Harvard Business School: LLMs on business decisions and tasks

https://business-ai-benchmark.github.io/
1•patelajay285•14s ago•0 comments

Show HN: RefundHalt, contest App Store and Google Play refunds automatically

https://refundhalt.com
1•kedv•1m ago•0 comments

Major AI models are likely to refuse criticizing restrictive leaders or govts

https://apnews.com/article/artificial-intelligence-chatbots-censorship-bias-free-speech-fed8fdbf9...
1•smurda•4m ago•0 comments

Why is it so hard for the U.S. to win wars?

https://www.npr.org/2026/07/18/g-s1-134037/why-is-it-so-hard-for-the-u-s-to-win-wars
2•rbanffy•6m ago•0 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
1•rbanffy•9m ago•0 comments

Show HN: I built a pinball repair tool grounded in the real service manuals

https://joinflipside.com.au/repair/
1•mcpit•10m ago•0 comments

Understanding Go AI Inference: What Is Inference?

https://internals-for-interns.com/posts/go-ai-inference-what-is-inference/
1•valyala•11m ago•0 comments

Commission fines AliExpress €550M for breaching the Digital Services Act

https://digital-strategy.ec.europa.eu/en/news/commission-fines-aliexpress-eu550-million-breaching...
2•robin_reala•15m ago•0 comments

Show HN: Diagraw-draw AWS/GCP/IBM archs with icons, arrows that stay attached

https://diagraw.com/
1•victoragudo•16m ago•0 comments

Alibaba Fined Record €550M by EU for Illegal Sales

https://www.bloomberg.com/news/articles/2026-07-20/alibaba-fined-550-million-for-illegal-sales-in...
3•technewssss•17m ago•0 comments

Ask HN: What would a Python-first web look like?

1•RS-232•17m ago•0 comments

DeepWaiting mindfulness while you wait

https://deepwaiting.xyz
1•Zeekaas•18m ago•0 comments

Coercion and Deception in AI-to-AI Management: An Agentic Benchmark

https://arxiv.org/abs/2607.15434
1•sbulaev•23m ago•0 comments

Lāhainā Noon in HawaiʻI: When and Where to See IT

https://www.lovebigisland.com/hawaii-blog/lahaina-noon-when-and-where/
1•_tk_•24m ago•0 comments

Who's Afraid of Chinese Models?

https://stratechery.com/2026/whos-afraid-of-chinese-models/
2•mfiguiere•24m ago•0 comments

Show HN: Picnic Host – No fuss static website hosting

https://picnic.host/en/index.html
1•jeremysarchet•25m ago•0 comments

AI is more likely than humans to form biases when hiring

https://www.technologyreview.com/2026/07/20/1140655/ai-biases-hiring-humans/
2•joozio•29m ago•0 comments

EU slaps €550M fine on AliExpress over illegal and counterfeit goods

https://www.euronews.com/my-europe/2026/07/20/eu-slaps-550-million-fine-on-aliexpress-over-illega...
2•muxamilian•30m ago•0 comments

Show HN: Hail.so – Open-source phone, SMS and email for agents and humans, v0.15

https://github.com/hail-hq/hail/
1•r13i•35m ago•1 comments

Mid-tier factory EDC knives worth buying?

https://www.paragon-knives.com/
1•bgzlsxaz•35m ago•0 comments

Show HN: Test harness that found +250 bugs in open-source matching engines

https://github.com/flash1-dev/matching-engine-benchmark
1•roycechocolate•36m ago•0 comments

Reporting Web 3D Capabilities on a Budget of $3 a Month

https://ben3d.ca/blog/reporting-web-3d-capabilities-on-a-budget
1•bhouston•36m ago•0 comments

About AgentRQ – Human-in-loop realtime conversational task manager for AI Agents

https://github.com/agentrq/agentrq
1•shahargl•39m ago•0 comments

Minimal Git CI using hooks

https://mccd.space/posts/26-06-29/simple-git-ci
2•olexsmir•40m ago•0 comments

Show HN: A comprehensive, filterable list of AI agent jails

https://pleasedonotescape.com/
4•petesergeant•41m ago•1 comments

Human mathematicians are being outcounterexampled

https://xenaproject.wordpress.com/2026/07/20/human-mathematicians-are-being-outcounterexampled/
2•vitplister•42m ago•0 comments

Nightborne – A Neill Blomkamp Sci-Fi Film. AI (4K) [video]

https://www.youtube.com/watch?v=8Wbtt2JxP7g
1•mxfh•45m ago•0 comments

Screenshot Editor Tool (SuperSnap) – 5 Free Lifetime Keys

https://supersnap.net
1•daniel_at08•47m ago•0 comments

China's Moonshot pauses Kimi subscriptions amid hot demand, IPO push

https://www.reuters.com/legal/transactional/chinas-moonshot-pauses-kimi-subscriptions-amid-hot-de...
3•JumpCrisscross•49m ago•1 comments

Connect Your AI Agent to Any API in Plain English (No Code)

https://quickchat.ai/post/connect-ai-agent-to-any-api
2•piotrgrudzien•49m ago•0 comments