agent-security

Audit code changes for security vulnerabilities, secrets, and anti-patterns.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/TrevorPLam/agency --skill agent-security-trevorplam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-security
Source: https://github.com/TrevorPLam/agency/tree/main/.windsurf/skills/agent-security
Command: npx skills add https://github.com/TrevorPLam/agency --skill agent-security-trevorplam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits code changes for security vulnerabilities, secrets, and anti-patterns.

Core Features & Use Cases

  • Automated security checks across PRs and commits
  • Secrets detection, dependency auditing, and anti-pattern identification
  • Integrates with CI/CD and developer workflows for early remediation

Quick Start

Run the security agent on a pull request to automatically scan for secrets, insecure dependencies, and API misuse.

Frequently Asked Questions about agent-security

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

FAQPage Schema
How do I audit code changes for security vulnerabilities before merge?

You can audit code changes for security by running an automated agent on your pull requests to scan for vulnerabilities, secrets, and insecure dependencies. It specifically targets security-sensitive areas like API routes, sessions, and database queries to identify anti-patterns.

How does secret detection and dependency auditing work in a CI/CD workflow?

Secret detection and dependency auditing integrate into your CI/CD workflow by running automated security checks across commits and pull requests. This scans for exposed secrets and vulnerable dependencies to enable early remediation before merging code changes.

When should I run a security review on my pull requests?

You should run a security review on pull requests when changes touch security-sensitive areas such as API routes, sessions, or database queries. It should not run for purely UI styling or documentation updates that do not impact security logic.

What is the best way to identify insecure code anti-patterns in API routes?

The best way to identify insecure code anti-patterns in API routes is to use a policy-driven security agent that audits code changes. It detects API misuse and security vulnerabilities in sensitive areas before code is merged into the main branch.

What are the limitations of automated security checks for code changes?

A limitation of automated security checks is that they target security-sensitive areas like API routes and database queries, and should not run for purely UI styling or documentation updates. They support a policy-driven workflow that still requires manual review before merge.