# Secure Pull Request Review Gate

> Security-focused PR review that identifies introduced and worsened vulnerabilities, separates pre-existing issues, checks security-test coverage, and returns actionable merge conditions.

Secure Pull Request Review Gate is a paid AI agent skill on Agensi by stojke72, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $8 (one-time purchase)
- Creator: [stojke72](https://www.agensi.io/creators/stojke72)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-09-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/secure-pull-request-review-gate
- Tags: security, code-review, devops, iac, pull-request, secure-coding, devsecops, cicd

## About this skill

Secure Pull Request Review Gate reviews pull requests, merge requests, patches, commit ranges, changed files, and base/head comparisons for security regressions before merge.

AG-3 focuses on what the proposed change introduced, worsened, fixed, or left unchanged. It traces relevant security data and control flows, evaluates authorization and trust boundaries, reviews dependency and CI/CD changes, checks infrastructure and production configuration, and assesses whether security tests cover the changed invariant.

### Every formal review returns one evidence-based decision

PASS — no unresolved material change-scoped security issue or merge blocker.

REQUEST_CHANGES — a correctable Medium issue, material test gap, unsafe ambiguity, incomplete remediation, or conditionally accepted High risk remains.

BLOCK — a credible Critical/High regression, exposed secret, removed authorization boundary, privileged untrusted-code path, unsafe production exposure, or material blocking evidence gap remains.

Pre-existing issues stay separate so unrelated repository debt is not incorrectly blamed on the PR author. Findings include stable IDs, severity, confidence, change attribution, exact evidence, impact, prerequisites, remediation, owner suggestion, safe tests, and retest conditions. Optional JSON output supports CI/CD and policy workflows.

The skill works only with supplied or explicitly available local evidence. It does not access networks, scan live systems, execute untrusted project code, test credentials, invent CVEs, or claim that a repository is fully secure.

Key capabilities

Change-focused security review for code, configuration, IaC, dependencies, containers, and CI/CD.

Base-versus-head attribution: introduced, worsened, pre-existing, fixed, or not verified.

Security data/control-flow reasoning across directly relevant context.

Authorization, tenant isolation, injection, secrets, cryptography, data exposure, supply-chain, infrastructure, and availability review.

Security regression-test assessment without pretending that unexecuted tests passed.

Evidence-calibrated severity and confidence.

Stable 48-bit finding fingerprints resilient to line movement, path normalization, Unicode variants, and harmless category formatting.

Explicit PASS, REQUEST_CHANGES, or BLOCK decision.

Formal JSON schema and hardened offline validation helper.

Secret-shape redaction checks and resistance to instructions embedded in reviewed content.

## Known limitations

Requires a supplied PR/MR diff, patch, changed files, or equivalent base/head evidence. Reviews only the supplied scope and directly relevant local context. It does not independently access networks or private repositories, scan live systems, execute untrusted project code, test credentials, or provide weaponized exploits. PASS applies only to the reviewed evidence and does not guarantee that the repository is vulnerability-free. Missing material evidence may result in REQUEST_CHANGES, BLOCK, or no merge decision.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Secure Pull Request Review Gate skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill differ from a standard static analysis (SAST) tool?

Unlike traditional scanners that flag every issue in a repo, this skill isolates only the security regressions introduced or worsened by the specific pull request, ensuring authors aren't penalized for pre-existing technical debt.

### Can I use the output of this review to automatically block unsafe merges?

The skill outputs an evidence-based decision (PASS, REQUEST_CHANGES, or BLOCK) along with an optional JSON schema, making it easy to integrate into CI/CD pipelines as a mandatory status check.

### What types of files and vulnerabilities does the Secure Pull Request Review Gate analyze?

It reviews code, infrastructure-as-code (IaC), CI/CD configurations, container definitions, and dependencies, tracing data and control flows to evaluate authorization and trust boundaries.

### Does the agent require access to my live production environment or external networks?

No, for security reasons, the skill operates entirely on supplied local evidence and does not access external networks, execute project code, or scan live production systems.

### Will findings be lost or duplicated if I move code around within the pull request?

The skill generates stable 48-bit fingerprints for each finding that are resilient to line movements and path normalization, ensuring that issues remain tracked accurately even as the PR evolves.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
