# What Is AI Model Security? Protecting Against Data Poisoning, Model Theft and Adversarial Attacks

**URL:** https://securesys.com.tr/en/learning/software-and-ai-security/ai-model-security-data-poisoning-and-model-theft-attacks

![What Is AI Model Security? Protecting Against Data Poisoning, Model Theft and Adversarial Attacks](/images/bilgi-merkezi/covers/cover-yzguv-08.webp)

### Introduction: An AI Model Is Also an Information Asset That Must Be Protected

When AI security is discussed, what usually comes to mind is the messages users send to the model, Prompt Injection attacks or sensitive data leaks.

However, the security of AI systems is not limited to the interaction between the user and the model.

The AI models themselves can also be exposed to security threats.

An attacker may try to alter the model's training data.

They may aim to make the model take wrong decisions in specific situations.

They may develop another model that imitates the behaviour of the model.

They may try to extract information about the model's training data.

Or they may carry out manipulations that cause the model to behave unexpectedly when faced with certain inputs.

These attacks have characteristics that differ from traditional application security.

For example, in a web application, an authorisation flaw may allow a user to reach a record they should not be able to access.

In a machine learning system, however, an attacker manipulating the training data may influence the model's future decisions.

Similarly, an attacker may try to imitate the model's behaviour through queries made over an API, without ever obtaining the model files directly.

For this reason, AI models should be treated not only as software components but also as information assets that must be protected.

In AI systems used in fields such as finance, healthcare, manufacturing, defence, energy and cyber security in particular, the reliability of the model can be critically important.

A security model that misclassifies may overlook real attacks.

A manipulated fraud detection system may misjudge certain transactions.

A quality control model whose reliability has been compromised may accept defective products.

In this article, we will examine the concept of AI Model Security, the types of model-level attacks, their possible impacts and enterprise defence methods.

**In AI security, it is necessary to evaluate not only the data sent to the model, but also how the model is built, how it is protected and how it makes decisions.**

### \1. What Is AI Model Security?

AI Model Security is the security discipline that aims to protect AI models in terms of confidentiality, integrity, availability and reliability.

Within this scope, the model's training process, the datasets used, the model parameters, the inference services and the deployment environment are assessed.

Model security matters across different types of AI.

For example:

- Large language models.
- Image classification models.
- Fraud detection systems.
- Anomaly detection models.
- Speech recognition systems.
- Recommendation systems.
- Industrial forecasting models.

Each of these systems may have a different attack surface.

An adversarial attack against an image classification model and a model extraction attack against a large language model may not share the same technical characteristics.

For this reason, an AI Model Security assessment should be carried out according to the model type, the intended use and the threat model.

### \2. Why Is AI Model Security Important?

Enterprise AI models carry different kinds of value.

#### Commercial value

An organisation may have developed a proprietary model as the result of long-running R&D work.

The parameters, architecture and behaviour of this model may carry commercial value.

#### Operational value

The model may be used as a decision support system in critical business processes.

A loss of model reliability can affect operations.

#### Data security

Personal data or sensitive corporate information may have been used in model training.

Some attack methods may aim to make the model disclose information about this data.

#### Competitive advantage

Proprietary training data and model optimisations can give the organisation a competitive advantage.

#### Regulatory obligations

Depending on the area of use, data protection requirements, sector regulations and AI governance requirements may apply.

For this reason, model security is a matter of both technical and corporate risk management.

### \3. The Lifecycle of an AI Model

To assess model security, one must first understand the lifecycle of the model.

A typical machine learning process may consist of the following stages:

- Data collection.
- Data preparation.
- Training.
- Evaluation.
- Model packaging.
- Deployment.
- Inference.
- Monitoring.
- Update or retraining.

Each stage creates different security risks.

For example, the Data Poisoning risk may arise at the data collection stage.

At the training stage, there may be a problem with infrastructure or code integrity.

At the deployment stage, model files may be altered.

At the inference stage, Model Extraction or adversarial attacks may be carried out.

At the monitoring stage, anomalies in model behaviour may go unnoticed.

#### Secure lifecycle

Data Sources

|

v

Data Security and Validation

|

v

Training Dataset

|

v

Model Training

|

v

Security and Performance Tests

|

v

Model Artifact Verification

|

v

Secure Model Registry

|

v

Inference Service

|

v

Access Control and Monitoring

|

v

Model Update / Retraining

Security controls need to be applied throughout this flow.

### \4. What Is Data Poisoning?

Data Poisoning is an attack approach that aims to influence model behaviour by manipulating the data the model uses in its training or learning process.

Machine learning models learn patterns from data.

If the training data is incorrect or manipulated, the relationships the model learns may be affected as well.

#### Example scenario

An organisation is developing a spam email detection model.

The model is trained on past emails.

If an attacker manages to include certain malicious emails in the training data labelled as safe, they may try to influence the model's future classification behaviour.

However, the success of the attack depends on the structure of the dataset, the proportion of samples controlled by the attacker, the training method and the defensive controls.

#### Goals of Data Poisoning attacks

Reducing model accuracy.

Causing specific samples to be misclassified.

Influencing the model's decision boundaries.

Creating unwanted behaviour in response to specific triggers.

These attacks are threats to model integrity.

### \5. Types of Data Poisoning Attacks

Data Poisoning can be carried out in different ways.

#### Label Flipping

Label Flipping is the manipulation of the labels of training samples.

For example, the aim may be to have a malicious file labelled as safe.

This method matters in supervised learning systems.

#### Clean-Label Poisoning

In Clean-Label Poisoning attacks, the visible labels of the samples may remain correct.

However, the samples may have been specially crafted to influence the model's learning behaviour.

Detecting this type of attack can be harder under some conditions.

#### Availability Poisoning

The aim is to degrade the model's overall performance.

The goal may be to make the model take wrong decisions in a large number of cases.

#### Targeted Poisoning

The aim is to cause specific inputs or a specific class to be misjudged.

#### Backdoor Poisoning

The attacker tries to instil in the training data a behaviour associated with a specific trigger.

We will examine this type of attack separately in the following sections.

### \6. How Can Data Poisoning Occur?

For a Data Poisoning attack to take place, the attacker needs to be able to influence the data the model uses or the learning process to a certain degree.

This influence can come from different sources.

For example:

Publicly available datasets.

User-generated content.

Third-party data providers.

Incorrectly labelled samples.

Insecure data collection processes.

Uncontrolled feedback mechanisms.

#### Example

A product recommendation system may be learning from user reviews.

An attacker may try to influence the system's learning data by creating a large number of manipulative reviews.

The effect of this depends on the learning method used and the data validation mechanisms.

#### Security approach

The reliability of the data source should be assessed.

Data changes should be monitored.

Labelling processes should be controlled.

Anomalous data distributions should be analysed.

Training data should be versioned.

Critical models should be evaluated with independent test datasets.

### \7. What Is a Backdoor Attack?

A Backdoor Attack is a type of attack that aims to make the model exhibit the attacker's intended behaviour when it encounters a specific trigger.

Under normal conditions, the model may work as expected.

However, when a certain feature or pattern is present, it may produce a different result.

#### Example scenario

An image classification model has been trained to recognise certain objects.

By manipulating the training process, an attacker may aim to have samples bearing a certain visual marker classified differently.

The model may appear successful in normal tests.

However, it may behave differently on inputs containing the trigger.

#### Why it matters for security

Backdoor attacks may aim to create targeted behaviour changes without noticeably reducing the model's overall performance.

For this reason, looking only at the overall accuracy rate is not enough.

Targeted security tests should also be carried out.

### \8. The Difference Between a Model Backdoor and a Software Backdoor

Traditional software backdoors are associated with the creation of hidden access or operation mechanisms inside the software.

Model backdoor attacks, on the other hand, target learned model behaviour.

For example, a traditional backdoor may open a specific access path.

A model backdoor, however, may cause certain inputs to be misclassified.

This distinction is important.

This is because detecting model backdoors may not be possible through source code review alone.

The model's behaviour and its training process also need to be assessed.

### \9. What Is an Adversarial Attack?

An Adversarial Attack is an attack approach that aims to make an AI model produce unexpected or incorrect results through manipulations of its inputs.

These attacks have been researched especially in image processing and classification systems.

However, they can also be seen in other machine learning applications.

#### Example

An image classification model may be recognising a particular object correctly.

An attacker can create changes to the image that will influence the model's decision.

In some cases, these changes can be hard to notice with the human eye.

However, they can affect the model's classification result.

#### An important distinction

This does not mean that every adversarial example will succeed in the real world.

The effect of the attack depends on the model architecture, how the input is processed, the attacker's level of knowledge and physical conditions.

For this reason, laboratory results and production environment risks should be assessed separately.

### \10. White-Box and Black-Box Adversarial Attacks

Adversarial attacks can be classified according to the knowledge the attacker has about the model.

#### White-Box Attack

The attacker may have access to internal information such as the model architecture, parameters or gradients.

In this case, more detailed attack optimisations may be possible.

#### Black-Box Attack

The attacker can observe the model's input and output behaviour without knowing its internal structure.

For example, they can examine the model's responses by sending queries over an API.

#### Gray-Box Attack

The attacker has limited knowledge about the model.

For example, they may know the model family or some of the pre-processing methods used.

This classification makes it possible to define attacker capabilities explicitly in security tests.

### \11. Why Are Adversarial Examples Dangerous?

Adversarial examples can affect the reliability of the model.

For example:

Image classification systems can make wrong decisions.

Anomaly detection models can overlook certain behaviours.

Fraud detection systems can be influenced by manipulative inputs.

Content classification systems can make incorrect assessments.

However, the real risk depends on which business process the model is used in.

For example, the security impact of a model that only offers recommendations differs from that of a model that applies decisions automatically.

For this reason, adversarial risk assessment should be carried out on the basis of the use scenario.

### \12. What Is an Evasion Attack?

An Evasion Attack is where an attacker manipulates inputs in order to make the model take a wrong decision at the inference stage.

This attack does not require altering the training data.

The model continues to operate as it is.

However, the attacker tries to influence the decision mechanism with specially crafted inputs.

#### Example scenario

A malware detection model analyses file characteristics.

The attacker may try to change some of the features the model uses while preserving the malicious behaviour.

The aim is to get the model to classify the file as safe.

In this scenario, the success of the attack depends on the model's features and defence mechanisms.

#### Protection approach

The model should be tested with different attack scenarios.

Dependence on a single security model should be avoided.

Behavioural controls should be used as support.

Model performance should be monitored with real-environment data.

### \13. What Is Model Theft?

Model Theft is an attack approach that aims to obtain the AI model itself, or its valuable characteristics, without authorisation.

Model Theft can take place through different methods.

For example, an attacker may seize the model files directly.

They may gain unauthorised access to the storage area containing the model weights.

They may target the model registry system.

Or they may try to develop another system that imitates the model's behaviour.

For this reason, the concept of Model Theft can relate both to traditional data theft and to the extraction of model behaviour.

### \14. What Is Model Extraction?

Model Extraction is an attack approach that aims to extract a model's behaviour or some of its characteristics through queries and observations.

For example, an organisation may offer a proprietary classification model as a service over an API.

An attacker may send a large number of queries and try to learn the model's input-output relationships.

They can then develop another model that imitates this behaviour.

#### An important distinction

Model Extraction does not always mean obtaining the weights or architecture of the original model exactly.

In some attacks, the aim is to create a surrogate model that makes similar decisions.

For this reason, the success of the attack should be assessed on the basis of behavioural similarity, query cost and the characteristics of the target model.

### \15. Why Are Model Extraction Attacks Important?

Proprietary models can require significant investment.

Data collection.

Model training.

Hyperparameter optimisation.

Performance evaluation.

Domain expertise.

The model developed as a result of this work can give the organisation a commercial advantage.

Model Extraction attacks may aim to erode part of this advantage.

In addition, the extracted surrogate model can be used to develop further attacks against the target system.

For example, an attacker may try out adversarial examples on the surrogate model.

However, there is no guarantee that these examples will be equally successful against the target model.

### \16. How Can Model Extraction Be Prevented?

It is not always possible to eliminate the risk of Model Extraction completely.

This is because the model has to produce certain outputs in order to deliver its service.

However, the risk can be reduced.

#### Rate Limiting

Query limits can be applied per user or per API key.

#### Authentication

Access to model services can be protected with authentication.

#### Quota Management

Usage volumes can be limited.

#### Anomaly Detection

Unusual query behaviour can be monitored.

#### Output Minimization

Detailed scores or model information that the application does not need may be left unshared.

#### API Security

Model endpoints can be protected with traditional API security controls.

None of these controls, on its own, guarantees prevention of all Model Extraction methods.

### \17. What Is Model Inversion?

Model Inversion is an attack approach that aims to extract the characteristics or certain representations of training data from model outputs or from information obtained about the model.

These attacks relate to the privacy properties of the model.

For example, under certain conditions, an attacker may try to make inferences about the training data on the basis of the features the model has learned.

#### An important point

Model Inversion does not always mean recovering the original training data exactly.

Some attacks produce approximate representations or statistical properties.

The level of risk depends on the model architecture, the type of data, the attacker's access and the method used.

### \18. What Is a Membership Inference Attack?

A Membership Inference Attack is an attack approach that aims to predict whether a particular data sample was in the model's training dataset.

This attack is especially important from a privacy perspective.

For example, an attacker may try to find out whether a particular record was used in the training process.

However, whether a successful inference can be made depends on the characteristics of the model and the conditions of the attack.

#### Risks

Disclosure of information about membership of the training dataset.

Privacy inferences about particular datasets.

Obtaining indirect information about sensitive data processing activities.

#### Protection approach

Data minimisation should be applied.

The model's overfitting behaviour should be assessed.

Privacy-focused training methods should be examined.

Model outputs should be designed so that they do not disclose unnecessary information.

Privacy tests should be carried out.

### \19. Model Memorization and Data Leakage

Some AI models can memorise certain content in their training data.

This is especially important in scenarios where sensitive information has been included in the training data.

For example, a model may reproduce certain texts found in the training data under suitable conditions.

However, it should not be assumed that every model stores all of its training data verbatim or can disclose it in every query.

The risk depends on the model architecture, the training method, data duplication and the query conditions.

#### Security approach

Training data should be classified.

Unnecessary sensitive information should be removed.

Data processing purposes should be defined.

Model privacy tests should be carried out.

Control of sensitive outputs should be considered.

### \20. Differential Privacy in Model Security

Differential Privacy is an approach that aims to define certain privacy guarantees mathematically.

When used with appropriate methods in machine learning systems, it can help limit the influence of individual training samples on model outputs.

However, applying Differential Privacy does not automatically eliminate all privacy risks.

The level of protection depends on the method used, the parameters and the way it is implemented.

#### Points to consider

The privacy budget.

The impact on model performance.

Dataset characteristics.

Training cost.

Implementation correctness.

For this reason, Differential Privacy should be assessed according to enterprise needs.

### \21. Model Fine-Tuning Security

Fine-Tuning is the process of putting a pre-trained model through additional training for specific datasets or tasks.

This process can help organisations develop models suited to their own domains.

However, it can create new risks from a security perspective.

#### Possible risks

Manipulated fine-tuning data.

Training samples containing sensitive data.

Insecure model files.

Unauthorised access to the training environment.

Unexpected changes in model behaviour.

#### Secure approach

Fine-tuning data should be validated.

Data sources should be recorded.

The training environment should be protected.

Model versions should be managed.

Post-training security tests should be carried out.

### \22. Model Registry Security

A Model Registry is the system in which model versions, metadata and related artifacts are managed.

It can play an important role in enterprise MLOps architectures.

However, if model registry security is inadequate, model integrity may be put at risk.

For example, an unauthorised user may modify a model version.

The wrong model may be moved into the production environment.

Or model files may be downloaded without authorisation.

#### Security controls

Authentication.

Role-based access control.

Model version management.

Artifact integrity verification.

Change logs.

Secure storage.

Approved deployment processes.

These controls support the reliability of the model lifecycle.

### \23. Model Artifact Security

A model artifact refers to the files and related components stored for the deployment or reuse of a trained model.

For example, model weights, configuration files or serialised objects may fall within the scope of an artifact.

These files should be assessed from a security perspective.

#### Risks

Unauthorised modification of model files.

Model packages containing malicious content.

Insecure serialisation mechanisms.

Lack of integrity checks.

Untrusted model sources.

In particular, some serialisation formats can create a risk of code execution when untrusted files are loaded.

For this reason, model files should not be treated as data alone.

#### Protection approach

Trusted sources should be used.

Artifact integrity should be verified.

Insecure loading mechanisms should be avoided.

Model files should be put through appropriate security scans.

The runtime environment should be isolated.

### \24. AI Model Security and the Supply Chain

AI systems depend on many external components.

For example:

Open-source models.

Training datasets.

ML libraries.

Model hub platforms.

Container images.

Training frameworks.

Third-party optimisation tools.

Each of these components can create supply chain risk.

For example, a model file downloaded from an untrusted source may contain malicious content.

A vulnerability in a training library may affect the infrastructure.

A dataset may have been manipulated.

#### Security approach

The model and data sources should be verified.

Dependencies should be inventoried.

Version management should be applied.

Vulnerabilities should be tracked.

Artifact integrity should be checked.

These topics will be examined in more detail in the MLOps and AI supply chain security chapter of our series.

### \25. Model API Security

When an AI model is exposed through an API, traditional API security controls become important.

For example:

Authentication.

Authorization.

Rate limiting.

Input validation.

Logging.

Network security.

Resource management.

These controls can help reduce risks such as Model Extraction and unauthorised use.

However, model API security does not consist of traditional API tests alone.

Threats specific to model behaviour also need to be assessed.

### \26. Model Denial of Service and Resource Consumption

AI models can use significant computing resources.

Inference operations for large models in particular can cause high CPU, GPU and memory consumption.

For this reason, attackers may try to carry out behaviours aimed at increasing resource consumption.

#### Possible risks

Sending excessive queries.

Long or complex inputs.

Uncontrolled processing loops.

High-cost inference requests.

Exceeding resource limits.

#### Protection approach

Per-user quotas should be applied.

Request sizes should be limited.

Timeout policies should be established.

Resource consumption should be monitored.

Cost limits should be set.

These controls support model availability and operational sustainability.

### \27. Model Drift and Security

Model Drift is a concept relating to changes over time in a model's performance or in the relationships within the data.

This does not always mean a cyber attack.

For example, user behaviour may change.

New data types may emerge.

Business processes may change.

However, unexpected changes in model performance should also be assessed from a security perspective.

#### Example

A fraud detection model has learned certain transaction patterns.

Over time, new fraud methods may emerge.

The model's detection performance may decline.

This may not be a direct Data Poisoning attack.

However, it can have a security impact.

#### Protection approach

Model performance should be monitored.

Data distributions should be tracked.

Anomalous changes should be analysed.

Retraining processes should be run in a controlled manner.

### \28. What Is AI Model Security Testing?

AI Model Security Testing is the assessment of the resilience of AI models against security threats.

These tests may vary according to the intended use of the model.

#### Test areas

Data Poisoning resilience.

Backdoor behaviours.

Adversarial examples.

Model Extraction risk.

Model privacy.

Membership Inference.

Model Inversion.

API security.

Artifact integrity.

#### Testing approach

First, the model type and intended use should be determined.

Next, the attacker's level of access should be defined.

Test datasets should be prepared.

Security scenarios should be executed.

Model behaviour should be measured.

The real system impact of the findings should be assessed.

### \29. The Difference Between AI Model Pentest and Traditional Pentest

Traditional penetration testing can focus on areas such as network, system, web application and API security.

An AI Model Pentest, on the other hand, also assesses risks specific to model behaviour and learning mechanisms.

For example, during a traditional penetration test, an authorisation flaw may be found in a model API.

During AI Model Security Testing, by contrast, how the model behaves when faced with certain adversarial inputs may be examined.

Similarly, Model Extraction risks can be assessed.

For this reason, AI Model Security Testing does not replace traditional penetration testing.

It extends security assessment to the model level.

### \30. Layered Defence for Model Security

In an AI Model Security approach, a single control is not enough.

#### Data layer

Training data should be validated.

Data sources should be monitored.

Sensitive information should be classified.

#### Training layer

The training environment should be protected.

Code and dependencies should be assessed.

Training processes should be recorded.

#### Model layer

Model integrity should be verified.

Model versions should be managed.

Security tests should be carried out.

#### API layer

Authentication should be applied.

Rate limiting should be used.

Unauthorised access should be blocked.

#### Operations layer

Model behaviour should be monitored.

Anomalies should be assessed.

Incident response processes should be established.

When these layers are used together, model security can be managed more comprehensively.

### \31. Example Scenario: Fraud Detection Model

Let us assume that a financial institution uses a fraud detection model.

The model is trained on past transaction data.

New transactions are evaluated by the model.

Suspicious transactions are passed on to the relevant control processes.

#### Risk 1: Data Poisoning

Manipulated training data can influence the model's decision behaviour.

#### Risk 2: Evasion Attack

An attacker may try to evade the model's detection by changing certain transaction characteristics.

#### Risk 3: Model Extraction

Attempts may be made to imitate the behaviour of the model API with a large number of queries.

#### Risk 4: Model Drift

New fraud methods can reduce the model's performance.

#### Risk 5: Unauthorised access

Unauthorised access may be gained to model services or training data.

#### Secure approach

Training data should be validated.

Model performance should be monitored.

Adversarial tests should be carried out.

API access should be restricted.

Model versions should be controlled.

Critical decisions should be supported by appropriate independent controls.

### \32. Example Scenario: Cyber Security Detection Model

Let us assume that an organisation uses machine learning for malware or anomaly detection.

The model classifies suspicious activity by analysing system behaviour.

This system can provide significant security advantages.

However, the model itself can also be a target of attack.

#### Possible threats

Evasion Attack.

Data Poisoning.

Model Extraction.

False positive and false negative results.

Model Drift.

#### Security approach

Model outputs should not be treated as a definitive decision on their own.

They should be used together with traditional security controls.

Model performance should be measured regularly.

Attack scenarios should be tested.

Critical events should be subject to analyst review.

In SOC operations in particular, model security is important for sustaining the quality of detection.

### \33. Example Scenario: Enterprise LLM Fine-Tuning

An organisation is putting a custom language model through a fine-tuning process using its own documents.

The training data is being collected from different departments.

In this process, some documents may contain personal data or trade secrets.

#### Risk 1: Use of sensitive data

Unnecessary personal data may be included in the training process.

#### Risk 2: Data poisoning

Manipulated training samples can influence model behaviour.

#### Risk 3: Model integrity

Model files may be modified without authorisation.

#### Risk 4: Model privacy

Attempts may be made to draw inferences about the training data through specific queries.

#### Risk 5: Supply chain

The base model or training components used may carry security risks.

#### Secure approach

The training dataset should be classified.

Sensitive information should be assessed.

Data sources should be validated.

Model artifacts should be protected.

Privacy and security tests should be carried out.

This approach is important in enterprise LLM development processes.

### \34. The SECURESYS AI Model Security Approach

At SECURESYS, we believe that AI model security should not be assessed only at the application layer.

This is because AI models work together with training data, model parameters, inference services and deployment infrastructure.

For this reason, the security assessment should cover the entire model lifecycle.

Depending on the project scope, the following areas can be addressed together:

#### AI Model Security Assessment

Assessment of the model architecture, access paths and security controls.

#### Data Poisoning Risk Assessment

Review of training data sources and data integrity controls.

#### Adversarial Testing

Assessment of the model's behaviour in the face of manipulative inputs.

#### Model Extraction Assessment

Review of the behavioural extraction risks of the model API.

#### Model Privacy Assessment

Assessment of the risk of the model disclosing sensitive information about its training data.

#### Model API Security Testing

Review of authentication, authorisation and resource usage controls.

#### MLOps Security Assessment

Assessment of model development, packaging and deployment processes from a security perspective.

#### AI Red Teaming

Testing model and application security with realistic attack scenarios.

The main goal of this approach is not merely to identify vulnerabilities.

It is to help organisations use their AI models in a reliable, controlled and sustainable way.

### \35. AI Model Security Checklist

#### Training data security

- Have the data sources been verified?
- Is the training data versioned?
- Is data integrity checked?
- Have Data Poisoning risks been assessed?

#### Model integrity

- Are the model artifacts protected?
- Are model versions managed?
- Are unauthorised model changes prevented?
- Are untrusted model files checked?

#### Model privacy

- Has sensitive training data been classified?
- Has the Membership Inference risk been assessed?
- Are Model Inversion tests necessary?
- Do the model outputs disclose unnecessary information?

#### Model API security

- Is authentication applied?
- Is rate limiting in place?
- Have usage quotas been defined?
- Is anomalous query behaviour monitored?

#### Adversarial security

- Have adversarial tests been carried out?
- Have evasion scenarios been assessed?
- Have backdoor risks been examined?
- Is model performance measured regularly?

#### Operational security

- Are model changes recorded?
- Is Model Drift monitored?
- Is there a security incident response process?
- Do model updates go through security tests?

This checklist can be extended according to the intended use and risk level of the model.

### Frequently Asked Questions

#### What is AI Model Security?

AI Model Security is the security discipline that aims to protect AI models in terms of confidentiality, integrity, availability and reliability.

#### What is Data Poisoning?

Data Poisoning is an attack approach that aims to influence model behaviour by manipulating the model's training or learning data.

#### What is a Backdoor Attack?

A Backdoor Attack is a type of attack that aims to make the model exhibit the attacker's intended behaviour when faced with specific triggers.

#### What is an Adversarial Attack?

An Adversarial Attack aims to produce incorrect or unexpected results by manipulating model inputs.

#### What is an Evasion Attack?

An Evasion Attack is a type of attack that aims to make the model take a wrong decision at the inference stage by means of specific inputs.

#### What is Model Theft?

Model Theft is an attack approach that aims to obtain the model itself, or its valuable characteristics, without authorisation.

#### What is Model Extraction?

Model Extraction is an attack approach that aims to extract a model's behaviour or some of its characteristics through queries and observations.

#### Are Model Extraction and Model Theft the same thing?

Not exactly. Model Extraction is one of the methods that can be considered within the scope of Model Theft. Model Theft may also involve directly seizing the model files.

#### What is Model Inversion?

Model Inversion is an attack approach that aims to extract the characteristics of training data from model outputs or model information.

#### What is Membership Inference?

It is an attack approach that aims to predict whether a particular data sample was in the model's training dataset.

#### How is a Model Backdoor detected?

Model behaviour tests, training data assessment and targeted security analyses can be used. However, there is no guarantee that every type of backdoor will be detected with certainty.

#### Can Model Extraction be prevented completely?

It cannot be guaranteed in every case. Controls such as authentication, rate limiting, usage quotas and anomaly detection can reduce the risk.

#### What is an AI Model Pentest?

An AI Model Pentest is the assessment of a model's behaviour, access paths and security controls through controlled attack scenarios.

#### Is Model Drift a cyber attack?

Not always. Model Drift can result from natural changes in data. However, it can produce performance changes that need to be monitored from a security perspective.

#### Does Differential Privacy eliminate all privacy risks?

No. The level of protection depends on the method and parameters used.

#### Are open-source AI models secure?

Security depends on the model's source, artifact integrity, dependencies, configuration and usage environment. Being open source does not, on its own, provide a security guarantee.

### Conclusion: The Security of an AI Model Is a Broader Matter Than the Answer It Produces

AI models are taking on increasingly important roles in organisations' business processes.

They detect fraud.

They classify images.

They analyse cyber security incidents.

They interpret documents.

They contribute to decision support systems.

However, the reliability of these models does not depend solely on their producing correct answers.

Training data can be manipulated.

Model parameters can be changed without authorisation.

Model behaviour can be influenced with specific inputs.

Attempts can be made to obtain the model's commercial value without authorisation.

Inferences can be made about the confidentiality of training data.

For this reason, AI Model Security is a fundamental requirement for the secure development and operation of AI systems.

In a secure model lifecycle:

Data sources must be validated.

Training processes must be protected.

Model artifacts must be managed securely.

Inference services must be protected with access control.

Adversarial tests must be carried out.

Model privacy must be assessed.

Model behaviour must be monitored continuously.

And security controls must be updated regularly.

The fundamental principle in AI security is clear:

**It is not enough to expect the model to make the right decision; it is also necessary to test under what conditions the model can make the wrong one.**

This is because a trustworthy AI is not merely a model with a high accuracy rate.

It is also a system that has been assessed against manipulation, whose access paths are protected, whose data sources are controlled and which is monitored throughout its lifecycle.

### Next Chapter

#### Chapter 9: MLOps and AI Supply Chain Security – Model, Dataset and Pipeline Risks

In the next article, we will examine the development and deployment processes of AI models.

What is MLOps?

How is ML Pipeline security ensured?

Why should the Model Registry be protected?

What are the risks of open-source models and datasets?

How is model artifact security verified?

Why are ML-BOM and AI-BOM important?

And most importantly:

**How can organisations manage AI models securely from the development stage through to the production environment?**

Chapter 8 is complete. With the next “continue” message, we will proceed with Chapter 9: MLOps and AI Supply Chain Security – Model, Dataset and Pipeline Risks.
