Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

hier-config

Latest version: v4.0.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
PyPI package Publisher: jtdub
154 Stars
39 Forks
1 Versions
182.9K Downloads
Python Repo language

Scan summary

hier-config was last scanned on 25 Nov 2026 at version 4.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 25 Nov 2026.
  • Findings: No rules fired in version 4.0.0.
  • Downloads: 182,859 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.0 LATEST 25 Nov 2026 No rules fired

No rules fired in 4.0.0

Findings

Findings for v4.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 4.0.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Hierarchical Configuration

Hierarchical Configuration, also known as hier_config, is a Python library designed to query and compare network devices configurations. Among other capabilities, it can compare the running config to an intended configuration to determine the commands necessary to bring a device into compliance with its intended configuration.

Hierarchical Configuration has been used extensively on:

  • [x] Cisco IOS
  • [x] Cisco IOSXR
  • [x] Cisco NXOS
  • [x] Arista EOS
  • [x] Fortinet FortiOS
  • [x] HP Procurve (Aruba AOSS)
  • [x] HP Comware5 / H3C
  • [x] Huawei VRP

In addition to the Cisco-style syntax, hier_config offers experimental support for Juniper-style configurations using set and delete commands. This allows users to remediate Junos configurations in native syntax. However, please note that Juniper syntax support is still in an experimental phase and has not been tested extensively. Use with caution in production environments.

  • [x] Juniper JunOS
  • [x] Nokia SRL (Service Router Linux)
  • [x] Ruckus/Brocade FastIron (ICX)
  • [x] VyOS

Newer drivers start life as experimental until they have seen wider production use — currently Aruba AOS-CX joins the list above in that status. See Supported Platforms for the authoritative per-platform status.

Hier Config is compatible with any NOS that utilizes a structured CLI syntax similar to Cisco IOS or Junos OS.

The code documentation can be found at: Hier Config documentation.

Why hier_config?

Network devices continuously drift from their intended state — VLANs appear, ACL entries change, BGP timers shift. hier_config solves this by parsing configuration text into a hierarchical tree and performing deterministic, line-level diffs that respect the vendor's own syntax rules. Rather than string-matching raw text, it understands the structure of commands so that remediation output is minimal, ordered, and safe to apply.

Highlights

See the Architecture Overview for how the tree, driver, and workflow layers fit together.

Installation

PIP

Version 4 is currently published as a prerelease; pip skips prereleases by default, so pass --pre:

pip install --pre hier-config

(The Quick Start below uses the v4 API. pip install hier-config without --pre installs the latest stable v3 release — see the v3 documentation for that API.)

Quick Start

Step 1: Import Required Classes
from hier_config import WorkflowRemediation, HConfig, Platform
from hier_config.utils import read_text_from_file
Step 2: Load Configurations

Load the running and intended configurations as strings:

running_config_text = read_text_from_file("./tests/fixtures/running_config.conf")
generated_config_text = read_text_from_file("./tests/fixtures/generated_config.conf")
Step 3: Create HConfig Objects

Specify the device platform (e.g., Platform.CISCO_IOS):

running_config = HConfig.from_text(Platform.CISCO_IOS, running_config_text)
generated_config = HConfig.from_text(Platform.CISCO_IOS, generated_config_text)
Step 4: Initialize WorkflowRemediation

Compare configurations and generate remediation steps:

workflow = WorkflowRemediation(running_config, generated_config)

print("Remediation Configuration:")
print(workflow.remediation_config)

This guide gets you started with Hier Config in minutes! For more details, visit Hier Config Documentation Site.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases hier-config

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Frame 2085668439 (1)
Group 1261154229