Long story short:

DuckDuckGo is only partly open source

it partnered with Yahoo! to get access to tech and features

it displays Yahoo!-Microsoft search alliance ads (which can be disabled)

and it uses Google Maps, Apple Maps, Bing Maps, and Here WeGo for map and address-related searches. To be fair, DuckDuckGo also gives you the option to use maps from the OpenStreetMap project.

Update

DuckDuckGo now solely uses Apple Maps for map and address-related searches.

Another thing worth mentioning is that DuckDuckGo is part of Amazon's and eBay's affiliate programs. Officially, this doesn't influence the search engine's rankings or relevancy functions in any way. But, needless to say, DuckDuckGo isn't open source.

Fortunately, as I point out in my article "How to Avoid Funding the American Deep State," there are open-source alternatives:

'It's extremely costly to develop and maintain search engines like Google. The only decent open-source and privacy-oriented search engines I know of are Searx and YaCy. Searx avoids big bills by aggregating the results of other search engines, and YaCy does it by being peer-to-peer.

Update

Searx.me is down, "due to infrastructure issues." So here is the list of other public Searx instances Searx.me refers to.'