How to Start Tracking Your Application Dependencies
Tags: bestpractices, softwareengineering, applicationsecurity, applicationdependenc
Published: 2021-04-08 22:48:55

---
title: How to Start Tracking Your Application Dependencies
published: true
date: 2021-03-16 16:03:14 UTC
tags: bestpractices,softwareengineering,applicationsecurity,applicationdependenc
canonical_url: https://blog.shiftleft.io/how-to-start-tracking-your-application-dependencies-a31112a37bf3
---

![](https://cdn-images-1.medium.com/max/1024/1*GGwuLQeUdX0YTxE_GDbvhw.jpeg)<figcaption><em>Photo by Luis Gomes from </em><a href="https://www.pexels.com/photo/black-and-gray-laptop-computer-546819/"><em>Pexels</em></a></figcaption>

Do you know what dependencies your app is using? All of them? We recently wrote about [managing npm dependencies](https://blog.shiftleft.io/tips-for-managing-npm-dependencies-599fc978f9c2), but Node.js developers aren’t the only ones who rely on third-party libraries, APIs, and more in their applications.

We define dependency as anything that your app calls. This information is essential; knowing what you have is vital to keeping your application safe. The more outside dependencies there are, the greater the risk of security issues.

In this article, we take a look at how you can start tracking your app’s dependencies.

### Start Small

When you begin, mapping your application as a whole can be overwhelming. One way to make things easier is to start by looking at portions of your application. For example, you might focus on everything related to one feature or use-case (i.e., invoices, then payment processing).

### Get Your Information and Store It

Tracking app dependencies used to be done manually. Someone would audit the app and track all of the findings in spreadsheets and Visio diagrams. This process is labor-intensive, both in terms of creation and maintenance. Nevertheless, this is a low-cost and effective method for more straightforward applications.

If you use a dependency manager, these can be a great source of information: [Composer](https://getcomposer.org/) is popular with PHP users, there’s poetry for [Python](https://python-poetry.org/), and for apps using the Objective-C runtime, there’s [CocoaPods](https://cocoapods.org/). These aren’t trackers, but they can help identify and keep on top of the dependencies you use. For larger applications or those seeking to streamline the process, automated and application inventory management tools can do this. For example, Microsoft offers [Azure Application Insights](https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-dependencies).

### Don’t Forget About “Tribal Knowledge”

Tribal knowledge refers to the knowledge that’s held by some people and isn’t documented well. For example, it might be evident to everybody that your data comes from a MySQL database. It might not be apparent where that data comes from, however.

Because tracking your application dependencies requires complete knowledge, make sure that you include all of the relevant people in your mapping project (e.g., architects, tech leadership, and developers).

### Conclusion

Tracking your application’s dependencies can be difficult, but doing so is essential. Without this information, it’s tough for you to gauge and manage the risk posed to your application by security vulnerabilities.

* * *