Introduction
AI assistants increasingly summarise documents, read webpages, analyse emails and interact with connected applications. This creates a security challenge: the content an AI system reads may contain instructions designed to manipulate it.
This technique is called prompt injection. It can be direct, when a user places malicious instructions in a prompt, or indirect, when instructions are hidden in content the AI processes. When an AI tool has access to private information or connected services, manipulation may create real data and workflow risks.
What is prompt injection?
A prompt injection attack attempts to influence an AI model by supplying instructions that conflict with its intended task or safeguards. A user might ask an assistant to summarise a webpage, while the webpage contains instructions telling the assistant to reveal confidential information or take an unrelated action.
A secure design must distinguish trusted instructions from untrusted data and prevent retrieved content from controlling sensitive actions.
Direct and indirect prompt injection
Direct prompt injection occurs when a person places manipulative instructions directly into a prompt or conversation.
Indirect prompt injection occurs when the AI reads external content containing malicious instructions. That content could be in a webpage, email, shared document, code repository or knowledge base. Indirect attacks can be difficult to recognise because the user may have requested an ordinary task and may not know the source contains manipulative text.
Where can it appear?
- A webpage being summarised may contain instructions aimed at the AI.
- An email may include text designed to influence an assistant.
- A document may contain instructions unrelated to the user’s request.
- A connected knowledge base may include untrusted material submitted by an external party.
Potential consequences
Possible consequences include misleading output, disclosure of information available in the AI’s context, misuse of connected tools, unauthorised workflow actions or attempts to bypass safeguards. Impact is greater when an assistant can access email, cloud storage, customer records, source code or business systems, which is why AI agents need tight permissions.
Prompt injection does not automatically provide access to every account. Risk depends on the application’s design and permissions.
10 ways to reduce risk
- Treat external content as untrusted data.
- Separate trusted instructions from retrieved content.
- Give AI tools minimum necessary access.
- Require human approval before sending messages, making payments or deleting files.
- Restrict tools and APIs.
- Never place secrets in prompts.
- Validate tool arguments and outputs.
- Use allowlists for sensitive destinations.
- Log important tool calls.
- Test realistic prompt injection scenarios before production.
Advice for everyday users and employees
Do not assume an AI-generated answer is safe because it sounds confident. Be careful when asking AI to process files from unknown sources.
Review permissions requested by browser extensions and connected applications. Avoid broad access to email or cloud drives when narrower permissions are sufficient. Verify sensitive instructions and payment details independently, and treat unexpected links an assistant surfaces with the same care as any suspicious URL.
AI security policy for businesses
A practical policy should identify approved AI tools, permitted data types, prohibited data, access requirements, tool-use boundaries, human approval points, logging requirements and incident contacts.
Employees should know how to report suspicious AI behaviour. Owners should periodically review integrations and permissions, especially when tool capabilities change.
How Pintu Pro can help
Pintu Pro can provide cybersecurity awareness and digital privacy guidance, including safer use of online services, account protection, suspicious-link awareness and practical security recommendations.
Pintu Pro works independently and provides lawful, authorised assistance. It does not claim affiliation with AI platforms or guarantee that every attack can be prevented.
Conclusion
Information an AI reads should not automatically become an instruction it obeys. Limit permissions, protect sensitive data, validate actions and keep humans involved in high-impact decisions. Safe AI adoption requires security controls alongside innovation.
Pintu Pro is an independent cybersecurity and digital privacy assistance service. It is not a government agency, law-enforcement body, bank, legal practice or representative of any technology platform. Services are limited to lawful, authorised guidance, and no outcome is guaranteed. This article is general information, not legal or financial advice.



