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•11mo 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!

What Is Authorship When Machines Can Write?

https://thereader.mitpress.mit.edu/what-is-authorship-when-machines-can-write/
1•ilamont•1m ago•0 comments

Tans: Precomputing RANS

https://fergusfinn.com/blog/understanding-tans/
1•mezark•3m ago•0 comments

Also-RANS: Asymmetric Numeral Systems for Entropy Coding

https://fergusfinn.com/blog/understanding-rans/
1•mezark•3m ago•0 comments

If I Could Make My Own GitHub

https://matduggan.com/if-i-could-make-my-own-github/
1•matricaria•3m ago•0 comments

Iran war disrupts the circuit board supply chain, raises costs for tech firms

https://www.reuters.com/world/middle-east/iran-war-disrupts-the-circuit-board-supply-chain-raises...
1•croes•4m ago•0 comments

Ask HN: Best resources for learning systems programming in 2026?

1•oveaz_hermes•4m ago•0 comments

AGNT: The Orchestration Economics Manifesto

https://orchestration-economics.com/
1•ChrisInFrance•5m ago•1 comments

Show HN: Nimbalyst open-source visual workspace for ClaudeCode, Codex, OpenCode

https://github.com/Nimbalyst/nimbalyst
2•ghinkle•6m ago•0 comments

Hapax Locks: Scalable Value-Based Mutual Exclusion

https://danglingpointers.substack.com/p/hapax-locks-scalable-value-based
1•blakepelton•6m ago•0 comments

Show HN: I built a zero-tracking news hub to escape doom scrolling at (AGE 17y)

1•blazeeofsun•8m ago•0 comments

Show HN: doola (YC S20) MCP: we built a way to start an LLC in Claude and Replit

https://www.doola.com/blog/doola-mcp-form-your-llc-inside-ai-chat/
1•arjawn•9m ago•0 comments

How Good Is Google's Gemini AI at Making Travel Plans?

https://www.nytimes.com/2026/04/30/travel/ai-travel-plan-gemini-vacation.html
1•gk1•10m ago•0 comments

Doc driven engineering prioritizes team coordination

https://productnow.ai/blogs/engineering-playbook
1•kadhirvelm•10m ago•1 comments

Suspends are pauses, snapshots are files

https://www.tensorlake.ai/blog/suspend-vs-snapshot
1•gk1•10m ago•0 comments

Engineers Across Google, Meta, Microsoft, OpenAI: OSS Performance And116% YoY

https://research.navigara.com
3•alienll•10m ago•1 comments

The Simpsons reference that refutes one of history's greatest mathematicians

https://www.scientificamerican.com/article/the-simpsons-reference-that-refutes-one-of-historys-gr...
1•cainxinth•11m ago•0 comments

AI, Tokens, and the Gathering Storm

https://www.pootlepress.com/2026/04/ai-tokens-and-the-gathering-storm/
1•speckx•11m ago•0 comments

Show HN: Secure-by-default Ollama Docker image with built-in auth, only ~70MB

https://github.com/hwdsl2/docker-ollama
2•hwdsl2•12m ago•0 comments

Rooting My IoT Stand Mixer

https://bensimms.moe/rooting-my-iot-stand-mixer/
1•skadamat•14m ago•0 comments

SpecD – spec-driven development workflow for AI coding agents

https://github.com/specd-sdd/SpecD
1•lsmonki•15m ago•0 comments

Show HN: Trent – Contextual architectural security reviews inside Claude Code

https://trent.ai/solutions/claude-code-security/
2•enothereska•15m ago•0 comments

I Won't Build Your Website in WordPress (and What I Recommend Instead)

https://arnold.gamboa.ph/why-i-wont-build-your-website-in-wordpress-and-what-i-recommend-instead/
1•speckx•15m ago•0 comments

Product-Shaped or Movement-Shaped?

https://werd.io/product-shaped-or-movement-shaped/
1•benwerd•17m ago•0 comments

The UAE doubles down on Israel and America

https://www.economist.com/leaders/2026/04/30/the-uae-doubles-down-on-israel-and-america
2•andsoitis•18m ago•0 comments

GTM Jobs of the Week

https://gtmjobs.beehiiv.com/p/gtm-engineer-jobs-week-of-april-17-2026
1•benchmarkapp•18m ago•0 comments

The architecture of Agentic Commerce: protocols vs. browser-based agents

https://www.cartai.ai/blog/every-ai-recommendation-is-a-transaction-waiting-to-happen
1•maniluppal•19m ago•1 comments

Should I Run Plain Docker Compose in Production in 2026?

https://distr.sh/blog/running-docker-in-production/
1•pmig•20m ago•0 comments

WMF Secured Govt. Commitment Ahead of Administrative Registration in Indonesia

https://diff.wikimedia.org/2026/04/30/wikimedia-foundation-secured-governments-commitment-to-user...
1•exploraz•20m ago•1 comments

A local-first proxy and trace viewer for MCP servers

https://github.com/vnmoorthy/mcpobservatory
1•vnmoorthy•21m ago•0 comments

Show HN: "Be horse." – a diffusion language model on an M2 Air

https://boesch.dev/posts/simple-dlm/
4•encrux•21m ago•0 comments