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•9mo 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: Swarm – Program a colony of 200 ants using a custom assembly language

https://dev.moment.com/
1•armandhammer10•35s ago•0 comments

Show HN: Custom Search Engine on Safari and Spotlight (macOS)

https://knhash.in/custom-search-engine-on-safari-and-spotlight-macos/
1•knhash•1m ago•0 comments

Show HN: SafeAgent – exactly-once execution guard for AI agents

1•Lions2026•1m ago•0 comments

Enhanced brain cells clear away dementia-related proteins

https://medicalxpress.com/news/2026-03-brain-cells-dementia-proteins.html
1•WaitWaitWha•1m ago•0 comments

Google Patent: Sending Searchers to AI-Generated Pages over Your Site

https://www.seroundtable.com/google-patent-ai-generated-pages-search-41010.html
1•frays•3m ago•0 comments

System76 on Age Verification Laws

https://blog.system76.com/post/system76-on-age-verification/
1•LorenDB•3m ago•0 comments

A Technology for a Low-Trust Society

https://www.theatlantic.com/technology/2026/03/central-lie-prediction-markets/686250/
1•CaptainZapp•6m ago•0 comments

Tollund Man

https://en.wikipedia.org/wiki/Tollund_Man
1•thunderbong•11m ago•0 comments

Show HN: Steadwing – Your Autonomous On-Call Engineer

https://www.steadwing.com/
3•abejith•13m ago•0 comments

Show HN: Verak – Fake Seller Detection for Digital Marketplaces

https://www.verak.io/demo
1•Mikewillcodes•14m ago•0 comments

One Agent SDK – Embed Claude Code in Your App with Codex and Kimi

https://odysa.github.io/one-agent-sdk/
1•agentforce•14m ago•1 comments

Don't Call It 'Intelligence'

https://www.theatlantic.com/ideas/2026/03/intelligence-concept/686121/
1•petethomas•14m ago•0 comments

Parakaryon: The only species with a unknown position in the tree of life

https://en.wikipedia.org/wiki/Parakaryon
1•icwtyjj•14m ago•0 comments

Warden by Sentry

https://warden.sentry.dev/
1•handfuloflight•15m ago•0 comments

Show HN: kg Food Log: Reveal the molecules in your foods

https://kg.enzom.dev/
1•emadda•16m ago•0 comments

On the need for a censorship API for legal compliance in some regions

https://lists.debian.org/debian-legal/2026/03/msg00018.html
1•iamnothere•17m ago•1 comments

Breaking Down 50M Pins: A Smarter Way to Design 3D IC Packages

https://www.allaboutcircuits.com/industry-articles/breaking-down-50-million-pins-a-smarter-way-to...
2•WaitWaitWha•19m ago•0 comments

Show HN: Gluon – Project management with impact-based task prioritization

https://apps.apple.com/us/app/gluon-project-manager/id6758938759
1•cothi•20m ago•2 comments

What I'm learning trying to build a dance theater piece like a startup

1•megbroome•21m ago•0 comments

Ask HN: How common are fake job postings when searching for jobs online?

1•BelVisgarra•24m ago•1 comments

Show HN: Agent-pulse – local gateway that fans out AI agent events to clients

https://github.com/SantiagoBobrik/agent-pulse
1•SantiagoBobrik•25m ago•0 comments

Show HN: Netwall

https://netwall.org
1•dogancan•25m ago•0 comments

Show HN: Collaborative Blogging

https://blog.sgo.to/2026/01/07/how-does-this-blog-work
1•sgoto•27m ago•1 comments

An experiment: funding an independent dance theater piece like a startup

1•megbroome•28m ago•0 comments

Doctronic Is Now Accepting New Patients (and Unsafe Instructions)

https://mindgard.ai/blog/doctronic-is-now-accepting-new-patients-and-unsafe-instructions
1•kierangill•30m ago•0 comments

Academics Need to Wake Up on AI

https://alexanderkustov.substack.com/p/academics-need-to-wake-up-on-ai-part
1•Anon84•30m ago•0 comments

Every Claim from Meta Child Safety Trials

https://meta-trials.vercel.app/
2•laurex•30m ago•0 comments

The Future of Enterprise Software

https://twitter.com/levie/status/2013018817610518642
1•mooreds•31m ago•0 comments

Show HN: Chrome extension that tailors your resume to a job posting in one click

https://ajusta.ai
1•dippatel1994•34m ago•0 comments

'What is the game plan?': The Iran war is unsettling China and its ambitions

https://www.bbc.com/news/articles/c2044vzrdpzo
4•tartoran•36m ago•0 comments