security-audit

Audit .NET PKI and web API code against OWASP Top 10 standards.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/tedtv1007-ctrl/milk-skills-library --skill security-audit-tedtv1007-ctrl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/tedtv1007-ctrl/milk-skills-library/tree/main/security-audit
Command: npx skills add https://github.com/tedtv1007-ctrl/milk-skills-library --skill security-audit-tedtv1007-ctrl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the difficulty of maintaining consistent security standards across complex PKI and web API systems by providing a structured, repeatable audit checklist.

Core Features & Use Cases

  • Attack Surface Mapping: Systematically identifies user inputs, database queries, and cryptographic operations.
  • OWASP Compliance: Validates code against the OWASP Top 10, including access control, injection, and cryptographic failures.
  • PKI-Specific Hardening: Ensures private keys, certificate lifecycle events, and CSR validations meet security best practices.
  • Use Case: Use this skill during a code review to verify that a new .NET API endpoint correctly implements parameterized queries and proper authorization checks.

Quick Start

Run the security audit skill on the current project directory to identify potential vulnerabilities and receive concrete remediation steps.

Frequently Asked Questions about security-audit

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

FAQPage Schema
How do I audit a .NET web API for OWASP Top 10 vulnerabilities?

To audit a .NET web API for OWASP Top 10 vulnerabilities, evaluate code against security standards to detect SQL injection, insecure cryptographic patterns, and broken access control mechanisms. This process systematically identifies user inputs and database queries to ensure production-grade protection.

What is the best way to secure PKI certificate lifecycle events in .NET?

Securing PKI certificate lifecycle events requires validating security-sensitive operations including private key handling, certificate issuance, and CSR verification. Performing a PKI-specific hardening audit ensures these cryptographic operations meet established security best practices.

How does automated security auditing detect insecure cryptographic patterns?

Automated security auditing detects insecure cryptographic patterns by systematically mapping the attack surface and evaluating code against OWASP compliance standards. It validates security-sensitive operations like certificate handling to identify and remediate cryptographic failures.

Can I check for broken access control mechanisms during a code review?

You can check for broken access control mechanisms during a code review by validating security-sensitive operations against the OWASP Top 10. This verifies that new API endpoints correctly implement parameterized queries and proper authorization checks.

Does this security audit validate CSR verification and audit logging?

Yes, this security audit validates CSR verification and audit logging. It performs comprehensive security assessments on PKI management systems by targeting these specific security-sensitive operations to ensure production-grade protection.

What are the limitations of using a structured audit checklist for web API security?

A structured audit checklist provides repeatable security assessments but may not catch zero-day vulnerabilities or complex business logic flaws outside standard OWASP Top 10 parameters. It targets known insecure cryptographic patterns and injection risks rather than dynamic runtime threats.