# Code Dependency Attack

Attackers [have successfully inserted code](https://www.theregister.co.uk/2018/11/26/npm_repo_bitcoin_stealer/) designed to steal people’s bitcoin into popular open-source software packages that are used by some crypto wallets. The cost of auditing all the code that goes into a system is prohibitive, so this remains an appealing avenue for attacks.&#x20;

**Mitigation:**

* Use a mix of different hardware and software for your key storage system.&#x20;
* Use hardware wallets which have smaller and more carefully audited code bases.


---

# Agent Instructions: 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://docs.casa.io/wealth-security-protocol/threat-overview/code-dependency-attack.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.
