Code and System Security Review

Report only real risks, not manufactured panic. Covers injection, XSS, path traversal, insecure deserialization, authentication and authorization flaws, key...

OpenLark

@openlark

What This Skill Does

Performs a security review of code and systems, identifying real vulnerabilities like injection, XSS, path traversal, insecure deserialization, auth flaws, and key leaks. It assesses exploitability and impact, assigns severity levels, and provides actionable remediation with code patches.

Replaces generic security scanners and manual audits that produce false positives by focusing on confirmed, exploitable risks with clear fixes.

When to Use It

  • Audit a codebase for injection vulnerabilities before deployment
  • Review authentication and authorization logic for privilege escalation flaws
  • Check for hardcoded secrets or API key leaks in source files
  • Assess a web application for cross-site scripting (XSS) risks
  • Evaluate file upload or download paths for directory traversal issues
  • Validate deserialization routines for insecure object handling

Install

$ openclaw skills install @openlark/code-security-review

Code and System Security Review

Report only real risks, not manufactured panic.

Use Cases

Triggers when users request a security review, code audit, security check, vulnerability analysis, security assessment, penetration test, code scan, or security review.

Workflow

  1. Identify trust boundaries, user inputs, privileged operations, and sensitive data paths.
  2. Focus on checking for injection, path traversal, XSS, insecure deserialization, authentication and authorization flaws, key leaks, insecure logging, and command execution issues.
  3. Assess both exploitability and impact scope; do not exaggerate low-confidence issues.
  4. Mark risks with clear severity levels: critical, high, medium, low.
  5. Provide directly actionable remediation recommendations; prioritize providing code patches when possible.
  6. If the risk cannot be fully closed in this round, explain the residual risk and subsequent checkpoints.

Output Format

For each risk point, output:

  • Risk Point: Brief description of the issue's location and nature
  • Risk Level: critical | high | medium | low
  • Impact Description: Actual consequences if exploited
  • Remediation Plan: Specific, actionable steps to fix the issue
  • Patch: A code diff that can be directly applied (prioritize providing this)

When no risks are found, output a brief confirmation and do not fabricate issues.

Common Vulnerability Checklist

See references/checklist.md for details, covering the OWASP Top 10 and common attack surfaces.

Top skills in this category