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

US to demand countries share 'pathogens with epidemic potential' for health aid

https://www.theguardian.com/global-development/2025/nov/08/us-countries-share-data-pathogens-epid...
1•beardyw•37s ago•0 comments

Sony Is the First Camera Company to Verify Authenticity of Video Using C2PA

https://petapixel.com/2025/10/30/sony-is-the-first-camera-company-to-verify-authenticity-of-video...
1•throw0101a•2m ago•1 comments

The 'cable news-ification' of everything

https://www.ft.com/content/50603d73-49fe-4d2d-b9e9-5cfe39be0353
1•bishopsmother•7m ago•0 comments

Remember the physics at play in pursuit of longevity

https://www.ft.com/content/8fdb8a11-c5f7-4a9d-9206-edccdeb53849
1•hhs•10m ago•0 comments

Will AI make the artistic side of programming more relevant or obsolete?

https://www.instagram.com/reel/DQH2E4OkZdT/
1•thelinuxkid•10m ago•1 comments

How Russia’s drone attacks have reshaped the war in Ukraine

https://www.cnn.com/world/russia-drone-attacks-ukraine-war-intl-vis
1•breve•11m ago•0 comments

Itiner-e: A high-resolution dataset of roads of the Roman Empire

https://www.nature.com/articles/s41597-025-06140-z
1•breve•11m ago•0 comments

New Shopify App Connects Local Couriers with Merchants

https://onro.io/shopify-app-for-courier-companies/
1•amirhpr•11m ago•0 comments

Does programming need to be brilliant,sexy, passionate for innovation to thrive?

https://www.instagram.com/reels/DQH2E4OkZdT/
2•thelinuxkid•14m ago•1 comments

Readtape: Decode the analog waveform extracted from old computer mag tapes

https://github.com/LenShustek/readtape
2•fanf2•15m ago•0 comments

Show HN: Golden Ratio App

https://golden-ratio-beauty-app.vercel.app/
2•alexander2002•15m ago•0 comments

Ask HN: CRM/ERP – Free Open Source

2•kosolam•17m ago•0 comments

Ask HN: Anyone here building tools that help founders raise funds?

2•paulwilsonn•20m ago•0 comments

Show HN: KokoScript – JavaScript Transpiler with Japanese Syntax

https://watilde.github.io/KokoScript/
2•watilde•24m ago•0 comments

Chinese astronauts stranded in space after debris hits their return capsule

https://www.livescience.com/space/space-exploration/three-chinese-astronauts-stranded-in-space-af...
4•gradus_ad•28m ago•0 comments

Show HN: Computational Metaphysics: Zeroth Implementation of Grover's and Shor's

https://polymetron.substack.com/p/computational-metaphysics-no-more
2•polymetron•30m ago•0 comments

Automated bank data analysis just leveled up

2•vinserello•32m ago•0 comments

I taught an octopus piano (It took 6 months) [video]

https://www.youtube.com/watch?v=PcWnQ7fYzwI
1•DyslexicAtheist•33m ago•0 comments

Python's GIL removal is a poison pill and benefits Mojo

https://www.theserverside.com/video/Pythons-GIL-removal-is-a-poison-pill-and-benefits-Mojo
1•ljlolel•35m ago•0 comments

Kagi Small Web

https://kagi.com/smallweb
19•stranges•40m ago•2 comments

Show HN: I built a Mac App that brings Vercel UX to my $5 VPS

https://servercompass.app/
1•vankhoa1505•43m ago•0 comments

Stinking, Spongy, Dark, Huge: A Spider Web Unlike Any Seen Before

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
1•jcfrei•44m ago•0 comments

AI Ruined Programming, So I Fixed It (2025)

https://lightcapai.medium.com/i-fixed-programming-after-ai-ruined-it-6196a2560410
3•HenryAI•49m ago•3 comments

Gnome OS Team cancels Framework [video]

https://www.youtube.com/watch?v=KAzXypM5qPc
1•xaxaxa123•54m ago•2 comments

Password to Louvre's Video Surveillance System Was 'Louvre'

https://abcnews.go.com/International/password-louvres-video-surveillance-system-louvre-employee/s...
1•jruohonen•55m ago•0 comments

Tool2Agent – a protocol for LLM tool feedback workflows

https://tool2agent.org/
1•klntsky•1h ago•1 comments

Meta's Data Centers Drive Economic Growth Across the US

https://about.fb.com/news/2025/11/meta-data-centers-drive-economic-growth-across-us/
1•HelloUsername•1h ago•0 comments

Converting hot dog plasma video to sound with OpenCV

https://www.jeffgeerling.com/blog/2025/converting-hot-dog-plasma-video-sound-opencv
1•calcifer•1h ago•0 comments

Disassembling Terabytes of Random Data with Zig and Capstone to Prove a Point

https://jstrieb.github.io/posts/random-instructions/
2•birdculture•1h ago•0 comments

Immigration agents have new technology to identify and track people

https://www.npr.org/2025/11/08/nx-s1-5585691/ice-facial-recognition-immigration-tracking-spyware
3•01-_-•1h ago•3 comments