> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/code-scanning/aikido-malware-scanning.md).

# Safe Chain: Prevent Malware Installs

Aikido protects your team from malicious packages at install time. There are two approaches depending on your setup.

## Aikido Device Protection (recommended)

A lightweight agent deployed across your team's devices. It blocks malicious packages before they install, gives you full visibility into every package installed across your organization, and lets you set approval policies per team or ecosystem.

{% content-ref url="/pages/19iaXv7HDfrkK1exPJG8" %}
[What is Device Protection](/aikido-device-protection/endpoint-protection.md)
{% endcontent-ref %}

## Safe Chain (open source)

An open source CLI tool that wraps your package managers (npm, pip, and others) to block malware at install time. Best suited for individual developers or CI/CD pipelines.

* [Safe Chain on GitHub](https://github.com/AikidoSec/safe-chain)
* [Using Safe Chain in CI/CD environments](https://github.com/AikidoSec/safe-chain#usage-in-cicd)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.aikido.dev/code-scanning/aikido-malware-scanning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
