security-observation

Identify security defects in generated code to prevent data leakage and injection attacks.

1|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/CAPHTECH/claude-marketplace --skill security-observation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-observation
Source: https://github.com/CAPHTECH/claude-marketplace/tree/main/caphtech-plugin/skills/security-observation
Command: npx skills add https://github.com/CAPHTECH/claude-marketplace --skill security-observation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Detects authorization gaps, injections, data leakage risks, and vulnerable dependencies.

Core Features & Use Cases

  • Secret scans (gitleaks, truffleHog, git-secrets)
  • Dependency vulnerability checks
  • Negative tests for authorization boundaries and input sanitization

Quick Start

Run security observation before PRs to surface potential issues and plan fixes.

Frequently Asked Questions about security-observation

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

FAQPage Schema
How do I detect authorization gaps and prevent unauthorized access in my code?

Authorization gap detection identifies missing or misconfigured access controls that could allow unauthorized access. Run security observation during authentication and authorization implementations to surface boundary violations, then apply negative tests to validate that users cannot escalate privileges or access restricted resources.

What's the best way to scan for secrets and vulnerable dependencies before committing code?

Secret scanning tools like gitleaks and truffleHog detect exposed credentials in your codebase, while dependency vulnerability checks identify known security flaws in third-party libraries. Run both checks as pre-commit hooks to catch issues before they reach your repository.

How do I test for injection attacks and input contamination in my application?

Input contamination testing validates that external data is properly sanitized before use in queries, commands, or sensitive operations. Security observation performs negative tests across your input handling to expose where unsanitized data could enable SQL injection, command injection, or similar attacks.

Can I use security observation to identify data leakage risks in generated code?

Yes. Security observation analyzes generated code to detect patterns that expose sensitive data—hardcoded secrets, unencrypted storage, overly permissive access—and produces threat boundary diagrams and auditability artifacts to document and remediate risks.

When should I run security checks during my development workflow?

Run security observation before pull requests, during pre-commit checks, and when updating dependencies or implementing authentication logic. Early detection prevents security defects from advancing through the pipeline and reduces remediation cost.

What security artifacts does threat analysis generate for compliance and auditing?

Threat analysis produces trust boundary diagrams, test code for security scenarios, and auditability artifacts that document identified gaps, applied mitigations, and validation evidence—supporting compliance reviews and security audits.