ctest

Automate cloud security assessments across five phases for AWS, GCP, and Azure.

Updated Jun 23, 2024
One-click install
npx skills add https://github.com/n4igme/randscript --skill ctest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctest
Source: https://github.com/n4igme/randscript/tree/main/llm/skills/ctest
Command: npx skills add https://github.com/n4igme/randscript --skill ctest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Cloud security assessments are often unstructured and hard to reproduce. ctest provides a structured 5-phase framework to orchestrate discovery, IAM analysis, service exploitation, and final reporting across AWS, GCP, and Azure, with gate checks and a centralized findings log to ensure consistent results.

Core Features & Use Cases

  • Structured 5-phase workflow (Discovery, IAM & Access, Service Exploitation, Container & Orchestration, Reporting) with gated progress.
  • Automated artifacts and state management via ctest-output (state.yaml, scope.md, findings-log.md).
  • IAM enumeration, metadata/probing, storage/service exploitation, container/RBAC testing, and cross-skill handoffs for holistic cloud security assessments.
  • Gate-driven advancement and abandon/pivot heuristics to optimize engagement efficiency.

Quick Start

Use the ctest tool to initialize an engagement and begin Phase 1 discovery.

Frequently Asked Questions about ctest

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

FAQPage Schema
How do I automate a multicloud pentest across AWS, GCP, and Azure?

Cloud pentests are automated across AWS, GCP, and Azure by orchestrating a structured 5-phase workflow covering discovery, IAM analysis, service exploitation, container testing, and reporting. The framework requires cloud CLI tools and proper authorization to manage engagement state and find misconfigurations.

What is the best way to identify IAM weaknesses during a cloud security assessment?

IAM weaknesses are identified during the IAM and Access phase through automated enumeration and analysis of cloud credentials. This phase maps permissions and access controls, guiding metadata probing and RBAC testing to detect misconfigurations before advancing via gate checks.

Can I use this framework to test container and orchestration security in the cloud?

Container and orchestration security is tested during a dedicated phase that evaluates RBAC configurations and container service exploitation. This structured approach ensures container vulnerabilities are checked alongside service and IAM misconfigurations before final reporting.

Do I need cloud CLI tools installed before starting a cloud security engagement?

Cloud CLI tools including aws, gcloud, and az are required prerequisites to execute the security assessments. The framework relies on these CLIs for credential discovery, service exploitation, and state management throughout the gated workflow phases.

How does gate-driven progress work during a cloud security assessment?

Gate-driven progress enforces structured advancement through the five assessment phases by validating state and findings before proceeding. It includes abandon and pivot heuristics to optimize engagement efficiency when misconfigurations or blockages occur during testing.

Why are cloud security assessments hard to reproduce without a structured framework?

Cloud security assessments lack reproducibility without centralized state management and structured logging. This framework solves the problem by maintaining a state.yaml file, scope.md, and findings-log.md to track artifacts and gate checks across the entire engagement.