Kali Linux

Combobulator : Framework To Detect And Prevent Dependency Confusion Leakage And Potential Attacks

Combobulator is an Open-Source, modular and extensible framework to detect and prevent dependency confusion leakage and potential attacks. This facilitates a holistic approach for ensuring secure application releases that can be evaluated against different sources (e.g., GitHub Packages, JFrog Artifactory) and many package management schemes (e.g., ndm, maven).

Intended Audiences

The framework can be used by security auditors, pentesters and even baked into an enterprise’s application security program and release cycle in an automated fashion.

Main features

  • Pluggable – interject on commit level, build, release steps in SDLC.
  • Expandable – easily add your own package management scheme or code source of choice
  • General-purpose Heuristic-Engine – an abstract package data model provides agnostic heuristic approach
  • Supporting wide range of technologies
  • Flexible – decision trees can be determined upon insights or verdicts provided by the toolkit

Easly exstensible

The project is putting practicionar’s ability to extend and fit the toolkit to her own specific needs. As such, it is designed to be able to extend it to other sources, public registries, package management schemes and extending the abstract model and accompnaied heuristics engine.

Installation

Dependency Combobulator is ready to work with as it is – just git clone or download the package from https://github.com/apiiro/combobulator

Make sure to install required dependencies by running:

pip install -r requirements.txt

Arguments (–help)

-h, –help show this help message and exit
-t {npm,NuGet,maven}, –type {npm,NuGet,maven}
Package Manager Type, i.e: npm, NuGet, maven
-l LIST_FROM_FILE, –load_list LIST_FROM_FILE
Load list of dependencies from a file
-d FROM_SRC, –directory FROM_SRC
Extract dependencies from local source repository

-p–package SINGLE Name a single package.
-c CSV, –csv CSV Export packages properties onto CSV file
-gh GITHUB_TOKEN, –github GITHUB_TOKEN
GitHub Access Token (Overrides .env file setting)
-a {compare,comp,heuristics,heur}, –analysis {compare,comp,heuristics,heur}
Required analysis level – compare (comp), heuristics
(heur) (default: compare)

Supported package types (-t, –t): npm, maven

Supported source dependency assessment:

  • From file containing the dependency identifiers line-by-line. (-l, –load_list)
  • By analyzing the appropriate repo’s software bill-of-materials (e.g. package.json, pom.xml) (-d, –directory)
  • Naming a single identifier (-p, –package)

Analysis level is customizable as you can build your own preferred analysis profile in seconds. Dependency Combobulator does come with several analysis levels out-of-the-box, selected by -a, –analysis

Supported output format:

  • Screen stdout (default)
  • CSV export to designated file -(-CSV)
R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

21 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

21 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

3 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago