pentest-agent-ci

Validate pentest agent configurations and scope files in CI/CD pipelines.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill pentest-agent-ci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pentest-agent-ci
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/pentest-agent-ci
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill pentest-agent-ci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures that automated security assessment pipelines remain safe, compliant, and fail-closed by validating configurations, scopes, and tool catalogs before any execution occurs.

Core Features & Use Cases

  • Policy Enforcement: Automatically verifies that dangerous categories like phishing or credential stuffing are disabled and that the agent is in a fail-closed state.
  • Integrity Auditing: Performs comprehensive checks on scope files, skill frontmatter, and catalog schemas to prevent unauthorized or risky operations.
  • Use Case: Integrate this into a CI/CD pipeline to automatically gate pull requests, ensuring that no pentest configuration changes violate safety policies or expose sensitive data before deployment.

Quick Start

Run the pentest-agent-ci skill to validate the current repository configuration and scope file against the defined security policy.

Frequently Asked Questions about pentest-agent-ci

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

FAQPage Schema
How do I validate pentest configuration files in a CI/CD pipeline?

Validating pentest configurations in a CI/CD pipeline involves checking security assessment scopes and tool catalogs against strict policies. This skill automates that by enforcing fail-closed execution logic and local-first, read-only access to repository configuration files before any pipeline execution occurs.

What is fail-closed execution logic for automated security assessments?

Fail-closed execution logic for automated security assessments means the pipeline halts if policy validation fails. This skill ensures safety by automatically verifying that dangerous categories like phishing or credential stuffing are disabled and blocking pull requests that violate security policies.

Can I use this skill to gate pull requests for unauthorized pentest scope changes?

Yes, you can use this skill to gate pull requests for unauthorized pentest scope changes. It performs comprehensive integrity auditing on scope files, skill frontmatter, and catalog schemas to prevent risky operations, ensuring no configuration changes expose sensitive data before deployment.

How do I prevent dangerous attack categories like phishing from running in automated pentest agents?

To prevent dangerous attack categories like phishing from running in automated pentest agents, you apply policy enforcement during the CI/CD validation phase. This skill automatically checks configurations to verify that high-risk categories are disabled and that the agent maintains a strict fail-closed state.

Does this skill require network access or external dependencies to validate security pipelines?

No, validating security pipelines with this skill does not require network access or external dependencies. It operates using local-first, read-only access to repository configuration files, ensuring that your security assessment validation remains isolated and strictly adheres to fail-closed execution logic.

What are the limitations of automated policy enforcement for pentest pipelines?

The limitations of automated policy enforcement for pentest pipelines include strict dependency on local-first, read-only repository files. Because it applies fail-closed logic, any unverified or unauthorized configuration changes will halt the pipeline, requiring manual intervention to correct scope definitions or tool catalog schemas.