prowler-attack-paths-query

Generate openCypher queries for cloud attack path analysis in Neo4j and Neptune.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/vanhoangkha/cloud-security-audit --skill prowler-attack-paths-query-vanhoangkha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prowler-attack-paths-query
Source: https://github.com/vanhoangkha/cloud-security-audit/tree/main/multi-cloud/prowler/skills/prowler-attack-paths-query
Command: npx skills add https://github.com/vanhoangkha/cloud-security-audit --skill prowler-attack-paths-query-vanhoangkha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps security analysts and engineers identify and visualize potential attack paths within cloud environments by generating openCypher queries for graph databases.

Core Features & Use Cases

  • Attack Path Query Generation: Creates openCypher queries to detect privilege escalation, network exposure, and misconfigurations.
  • Graph Database Integration: Queries are compatible with Neo4j and Amazon Neptune, leveraging graph analysis for security insights.
  • Use Case: Automatically generate queries to find paths where an attacker could escalate privileges from a low-privileged IAM user to an administrator role, enabling proactive defense.

Quick Start

Generate an openCypher query to find attack paths related to EC2 instance privilege escalation.

Frequently Asked Questions about prowler-attack-paths-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate openCypher queries to find cloud attack paths?

You can generate openCypher queries to identify cloud attack paths by specifying targets like privilege escalation, network exposure, or misconfigurations. The generated queries adhere to openCypher Version 9 specifications for immediate execution.

What are cloud attack paths and how does graph analysis detect them?

Cloud attack paths are routes an attacker uses to escalate privileges or exploit misconfigurations. Graph analysis detects them by mapping relationships between resources, such as tracing paths from a low-privileged IAM user to an administrator role.

Does this openCypher query generation work with Amazon Neptune and Neo4j?

Yes, the generated openCypher queries are fully compatible with both Amazon Neptune and Neo4j graph databases. This allows you to leverage existing graph database environments for cloud security analysis.

How do I query EC2 instance privilege escalation paths in my cloud environment?

To query EC2 instance privilege escalation paths, you generate an openCypher query targeting the specific resource relationships. This reveals how an attacker might exploit misconfigurations to gain elevated access to your instances.

Do I need Cartography or pathfinding.cloud data to analyze cloud security attack paths?

Yes, the graph-based analysis relies on cloud infrastructure data mapped by Cartography or pathfinding.cloud. These tools populate the graph database with the necessary nodes and relationships for attack path detection.

What is the best way to visualize privilege escalation routes in a graph database?

The best way to visualize privilege escalation routes is by generating openCypher queries for Neo4j or Neptune. These queries extract the relational paths between IAM users and admin roles, allowing your graph database client to render the visual topology.