Why Kenyan companies hire AI security engineers
AI security engineers test and harden applications built on large language models (LLMs), including retrieval pipelines, AI agents and MCP servers. Their core job is finding and fixing prompt injection, where instructions hidden in user input or outside documents make the model act against the company's intent, along with excess tool permissions, data exposure and supply chain risk.
In a typical week the engineer:
- Tests LLM features for direct and indirect prompt injection and for unsafe output handling
- Reviews what each agent tool can read, change or send, and cuts those permissions to what the task needs
- Checks retrieval pipelines so users cannot receive documents they lack access to in the source system
- Reviews model sources, plugins, MCP servers and dependencies before they reach production
- Adds guardrails, input and output filtering, and logging of prompts, tool calls and decisions
- Threat models new AI features with product and engineering teams before launch
Kenyan companies hire for this work because the rules around personal data and financial systems apply to AI features as much as to any other system. The Data Protection Act, 2019 (No. 24 of 2019), sections 41, 42 and 43, requires controllers and processors to find foreseeable risks to personal data, keep safeguards against them and verify that those safeguards work. Section 31 requires a data protection impact assessment where processing is likely to create a high risk to people's rights. Where a breach risks harm, the controller must tell the Data Commissioner without delay and within 72 hours of becoming aware. A retrieval pipeline that exposes customer records to the wrong user is therefore both a security defect and a reportable event.
Banks and payment service providers face the Central Bank of Kenya's cybersecurity guidance. The 2017 guidance note asks institutions to bring in outside cybersecurity expertise and run an independent cyber threat test at least once a year. The 2019 payment service provider guideline requires annual penetration testing of critical cyber assets where no effective continuous monitoring exists. The Computer Misuse and Cybercrime (Critical Information Infrastructure and Cybercrime Management) Regulations, 2024 require owners of critical information infrastructure to run regular security audits and penetration testing and to notify the Committee before outsourcing cybersecurity capabilities. The CBK is aligning its guidance with those regulations, so institutions must meanwhile comply with both.
The Kenya Artificial Intelligence Strategy 2025-2030 commits the country to data sovereignty, a cybersecurity framework and ethical oversight. It is a policy document and does not itself bind businesses. A draft Kenya Artificial Intelligence and other Emerging Technologies Policy (July 2026) was put out for public comment and had not been adopted as of 1 December 2026. Companies should plan for both, but treat neither as current law.
Available through DeployOpen, remote AI security engineers can join your team to do this work on the systems you direct. Hire application security engineers for Kenyan companies covers the closely related role of securing the application layer around AI features.
Kenyan rules that shape AI security work
The Kenyan laws and central bank guidance that set testing, risk assessment, breach reporting and authorization duties for AI security work, and what each asks of the engineer.
| Rule | Issuer | What it means for the work |
|---|---|---|
| Data Protection Act, 2019, sections 41, 42 and 43 | Office of the Data Protection Commissioner (ODPC) | The company must find foreseeable risks to personal data, keep safeguards in place and verify they work and stay current. The engineer tests whether AI features, retrieval pipelines and agent tools expose personal data, and needs read access to those pipelines, their logs and their access rules. Where a breach risks harm, the company must notify the Data Commissioner within 72 hours, and a processor must notify the controller within 48 hours where practicable, so the engineer must have a clear route to escalate suspected exposure the same day. |
| Data Protection Act, 2019, section 31 (data protection impact assessment) | Office of the Data Protection Commissioner (ODPC) | Where an AI feature is likely to create high risk to people's rights, the company must complete a written impact assessment covering risks and safeguards, and consult the Data Commissioner beforehand if the risk is high. The engineer supplies the technical findings for that assessment, covering prompt injection, data leakage through retrieval and what the model can reach, and needs access to the design documents and data flows for each AI feature. |
| Guidance Note on Cybersecurity (August 2017), part 3.2 | Central Bank of Kenya (CBK), issued under section 33(4) of the Banking Act | Applies to banks licensed under the Banking Act. The note expects outside cybersecurity expertise, an independent threat test at least once a year, regular penetration tests reported to the board, and external assessments reported to the board and the CBK each year. For AI features in a bank, the engineer's testing counts toward this program, so scope must be agreed with the internal audit and risk functions. In September 2025 the CBK said institutions must meanwhile comply with both this note and the 2024 cybercrime regulations. |
| Guideline on Cybersecurity for Payment Service Providers (July 2019), part 3.2.5 | Central Bank of Kenya (CBK), issued under section 31(2)(b) of the National Payment System Act, 2011 | Applies to payment service providers. Without effective continuous monitoring, the provider must run quarterly vulnerability scans of critical assets, an annual penetration test covering at least those assets, and bi-annual vulnerability assessments. Where an AI assistant handles payments or account data, the engineer's test plan should match these cycles and cover the assistant's tools and the payment systems it can reach. |
| Computer Misuse and Cybercrime (Critical Information Infrastructure and Cybercrime Management) Regulations, 2024 (Legal Notice 44 of 2024) | Cabinet Secretary responsible for ICT; National Computer and Cybercrimes Co-ordination Committee | Applies to owners of critical information infrastructure. They must run regular security audits and penetration tests, annual risk assessments and internal cybersecurity audits, and must notify the Committee before outsourcing cybersecurity capabilities, remaining responsible for the outsourced work. Engineers placed through an outsourcing arrangement should expect the company to confirm the notification has been made. The status of these Regulations is inconsistent in published sources, so confirm it with the regulator before relying on it. |
| Computer Misuse and Cybercrimes Act (Cap. 79C), section 18 and the authorized testing exception | Parliament of Kenya; National Computer and Cybercrimes Co-ordination Committee | Possessing or supplying tools designed mainly for computer offenses is itself an offense, and an act intended for authorized testing is excluded. In practice, the engineer's exploit code, prompt injection payloads and test tooling should be used only under written authorization from the system owner, with the scope, systems and dates stated in that authorization before any testing starts. |
| Draft Kenya Artificial Intelligence and other Emerging Technologies Policy (July 2026) | State Department for ICT and the Digital Economy | Proposed and not in force as of 1 December 2026. It was put out for public comment, so it does not yet bind AI work. Companies planning AI features should track it, and an engineer who can document AI risk assessments and logging of prompts, tool calls and decisions will be easier to align with its direction if it is adopted. |
Setting up the role under Kenyan rules
Engineers working on AI systems usually need access to production data, retrieval indexes, logs and tool connections, and some of that data is personal. Under the Data Protection Act, 2019, controllers and processors must find foreseeable risks to personal data, keep safeguards against them, and verify that those safeguards work and stay current. A security test is one way to verify them, so the engineer's access should be tied to that duty and granted only for that purpose.
- Authorization in writing. Under the Computer Misuse and Cybercrimes Act, an act done for the authorized testing of a computer system is not an offense. In practice, get written authorization from the system owner before testing starts. Name the systems, environments, accounts and test window it covers, and say which tools the engineer may run against them.
- Personal data handling. Agree in writing whether the engineer may view actual customer records, or only synthetic or masked data. Where testing will process personal data, ask your privacy adviser whether a data protection impact assessment under section 31 is needed, since high-risk processing requires one and prior consultation with the Data Commissioner when the assessment shows high risk.
- Incident reporting. Set who the engineer tells, and how fast, if a finding looks like a breach. The Act requires the controller to notify the Data Commissioner within 72 hours of becoming aware of a breach that risks harm, and a processor to tell the controller within 48 hours where practicable. Write the escalation path into the engagement so the clock is not lost while people work out who should act.
- Regulated sectors. If you are a bank, payment service provider or other licensed institution, the Central Bank of Kenya rules on penetration testing and outside cybersecurity expertise apply to the testing program. For critical information infrastructure, the 2024 Regulations also require notifying the Committee before outsourcing cybersecurity capabilities. Confirm your status with the regulator and your own adviser.
- Legal and privacy adviser. Involve your legal or privacy adviser before the first test. Bringing them in after a finding is too late. They should confirm the authorization scope, the personal data plan, and whether any regulator must be told before outsourcing or testing begins. DeployOpen quotes each role, and terms are agreed for each role.
Skills to hire for in AI security
These are the skill areas that separate an engineer who can secure an LLM application from one who has only read the guidance. Each card says what the work involves and how to tell the skill is genuine before you make an offer.
Prompt injection and jailbreak testing
The engineer plants instructions in documents, web pages and user inputs, then checks whether the application follows them. Indirect injection, where the instructions arrive through content the model reads, is the harder case and the one to probe. Ask for a write-up of a payload that changed model behavior, with the exact input and the observed effect. Kenya's Data Protection Act, 2019 (sections 41 to 43) requires foreseeable risks to personal data to be found and safeguards verified, and injection is a common route to that data.
OWASP guidance for LLM applications
Strong candidates use the OWASP guidance as a checklist for an actual system, mapping each risk to a feature they tested and a result. Weak candidates recite the list without linking it to evidence. Ask them to walk through how they would rate unsafe output handling in a feature that writes code or database queries.
MCP server and agent tool security
The engineer reviews what each tool and MCP server can read, change or send, and cuts permissions to what the task needs. Excess permissions are the main thing that turns a successful injection into serious damage. Ask how they would check tool descriptions for unsafe instructions and how they would confirm an agent cannot call a tool outside its task.
Retrieval pipeline and vector store access control
Data exposure through retrieval is common when access rules sit in the application and not in the vector store. The engineer tests whether a user can receive a document they should not see and fixes the check at the right layer. Ask the candidate to explain where the permission check runs and what happens when a document's access rules change after it has been indexed.
Model and dependency supply chain review
The engineer checks model sources, plugins, MCP servers and dependencies for tampering, unsafe defaults and unmaintained code. Under Kenya's Computer Misuse and Cybercrimes Act, possessing tools designed mainly for offenses is itself an offense, so the engineer's test tooling needs written authorization from the system owner. Ask how they track provenance for a third-party model and what they would do if a dependency was compromised.
Logging and monitoring of agent behavior
The engineer ensures prompts, tool calls and decisions are logged so an incident can be reconstructed. Where a breach risks harm to a person, the Data Protection Act, 2019 requires the controller to tell the Data Commissioner within 72 hours of becoming aware, and a processor to tell the controller within 48 hours where practicable. Ask how they would design logs that support that deadline without storing more personal data than necessary.
Questions hiring teams ask about this role
How is an AI security engineer different from an application security engineer?
An application security engineer tests the code, APIs and dependencies of a product, and most of their findings are fixed in conventional code. An AI security engineer works on applications built on large language models, so the main risks sit in prompts, retrieved documents, agent tool permissions and MCP servers. If your team is building an AI feature, look for someone who can do both, and read the application security engineers for Kenyan companies page for the broader role.
What should the job description say for this role?
Name the AI systems the engineer will review, such as a retrieval-augmented chatbot, an internal agent or an MCP server, and state whether the work is testing, design review, or both. List the skills that matter: prompt injection testing, OWASP guidance for LLM applications, retrieval pipeline access control and agent tool security. Say who the engineer will work with, since threat modeling before launch needs product and engineering input.
Can one engineer cover the work, or do we need two roles?
One engineer can cover a single AI feature or a small set of agents. If you run several AI products, or if you also need someone to build monitoring and guardrails, split the work between an AI security engineer who tests and an engineer who builds the controls. Scope the first hire to the systems that carry the most risk, such as anything that can read customer data or call internal systems.
Which tools matter, and which can the candidate pick?
The tool matters less than the method. Strong candidates can show how they test for prompt injection, how they limit what each tool and MCP server can read, change or send, and how they log prompts and tool calls. Guardrail and output filtering products are largely interchangeable, so judge the candidate on whether they can explain the control they chose and why.
How does Kenya's data protection law affect this work?
The Data Protection Act, 2019 (No. 24 of 2019), sections 41, 42 and 43, requires controllers and processors to find foreseeable risks to personal data, keep safeguards against them, and verify that those safeguards work and stay current. Section 31 requires a data protection impact assessment where processing is likely to create a high risk to people's rights, and the controller must consult the Data Commissioner beforehand when that assessment shows high risk. Breaches that risk harm must be reported to the Data Commissioner within 72 hours, and a processor must tell the controller within 48 hours where practicable. Ask your legal or compliance adviser how these duties apply to your AI system.
How do we authorize testing of AI systems under Kenyan law?
The Computer Misuse and Cybercrimes Act (Cap. 79C), section 18, makes it an offense to make available or possess a device or program designed mainly to commit computer offenses, but an act intended for authorized training, testing or protection of a computer system is not an offense. In practice, get written authorization from the system owner before any test, and define the scope in writing. Your legal adviser should confirm the position, since the Act was amended by Act No. 17 of 2025.
How do we check a candidate's LLM and agent security skills?
Use a hands-on round as well as interviews. A CyberHire lab for the role gives the candidate a separate set of virtual machines and a time limit that starts when they press Start, and each round sets a rule for AI assistants. You then review a task timeline, a command log and a score against the pass mark, along with blind scorecards from each reviewer. Your own interviews should test how the candidate reasons about a production agent design, including what they would cut from a tool's permissions first. Hours and terms are agreed for each role.
Hiring AI security engineers through DeployOpen
Global talent that saves cost. DeployOpen places an remote AI security engineer with your team. Before you accept, you review the engineer's scored CyberHire run.
Assessed in CyberHire
- Every engineer DeployOpen places completes a CyberHire lab for the role, and the client reviews the scored run before accepting the engineer
- The run shows a task timeline with the time, points, hints and wrong answers for each task
- The run shows a command log with every command, the time and the host it ran on, with pasted commands marked
Rates
- Rates are quoted for each role
- Ask for the quote with the role description, so it reflects the skills the role needs
Hours and terms
- Engineers work remotely
- Working hours are agreed for each role
- Contract terms are agreed for each role
How to start
- Send the role description, and DeployOpen replies with a quote for the role
- Hiring your own staff instead? CyberHire runs the same hands-on assessment for your candidates
Sources and further reading
- Office of the Data Protection Commissioner (ODPC): Data Protection Act ↗
- Central Bank of Kenya (CBK), issued under section 33(4) of the Banking Act: Guidance Note on Cybersecurity ↗
- Central Bank of Kenya (CBK), issued under section 31(2)(b) of the National Payment System Act, 2011: Guideline on Cybersecurity for Payment Service Providers ↗
- Cabinet Secretary responsible for ICT under the Computer Misuse and Cybercrimes Act; National Computer and Cybercrimes Co-ordination Committee: Computer Misuse and Cybercrime Regulations ↗
- Parliament of Kenya; National Computer and Cybercrimes Co-ordination Committee: Computer Misuse and Cybercrimes Act ↗
- The National Treasury, published on the CBK site: Draft National Payment System Policy 2026 ↗
- Ministry of Information, Communications and the Digital Economy: Kenya Artificial Intelligence Strategy 2025-2030 ↗
- State Department for ICT and the Digital Economy: Draft Kenya Artificial Intelligence and other Emerging Technologies Policy ↗

