More screenshots
Works with the AI Agents you already use
Secure Pull Request Review Gate
by stojke72
Security-focused PR review that identifies introduced and worsened vulnerabilities, separates pre-existing issues, checks security-test coverage, and returns actionable merge conditions.
$8
Secure Pull Request Review Gate
Example session with this skill installed
Review this Dockerfile and Node.js snippet for a public-facing API. It handles user uploads to S3. Dockerfile: FROM node:14. COPY . . CMD ["node", "app.js"]. Snippet: s3.putObject({Key: req.file.name, Body: req.file.buffer});
- Read your context and instructions
- Compiled the secure pull request
The audit of the provided Dockerfile and S3 upload snippet is complete. The review identified critical configuration weaknesses and a lack of input validation.
Security Audit Report
| ID | Finding | Severity | Confidence | Location | Recommendation |
|---|---|---|---|---|---|
| SEC-001 | Root User Execution | High | Certain | Dockerfile: L1-4 | Use USER node to avoid running the container as root. |
| SEC-002 | Unsafe Base Image | Medium | Certain | Dockerfile: L1 | Upgrade to node:14-alpine or a newer LTS version to reduce attack surface. |
| SEC-003 | Unvalidated S3 Key | Critical | High | app.js: L5 | User-controlled req.file.name allows for path traversal or object overwriting. Sanitize filenames. |
| SEC-004 | Missing Content-Type | Low | Medium | app.js: L5 | Explicitly set ContentType in S3 metadata to prevent MIME-sniffing attacks. |
Gate Decision: BLOCK
Rationale: The implementation allows unvalidated user input to define S3 object keys (SEC-003), posing a critical risk of data corruption or unauthorized file writes. Additionally, the container runs as root, increasing the impact of any potential RCE.
NOT_VERIFIED:
- IAM Policy for S3: The execution role permissions were not provided.
- Dependency Vulnerabilities:
package-lock.jsonwas not supplied.
Next steps
- Implement a filename sanitization function (e.g., using a UUID or hash) for all S3 uploads.
- Update the Dockerfile to use a non-privileged user and a minimal base image.
- Provide the IAM policy associated with the S3 service for a follow-up review of the "Least Privilege" principle.
Connects securely to your tools. The creator never sees your data.
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.
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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
File Scopes
Reads user-supplied pull request diffs and directly relevant local files. Terminal/Shell is used only to run the bundled offline report validator and deterministic finding fingerprint helper when explicitly authorized. The skill does not use network access, browser access, environment variables, credentials, or execute untrusted project code.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.