{
  "schemaVersion": "1.0",
  "item": {
    "slug": "audit-code",
    "name": "Audit Code",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/ItsNishi/audit-code",
    "canonicalUrl": "https://clawhub.ai/ItsNishi/audit-code",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/audit-code",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=audit-code",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "scripts/patterns.py",
      "scripts/audit_code.py",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/audit-code"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/audit-code",
    "agentPageUrl": "https://openagent3.xyz/skills/audit-code/agent",
    "manifestUrl": "https://openagent3.xyz/skills/audit-code/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/audit-code/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "audit-code -- Project Code Security Review",
        "body": "Security-focused code review of project source code. Covers OWASP-style vulnerabilities, hardcoded secrets, dangerous function calls, and patterns relevant to AI-assisted development."
      },
      {
        "title": "What to do",
        "body": "Run the auditor against the target path:\n\npython3 \"$SKILL_DIR/scripts/audit_code.py\" \"$ARGUMENTS\"\n\nIf $ARGUMENTS is empty, default to $PROJECT_ROOT."
      },
      {
        "title": "What it checks",
        "body": "Hardcoded secrets -- API keys (AWS, GitHub, Stripe, OpenAI, Slack), tokens, private keys, connection strings, passwords\nDangerous function calls -- eval, exec, subprocess with shell=True, child_process.exec, pickle deserialization, system(), gets(), etc.\nSQL injection -- String concatenation/interpolation in SQL queries\nDependency risks -- Known hallucinated package names, unverified installations\nSensitive files -- .env files committed to git, credential files in repo\nFile permissions -- Overly permissive chmod patterns\nExfiltration patterns -- Base64 encode + network send, DNS exfiltration, credential file reads"
      },
      {
        "title": "Output",
        "body": "Structured report with severity-ranked findings, file locations, and actionable remediation steps."
      },
      {
        "title": "When to use",
        "body": "Before committing or pushing code\nWhen reviewing third-party contributions or PRs\nAs part of a periodic security audit of the codebase\nAfter AI-assisted code generation to verify no secrets or vulnerabilities were introduced"
      }
    ],
    "body": "audit-code -- Project Code Security Review\n\nSecurity-focused code review of project source code. Covers OWASP-style vulnerabilities, hardcoded secrets, dangerous function calls, and patterns relevant to AI-assisted development.\n\nWhat to do\n\nRun the auditor against the target path:\n\npython3 \"$SKILL_DIR/scripts/audit_code.py\" \"$ARGUMENTS\"\n\n\nIf $ARGUMENTS is empty, default to $PROJECT_ROOT.\n\nWhat it checks\nHardcoded secrets -- API keys (AWS, GitHub, Stripe, OpenAI, Slack), tokens, private keys, connection strings, passwords\nDangerous function calls -- eval, exec, subprocess with shell=True, child_process.exec, pickle deserialization, system(), gets(), etc.\nSQL injection -- String concatenation/interpolation in SQL queries\nDependency risks -- Known hallucinated package names, unverified installations\nSensitive files -- .env files committed to git, credential files in repo\nFile permissions -- Overly permissive chmod patterns\nExfiltration patterns -- Base64 encode + network send, DNS exfiltration, credential file reads\nOutput\n\nStructured report with severity-ranked findings, file locations, and actionable remediation steps.\n\nWhen to use\nBefore committing or pushing code\nWhen reviewing third-party contributions or PRs\nAs part of a periodic security audit of the codebase\nAfter AI-assisted code generation to verify no secrets or vulnerabilities were introduced"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ItsNishi/audit-code",
    "publisherUrl": "https://clawhub.ai/ItsNishi/audit-code",
    "owner": "ItsNishi",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/audit-code",
    "downloadUrl": "https://openagent3.xyz/downloads/audit-code",
    "agentUrl": "https://openagent3.xyz/skills/audit-code/agent",
    "manifestUrl": "https://openagent3.xyz/skills/audit-code/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/audit-code/agent.md"
  }
}