Security is one of the areas I would like to become better at as a developer, so the AIDA lessons on security, privacy, law, and ethics were especially interesting to me.
An AI chatbot that only returns suggestions is one thing. A coding agent that can inspect files, run commands, and edit a repository is something else entirely. The more useful the tool becomes, the more carefully I need to think about what it is allowed to access and do.
Access is part of the threat model
To work effectively, a coding agent may need source files, documentation, test commands, and sometimes access to external services. But a repository can also contain configuration, local environment files, credentials, or information that should not be shared.
That raises practical questions. Are secret files excluded from version control? Which commands is the agent permitted to run? Does it need network access for this task? Who reviews changes to permissions, authentication, or data handling?
I do not think the answer is simply “never use AI”. It is to apply the same principle that belongs in security generally: give tools the access they need, not unlimited access by default.
AI-generated code needs security review too
When an agent produces a working feature, it is tempting to focus on whether the UI behaves correctly. But functional success does not tell us whether an endpoint checks authorisation, whether input is validated, or whether sensitive information is accidentally logged.
Our Christmas Market application includes administrative workflows, which makes this particularly relevant. An attractive admin interface does not help if the backend trusts every request or if users can perform actions outside their permissions. I see these as questions to check, not as claims that our project has a specific vulnerability.
Another concern is prompt injection: instructions hidden in documents, web pages, or other content an assistant reads. Untrusted content should not gain the authority to tell an agent to ignore its task or reveal information.
The ethical side goes beyond secrets
Privacy also matters when an AI application processes user-provided information. We need to know which data goes to an external provider, why it is needed, and whether users have been properly informed. AI output can also be biased or simply wrong, even when it sounds certain.
Legal and ethical questions are not things I expect a single prompt to solve. They require requirements, policies, technical controls, and sometimes professional advice.
A responsibility I cannot delegate
I like tools that help me build faster. But the more autonomous they become, the more important it is that I understand the boundaries around them.
Before trusting a generated change, I want to ask what it touches, what assumptions it makes, and how I would test it. I also want to avoid feeding private information into services without knowing how that information is handled.
My takeaway: An AI agent can be a capable assistant, but protecting data, checking permissions, and taking responsibility for the result remain human jobs.