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!

SWE covers a dozen different jobs, I built a free tool to map which one fits you

https://www.swe-genie.com/
1•MFinneran•46s ago•0 comments

Show HN: LLM Context profiler for tracking context usage by tools, agents, MCPs

https://github.com/RimantasZ/contextspy
1•iezhy•4m ago•0 comments

Our Interfaces Have Lost Their Senses

https://wattenberger.com/thoughts/our-interfaces-have-lost-their-senses/
1•OG_BME•5m ago•0 comments

Security versus Privacy

https://ldstephens.net/posts/security-versus-privacy/
2•speckx•5m ago•0 comments

TSMC to raise chipmaking prices by up to 10% in 2027, Nikkei Asia reports

https://www.reuters.com/world/asia-pacific/tsmc-raise-chipmaking-prices-by-up-10-2027-nikkei-asia...
2•amelius•7m ago•0 comments

PCjs Machines

https://www.pcjs.org/
2•naves•8m ago•0 comments

l with Jacob Loveless [video]

https://www.youtube.com/watch?v=whY51vONKs4
2•tosh•8m ago•0 comments

Why Are There No Empires in Age of Empires? (2019)

https://acoup.blog/2019/11/22/collections-why-are-there-no-empires-in-age-of-empires/
2•jkly•8m ago•0 comments

Nesso-1: Accelerating Open-Source Binding Affinity Predictions [pdf]

https://www.valencelabs.com/wp-content/uploads/2026/07/nesso1.pdf
2•smaddrellmander•9m ago•1 comments

7-Zip XZ Decompression Heap-Based Buffer Overflow RCE Vulnerability

https://www.zerodayinitiative.com/advisories/ZDI-26-444/
1•exploraz•10m ago•0 comments

Soma Cube Forest

https://www.oranlooney.com/demos/soma-forest/
1•olooney•11m ago•0 comments

What a 2019 API client teaches you about modern .NET

https://www.ivanjurina.com/index.php/2026/07/21/what-a-2019-api-client-teaches-you-about-modern-net/
1•johnvonoakland•13m ago•0 comments

Wispr-clone – offline push-to-talk dictation for Linux

https://github.com/twinlights/wispr-clone
2•twinlights•15m ago•0 comments

Show HN: BlurShield – Automatically blur sensitive info during screen share

https://chromewebstore.google.com/detail/blurshield-–-prevent-scre/dgpihknippnloandcngnipbponnn...
1•DhruvaGowda2006•15m ago•0 comments

TSMC eyes price hikes of up to 25% on chip production services in 2027

https://www.tomshardware.com/tech-industry/semiconductors/tsmc-eyes-price-hikes-of-up-to-25-perce...
2•speckx•16m ago•0 comments

Hackercouch: Couchsurfing for Hackers, by Hackers

https://hackercouch.com/
1•surprisetalk•16m ago•0 comments

Show HN: Playwright end-to-end tests as OpenTelemetry spans

https://github.com/endformdev/playwright-opentelemetry
3•ostenbom•17m ago•0 comments

Show HN: Apotrope – Offline Windows security auditor (like Lynis, for Windows)

https://github.com/hexorcist404/apotrope
1•hexorcist404•17m ago•0 comments

Intel Foundry nabs a custom ASIC win with Fortinet

https://www.servethehome.com/intel-foundry-nabs-a-custom-asic-win-with-fortinet-fortisp6-sp6/
2•teleforce•18m ago•0 comments

Show HN: Tellie – the Mac teleprompter that follows the words you say

https://tellieapp.com/
2•SteveChazin•20m ago•0 comments

You might already have product-market fit

https://www.zakihsn.com/writing/building/search-risk-vs-execution-risk
2•zakihasan•21m ago•0 comments

Show HN: Maith – open math research with AI

https://github.com/clidey/maith
4•hemangkandwal•21m ago•0 comments

Show HN: TZRO – A Free Local AI Task Offloader

https://github.com/The18thWarrior/tzro
2•the18thwarrior•22m ago•0 comments

Show HN: Infrastructure Planning Software

https://github.com/slicktokenllc/SlickSim_v1/releases/tag/v1.0.0
1•slicktoken•22m ago•0 comments

Show HN: WiFi-LLM

https://github.com/bertaye/wifi-llm
2•bertaye•24m ago•0 comments

Show HN: Mini Golf Club – a 3D multiplayer mini-golf game in the browser

https://minigolfclub.io/
2•zoleeg•25m ago•0 comments

Windows LegacyHive zero-day flaw gets free, unofficial patches

https://www.bleepingcomputer.com/news/security/windows-legacyhive-zero-day-flaw-gets-free-unoffic...
1•speckx•27m ago•0 comments

Cup Noodle releases cold-water instant ramen in Japan

https://soranews24.com/2026/07/20/cup-noodle-releases-cold-water-instant-ramen-in-japan-but-can-i...
3•newsomix9xl•28m ago•1 comments

AI physics on vacation turned into real research in quantum mechanics

https://nutfieldsecurity.com/posts/ai-vacation-physics/
1•pizzadad•30m ago•0 comments

Contra George Hotz on "AI 2040 and the Cult of Intelligence"

https://antiextinction.substack.com/p/contra-ai-2040-and-the-cult-of-intelligence
1•matthewtromp•30m ago•1 comments