# 3rd Party Library

As our applications grow, we depend more and more on third party libraries, which means codes that we do not write ourselves. So you want to make sure the library you added can be trusted

To solve this:

* npm audit (check # audit package.json).&#x20;
* npm install -g snyk (snyk test for # audit node\_modules directory)

So always make sure that the third party libraries that you're using are always up to date and that you're not using any packages that have known vulnerabilities (at the same time, make sure the update does not make breaking change)


---

# 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://edsonha.gitbook.io/my-gitbook/junior-to-senior-1/security/3rd-party-library.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.
