SkillAgentSearch skills...

Secml

Security Weaknesses in Machine Learning

Install / Use

/learn @daniel-e/Secml
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Introduction

Like software systems also machine learning can suffer from security weaknesses. This repository contains some resources to provide an overview.

Possible Security Issues in Machine Learning

Poisoning

In a poisoning attack an adversary can insert carefully crafted examples into the training data. Hence, this attack happens at training time. First, such an attack could degrade the performance of a machine learning model (the adversary targets the availability of the model). Second, the adversary could use this technique to inject a backdoor.

Resources

Evasion

An evasion attack happens at test time. Here, an instance that would be classified correctly without modification, will be misclassified when small modifications are added by the adversary. A well know example of evasion attacks are adversarial examples. An adversary adds small perturbations to an image which are invisible to a human but will fool the image classifier which will misclassify them into a category that can be chosen by the adversary.

Resources

Inversion Attacks

In inversion attacks an adversary tries to extract useful information from a machine learning model like training data that was used for the training. Due to the fact that machine learning is used in more and more privacy sensitive applications an adversary could learn very sensitive data of individuals.

Resources

Examples

This repositories contains some examples of attacks in the folder example. Examples are:

  • Create adversarial examples
  • Model stealing
  • Model inversion attacks

To run the examples it is recommended to create a virtual environment first and install all required packages in that environment:

virtualenv -p python3 venv
source venv/bin/activate
pip3 install -r requirements.txt

Resources

View on GitHub
GitHub Stars15
CategoryEducation
Updated2y ago
Forks2

Languages

Jupyter Notebook

Security Score

75/100

Audited on May 18, 2023

No findings