AI-Generated Code Turns a $100 Drone Into a Facial Recognition Tracker

A compact black drone hovers above an outstretched hand in a bright indoor setting.

AI coding assistants helped turn an inexpensive consumer drone into a facial-recognition surveillance system capable of autonomously tracking a person indoors. Image: Unsplash/Dose Media

Aug 7, 2026
4 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

A roughly $100 consumer drone can now be turned into something much more unsettling: a flying system capable of recognizing and following a person from room to room.

According to NBC News, AI models from companies including OpenAI and Anthropic helped generate the code that allowed an indoor drone to use facial recognition, navigate through doorways and around furniture, and keep its target in view. The demonstration suggests that AI coding assistants may be lowering the expertise required to combine inexpensive, widely available technologies into autonomous surveillance systems.

While none of these technologies are new, the experiment shows that the advanced capabilities that once required specialized engineering expertise are becoming increasingly accessible through natural language prompts. This change is becoming more relevant for businesses, security teams, and policymakers as AI coding assistants continue to advance.

AI lowers the technical barrier

In the past, taking on the feat of building autonomous drones has required advanced expertise in fields such as robotics, computer vision, and software development. Now, AI coding assistants are potentially more capable of generating functional code for complex tasks, potentially allowing users with less specialized programming experience to build more complex systems. 

The NBC News experiment focused on an inexpensive indoor consumer drone rather than a commercial or military platform, but the significance of the experiment lies less in the drone itself and more in how AI-generated code connected widely available technologies into a functioning surveillance system. 

This suggests what are often described as "dual-use" AI capabilities, which are tools designed for legitimate purposes that can also be used in harmful ways. 

Enterprise security implications

AI coding assistants are quickly making their way into everyday software development workflows. But as businesses embrace these tools to help developers write code faster, automate repetitive tasks, and accelerate software projects, their security teams are going to need to take a closer look at their security implications.

The demonstration emphasizes why organizations may need to strengthen AI governance programs that evaluate not just how employees use AI, but also how AI vendors implement safeguards around code generation. At the same time, organizations adopting generative AI now face questions about acceptable use policies, model access controls, and monitoring for potentially dangerous applications generated through AI-assisted development.

Advertisement

Before you act, remember that this news doesn't necessarily mean all AI coding assistants are inherently dangerous. Instead, it showcases the challenge organizations face in managing increasingly enhanced technology that can be used for both legitimate and harmful purposes.

AI guardrails face new scrutiny

The experiment also raises awareness around whether AI providers should place additional restrictions on requests involving surveillance technologies.

Most leading AI companies, including OpenAI, Anthropic, Google, Microsoft, and Meta, have introduced responsible AI policies, usage restrictions, and safety frameworks designed to reduce harmful or illegal uses of their models. However, figuring out where legitimate software development ends and potentially harmful surveillance begins remains a far more difficult challenge. 

Meanwhile, we can't forget that drone navigation, computer vision, and facial recognition all have legitimate commercial applications. Facial recognition can power warehouse automation, industrial inspections, and inventory management, and autonomous drones are increasingly used for infrastructure monitoring, agriculture, and emergency response. That said, it can be challenging to restrict code generation in these areas without affecting legitimate use cases.

As AI coding capabilities continue to improve across competing models, vendors will likely face increasing pressure from regulators and policymakers to demonstrate that appropriate safeguards are in place.

AI safety debate broadens beyond chatbots

Much of the discourse surrounding generative AI has surrounded topics like chatbot outputs, misinformation, and copyright issues. But now, as we continue to examine the broader societal impacts of generative AI and coding models become more capable, it seems attention is shifting toward AI systems that can write functional software capable of interacting with physical devices.

The larger issue may be less about drones than about what happens as AI-generated software gains the ability to control cameras, robots, vehicles, and other physical systems. Coding assistants were largely introduced as productivity tools, but experiments like this show why their safety implications increasingly extend beyond the computer screen.

For AI providers and the organizations adopting their models, the next challenge will be determining where ordinary software assistance ends and genuinely dangerous capability begins — a line that may become harder to draw as the models get better at writing functional code.

Advertisement

Other News: A new study found that readers rated ChatGPT-generated short stories higher than human-written fiction, raising fresh questions about AI’s growing role in creative writing. 



Madeline Clarke

Madeline is a writer specializing in copywriting and content creation. After studying Art and earning her BFA in Creative Writing at Salisbury University she applied her knowledge of writing and design to develop creative and influential copy. She has since formed her business, Clarke Content, LLC, through which she produces entertaining, informational content and represents companies with professionalism and taste.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.