Skip to content

aiskillstore/marketplace / skills/0xdarkmatter/security-patterns

security-patterns

Verified

Security patterns and OWASP guidelines. Triggers on: security review, OWASP, XSS, SQL injection, CSRF, authentication, authorization, secrets management, input validation, secure coding.

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-09T03:53:31.661Z",
    "slug": "0xdarkmatter-security-patterns",
    "source_url": "https://github.com/0xDarkMatter/claude-mods/tree/main/skills/security-patterns",
    "source_ref": "main",
    "model": "claude",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "b71786fd0663c74d4d527d1a939a140b58a46cb4ce5ae79f394d2c6c52405224",
    "tree_hash": "f0f1c95415260d8d946b6a7e31a05c27adcb8676bee4e3e3c8ea99213125f132",
    "provenance": {
      "model_requested": "claude-sonnet-4.6",
      "model_effective": "claude:claude-sonnet-4.6",
      "fallback_chain": [
        {
          "agent": "claude",
          "model": "claude-sonnet-4.6",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "security-patterns",
    "description": "Security reference skill for OWASP guidance, secure coding patterns, authentication, cryptography, headers, and local audit checks.",
    "summary": "Guides AI assistants through secure coding reviews using OWASP, authentication, cryptography, and header patterns.",
    "icon": "📦",
    "version": "1.0.0",
    "author": "0xDarkMatter",
    "license": "MIT",
    "tags": [
      "security-review",
      "owasp",
      "secure-coding",
      "authentication",
      "dependency-audit"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "network",
      "env_access",
      "external_commands",
      "scripts",
      "filesystem"
    ],
    "category": "security"
  },
  "security_audit": {
    "risk_level": "critical",
    "is_blocked": true,
    "safe_to_publish": false,
    "analysis_status": "ok",
    "summary": "The skill is primarily defensive security documentation with local scanning scripts. Most static findings are false positives caused by intentionally unsafe examples, scanner regexes, or standard audit commands, but several copyable unsafe examples remain confirmed risks for marketplace presentation.",
    "remediation": [
      {
        "issue": "Copyable vulnerable examples appear in primary documentation.",
        "suggestion": "Keep wrong examples short, clearly label them as non-production, and prefer pseudocode for os.system, pickle.loads, MD5 password hashing, and innerHTML examples.",
        "severity": "high"
      },
      {
        "issue": "A realistic fake API key appears in the secrets section.",
        "suggestion": "Replace secret-shaped values with placeholders such as <API_KEY> so scanners and users do not treat them as real credentials.",
        "severity": "high"
      },
      {
        "issue": "Local shell scripts run several dependency and grep tools.",
        "suggestion": "Document that scripts should be run only on trusted local repositories and review command output before acting on findings.",
        "severity": "medium"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "network",
        "evidence": [
          {
            "file": "references/auth-patterns.md",
            "line_start": 173,
            "line_end": 173
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 174,
            "line_end": 174
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 175,
            "line_end": 175
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 314,
            "line_end": 314
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 322,
            "line_end": 322
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 315,
            "line_end": 315
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 328,
            "line_end": 328
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 53,
            "line_end": 53
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 8,
            "line_end": 8
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 60,
            "line_end": 60
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 66,
            "line_end": 66
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 222,
            "line_end": 222
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 225,
            "line_end": 225
          },
          {
            "file": "references/secure-headers.md",
            "line_start": 228,
            "line_end": 228
          }
        ]
      },
      {
        "factor": "env_access",
        "evidence": [
          {
            "file": "references/auth-patterns.md",
            "line_start": 59,
            "line_end": 59
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 90,
            "line_end": 90
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 171,
            "line_end": 171
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 172,
            "line_end": 172
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 59,
            "line_end": 59
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 90,
            "line_end": 90
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 101,
            "line_end": 101
          },
          {
            "file": "references/auth-patterns.md",
            "line_start": 105,
            "line_end": 105
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 220,
            "line_end": 220
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 137,
            "line_end": 137
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 141,
            "line_end": 141
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 143,
            "line_end": 143
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 145,
            "line_end": 145
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 177,
            "line_end": 177
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 178,
            "line_end": 178
          },
          {
            "file": "references/crypto-patterns.md",
            "line_start": 181,
            "line_end": 181
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 38,
            "line_end": 38
          },
          {
            "file": "SKILL.md",
            "line_start": 124,
            "line_end": 124
          },
          {
            "file": "SKILL.md",
            "line_start": 121,
            "line_end": 121
          },
          {
            "file": "SKILL.md",
            "line_start": 124,
            "line_end": 124
          },
          {
            "file": "SKILL.md",
            "line_start": 127,
            "line_end": 127
          },
          {
            "file": "SKILL.md",
            "line_start": 160,
            "line_end": 160
          }
        ]
      },
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 112,
            "line_end": 112
          },
          {
            "file": "references/owasp-detailed.md",
            "line_start": 109,
            "line_end": 109
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 1,
            "line_end": 1
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 42,
            "line_end": 42
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 30,
            "line_end": 30
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 66,
            "line_end": 66
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 75,
            "line_end": 75
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 1,
            "line_end": 1
          },
          {
            "file": "SKILL.md",
            "line_start": 29,
            "line_end": 37
          },
          {
            "file": "SKILL.md",
            "line_start": 37,
            "line_end": 40
          },
          {
            "file": "SKILL.md",
            "line_start": 40,
            "line_end": 54
          },
          {
            "file": "SKILL.md",
            "line_start": 54,
            "line_end": 58
          },
          {
            "file": "SKILL.md",
            "line_start": 58,
            "line_end": 66
          },
          {
            "file": "SKILL.md",
            "line_start": 66,
            "line_end": 67
          },
          {
            "file": "SKILL.md",
            "line_start": 67,
            "line_end": 80
          },
          {
            "file": "SKILL.md",
            "line_start": 80,
            "line_end": 89
          },
          {
            "file": "SKILL.md",
            "line_start": 89,
            "line_end": 101
          },
          {
            "file": "SKILL.md",
            "line_start": 101,
            "line_end": 115
          },
          {
            "file": "SKILL.md",
            "line_start": 115,
            "line_end": 119
          },
          {
            "file": "SKILL.md",
            "line_start": 119,
            "line_end": 128
          },
          {
            "file": "SKILL.md",
            "line_start": 128,
            "line_end": 131
          },
          {
            "file": "SKILL.md",
            "line_start": 131,
            "line_end": 143
          },
          {
            "file": "SKILL.md",
            "line_start": 143,
            "line_end": 147
          },
          {
            "file": "SKILL.md",
            "line_start": 147,
            "line_end": 154
          },
          {
            "file": "SKILL.md",
            "line_start": 154,
            "line_end": 158
          },
          {
            "file": "SKILL.md",
            "line_start": 158,
            "line_end": 170
          },
          {
            "file": "SKILL.md",
            "line_start": 170,
            "line_end": 174
          },
          {
            "file": "SKILL.md",
            "line_start": 174,
            "line_end": 175
          },
          {
            "file": "SKILL.md",
            "line_start": 175,
            "line_end": 176
          },
          {
            "file": "SKILL.md",
            "line_start": 176,
            "line_end": 177
          },
          {
            "file": "SKILL.md",
            "line_start": 177,
            "line_end": 181
          },
          {
            "file": "SKILL.md",
            "line_start": 181,
            "line_end": 182
          }
        ]
      },
      {
        "factor": "scripts",
        "evidence": [
          {
            "file": "references/secure-headers.md",
            "line_start": 47,
            "line_end": 47
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 41,
            "line_end": 41
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 54,
            "line_end": 54
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 42,
            "line_end": 42
          },
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 60
          }
        ]
      },
      {
        "factor": "filesystem",
        "evidence": [
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 19,
            "line_end": 19
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 22,
            "line_end": 22
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 36,
            "line_end": 36
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 47,
            "line_end": 47
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 61,
            "line_end": 61
          },
          {
            "file": "scripts/dependency-audit.sh",
            "line_start": 75,
            "line_end": 75
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 26,
            "line_end": 26
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 28,
            "line_end": 28
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 72,
            "line_end": 72
          },
          {
            "file": "scripts/security-scan.sh",
            "line_start": 74,
            "line_end": 74
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "network:references/auth-patterns.md:173:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/auth-patterns.md",
        "line_start": 173,
        "line_end": 173,
        "snippet": "access_token_url='https://oauth2.googleapis.com/token',"
      },
      {
        "id": "network:references/auth-patterns.md:174:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/auth-patterns.md",
        "line_start": 174,
        "line_end": 174,
        "snippet": "authorize_url='https://accounts.google.com/o/oauth2/auth',"
      },
      {
        "id": "network:references/auth-patterns.md:175:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/auth-patterns.md",
        "line_start": 175,
        "line_end": 175,
        "snippet": "api_base_url='https://www.googleapis.com/',"
      },
      {
        "id": "env_access:references/auth-patterns.md:59:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "references/auth-patterns.md",
        "line_start": 59,
        "line_end": 59,
        "snippet": "SECRET_KEY=os.environ['SECRET_KEY'],  # Strong random key"
      },
      {
        "id": "env_access:references/auth-patterns.md:90:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "references/auth-patterns.md",
        "line_start": 90,
        "line_end": 90,
        "snippet": "SECRET_KEY = os.environ['JWT_SECRET']"
      },
      {
        "id": "env_access:references/auth-patterns.md:171:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "references/auth-patterns.md",
        "line_start": 171,
        "line_end": 171,
        "snippet": "client_id=os.environ['GOOGLE_CLIENT_ID'],"
      },
      {
        "id": "env_access:references/auth-patterns.md:172:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "references/auth-patterns.md",
        "line_start": 172,
        "line_end": 172,
        "snippet": "client_secret=os.environ['GOOGLE_CLIENT_SECRET'],"
      },
      {
        "id": "env_access:references/auth-patterns.md:59:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/auth-patterns.md",
        "line_start": 59,
        "line_end": 59,
        "snippet": "SECRET_KEY=os.environ['SECRET_KEY'],  # Strong random key"
      },
      {
        "id": "env_access:references/auth-patterns.md:90:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/auth-patterns.md",
        "line_start": 90,
        "line_end": 90,
        "snippet": "SECRET_KEY = os.environ['JWT_SECRET']"
      },
      {
        "id": "env_access:references/auth-patterns.md:101:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/auth-patterns.md",
        "line_start": 101,
        "line_end": 101,
        "snippet": "return jwt.encode(payload, SECRET_KEY, algorithm=ALGORITHM)"
      },
      {
        "id": "env_access:references/auth-patterns.md:105:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/auth-patterns.md",
        "line_start": 105,
        "line_end": 105,
        "snippet": "payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])"
      },
      {
        "id": "blocker:references/auth-patterns.md:279:ransomware-file-extensions",
        "category": "blocker",
        "severity": "high",
        "pattern": "Ransomware file extensions",
        "file": "references/auth-patterns.md",
        "line_start": 279,
        "line_end": 279,
        "snippet": "user.locked_until = datetime.utcnow() + LOCKOUT_DURATION"
      },
      {
        "id": "blocker:references/auth-patterns.md:286:ransomware-file-extensions",
        "category": "blocker",
        "severity": "high",
        "pattern": "Ransomware file extensions",
        "file": "references/auth-patterns.md",
        "line_start": 286,
        "line_end": 286,
        "snippet": "if user.locked_until and user.locked_until > datetime.utcnow():"
      },
      {
        "id": "blocker:references/auth-patterns.md:293:ransomware-file-extensions",
        "category": "blocker",
        "severity": "high",
        "pattern": "Ransomware file extensions",
        "file": "references/auth-patterns.md",
        "line_start": 293,
        "line_end": 293,
        "snippet": "user.locked_until = None"
      },
      {
        "id": "blocker:references/auth-patterns.md:23:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/auth-patterns.md",
        "line_start": 23,
        "line_end": 23,
        "snippet": "is_valid = verify_password(\"user_password\", hashed)"
      },
      {
        "id": "blocker:references/auth-patterns.md:110:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/auth-patterns.md",
        "line_start": 110,
        "line_end": 110,
        "snippet": "raise AuthError(\"Invalid token\")"
      },
      {
        "id": "blocker:references/auth-patterns.md:176:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/auth-patterns.md",
        "line_start": 176,
        "line_end": 176,
        "snippet": "client_kwargs={'scope': 'openid email profile'},"
      },
      {
        "id": "blocker:references/auth-patterns.md:321:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/auth-patterns.md",
        "line_start": 321,
        "line_end": 322,
        "snippet": "return record.user_id"
      },
      {
        "id": "env_access:references/crypto-patterns.md:220:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "references/crypto-patterns.md",
        "line_start": 220,
        "line_end": 220,
        "snippet": "key = os.environ.get('ENCRYPTION_KEY')"
      },
      {
        "id": "env_access:references/crypto-patterns.md:137:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 137,
        "line_end": 137,
        "snippet": "private_key = rsa.generate_private_key("
      },
      {
        "id": "env_access:references/crypto-patterns.md:141:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 141,
        "line_end": 141,
        "snippet": "public_key = private_key.public_key()"
      },
      {
        "id": "env_access:references/crypto-patterns.md:143:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 143,
        "line_end": 143,
        "snippet": "def sign(message: bytes, private_key) -> bytes:"
      },
      {
        "id": "env_access:references/crypto-patterns.md:145:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 145,
        "line_end": 145,
        "snippet": "return private_key.sign("
      },
      {
        "id": "env_access:references/crypto-patterns.md:177:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 177,
        "line_end": 177,
        "snippet": "private_key = Ed25519PrivateKey.generate()"
      },
      {
        "id": "env_access:references/crypto-patterns.md:178:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 178,
        "line_end": 178,
        "snippet": "public_key = private_key.public_key()"
      },
      {
        "id": "env_access:references/crypto-patterns.md:181:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "references/crypto-patterns.md",
        "line_start": 181,
        "line_end": 181,
        "snippet": "signature = private_key.sign(message)"
      },
      {
        "id": "sensitive:references/crypto-patterns.md:174:crypto-seed-private-key-mention",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Crypto seed/private key mention",
        "file": "references/crypto-patterns.md",
        "line_start": 174,
        "line_end": 174,
        "snippet": "from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey"
      },
      {
        "id": "sensitive:references/crypto-patterns.md:177:crypto-seed-private-key-mention",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Crypto seed/private key mention",
        "file": "references/crypto-patterns.md",
        "line_start": 177,
        "line_end": 177,
        "snippet": "private_key = Ed25519PrivateKey.generate()"
      },
      {
        "id": "blocker:references/crypto-patterns.md:285:weak-cryptographic-algorithm",
        "category": "blocker",
        "severity": "high",
        "pattern": "Weak cryptographic algorithm",
        "file": "references/crypto-patterns.md",
        "line_start": 285,
        "line_end": 285,
        "snippet": "hash = hashlib.md5(password.encode())"
      },
      {
        "id": "blocker:references/crypto-patterns.md:186:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/crypto-patterns.md",
        "line_start": 186,
        "line_end": 186,
        "snippet": "print(\"Valid signature\")"
      },
      {
        "id": "blocker:references/crypto-patterns.md:188:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/crypto-patterns.md",
        "line_start": 188,
        "line_end": 188,
        "snippet": "print(\"Invalid signature\")"
      },
      {
        "id": "external_commands:references/owasp-detailed.md:112:python-subprocess-run",
        "category": "external_commands",
        "severity": "high",
        "pattern": "Python subprocess.run",
        "file": "references/owasp-detailed.md",
        "line_start": 112,
        "line_end": 112,
        "snippet": "subprocess.run([\"ping\", \"-c\", \"4\", host], capture_output=True)"
      },
      {
        "id": "external_commands:references/owasp-detailed.md:109:python-os-system",
        "category": "external_commands",
        "severity": "high",
        "pattern": "Python os.system",
        "file": "references/owasp-detailed.md",
        "line_start": 109,
        "line_end": 109,
        "snippet": "os.system(f\"ping {host}\")"
      },
      {
        "id": "network:references/owasp-detailed.md:314:fetch-api-call",
        "category": "network",
        "severity": "low",
        "pattern": "Fetch API call",
        "file": "references/owasp-detailed.md",
        "line_start": 314,
        "line_end": 314,
        "snippet": "def fetch(url):"
      },
      {
        "id": "network:references/owasp-detailed.md:322:fetch-api-call",
        "category": "network",
        "severity": "low",
        "pattern": "Fetch API call",
        "file": "references/owasp-detailed.md",
        "line_start": 322,
        "line_end": 322,
        "snippet": "def fetch(url):"
      },
      {
        "id": "network:references/owasp-detailed.md:315:python-http-libraries",
        "category": "network",
        "severity": "low",
        "pattern": "Python HTTP libraries",
        "file": "references/owasp-detailed.md",
        "line_start": 315,
        "line_end": 315,
        "snippet": "return requests.get(url)  # Can fetch internal URLs!"
      },
      {
        "id": "network:references/owasp-detailed.md:328:python-http-libraries",
        "category": "network",
        "severity": "low",
        "pattern": "Python HTTP libraries",
        "file": "references/owasp-detailed.md",
        "line_start": 328,
        "line_end": 328,
        "snippet": "return requests.get(url)"
      },
      {
        "id": "network:references/owasp-detailed.md:53:email-sending-capability",
        "category": "network",
        "severity": "medium",
        "pattern": "Email sending capability",
        "file": "references/owasp-detailed.md",
        "line_start": 53,
        "line_end": 53,
        "snippet": "- Data transmitted in clear text (HTTP, SMTP, FTP)"
      },
      {
        "id": "obfuscation:references/owasp-detailed.md:251:python-pickle-deserialization-rce-risk",
        "category": "obfuscation",
        "severity": "critical",
        "pattern": "Python pickle deserialization (RCE risk)",
        "file": "references/owasp-detailed.md",
        "line_start": 251,
        "line_end": 251,
        "snippet": "data = pickle.loads(user_input)  # RCE vulnerability!"
      },
      {
        "id": "blocker:references/owasp-detailed.md:54:weak-cryptographic-algorithm",
        "category": "blocker",
        "severity": "high",
        "pattern": "Weak cryptographic algorithm",
        "file": "references/owasp-detailed.md",
        "line_start": 54,
        "line_end": 54,
        "snippet": "- Old/weak cryptographic algorithms (MD5, SHA1, DES)"
      },
      {
        "id": "blocker:references/owasp-detailed.md:64:weak-cryptographic-algorithm",
        "category": "blocker",
        "severity": "high",
        "pattern": "Weak cryptographic algorithm",
        "file": "references/owasp-detailed.md",
        "line_start": 64,
        "line_end": 64,
        "snippet": "password_hash = hashlib.md5(password.encode()).hexdigest()"
      },
      {
        "id": "blocker:references/owasp-detailed.md:35:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/owasp-detailed.md",
        "line_start": 35,
        "line_end": 35,
        "snippet": "if resource.owner_id != current_user.id:"
      },
      {
        "id": "blocker:references/owasp-detailed.md:324:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "references/owasp-detailed.md",
        "line_start": 324,
        "line_end": 324,
        "snippet": "if parsed.hostname not in ALLOWED_HOSTS:"
      },
      {
        "id": "blocker:references/owasp-detailed.md:15:network-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "Network reconnaissance",
        "file": "references/owasp-detailed.md",
        "line_start": 15,
        "line_end": 16,
        "snippet": "- CORS misconfiguration allowing unauthorized API access"
      },
      {
        "id": "scripts:references/secure-headers.md:47:dynamic-code-evaluation-with-eval",
        "category": "scripts",
        "severity": "high",
        "pattern": "Dynamic code evaluation with eval()",
        "file": "references/secure-headers.md",
        "line_start": 47,
        "line_end": 47,
        "snippet": "'unsafe-eval'   - Allow eval() (avoid!)"
      },
      {
        "id": "network:references/secure-headers.md:8:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 8,
        "line_end": 8,
        "snippet": "Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; im"
      },
      {
        "id": "network:references/secure-headers.md:60:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 60,
        "line_end": 60,
        "snippet": "Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; im"
      },
      {
        "id": "network:references/secure-headers.md:66:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 66,
        "line_end": 66,
        "snippet": "Content-Security-Policy: default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; style-src '"
      },
      {
        "id": "network:references/secure-headers.md:222:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 222,
        "line_end": 222,
        "snippet": "curl -I https://example.com"
      },
      {
        "id": "network:references/secure-headers.md:225:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 225,
        "line_end": 225,
        "snippet": "# https://securityheaders.com"
      },
      {
        "id": "network:references/secure-headers.md:228:hardcoded-url",
        "category": "network",
        "severity": "low",
        "pattern": "Hardcoded URL",
        "file": "references/secure-headers.md",
        "line_start": 228,
        "line_end": 228,
        "snippet": "# https://observatory.mozilla.org"
      },
      {
        "id": "external_commands:scripts/dependency-audit.sh:1:unix-shell-invocation",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Unix shell invocation",
        "file": "scripts/dependency-audit.sh",
        "line_start": 1,
        "line_end": 1,
        "snippet": "#!/bin/bash"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:19:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 19,
        "line_end": 19,
        "snippet": "if command -v pip-audit &> /dev/null; then"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:22:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 22,
        "line_end": 22,
        "snippet": "elif command -v safety &> /dev/null; then"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:36:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 36,
        "line_end": 36,
        "snippet": "if command -v npm &> /dev/null; then"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:47:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 47,
        "line_end": 47,
        "snippet": "if command -v govulncheck &> /dev/null; then"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:61:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 61,
        "line_end": 61,
        "snippet": "if command -v cargo-audit &> /dev/null; then"
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:75:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/dependency-audit.sh",
        "line_start": 75,
        "line_end": 75,
        "snippet": "if command -v trivy &> /dev/null; then"
      },
      {
        "id": "scripts:scripts/security-scan.sh:41:dynamic-code-evaluation-with-eval",
        "category": "scripts",
        "severity": "high",
        "pattern": "Dynamic code evaluation with eval()",
        "file": "scripts/security-scan.sh",
        "line_start": 41,
        "line_end": 41,
        "snippet": "check_pattern \"eval() usage\" \"\\beval\\s*\\(\" \"py\""
      },
      {
        "id": "scripts:scripts/security-scan.sh:54:dynamic-code-evaluation-with-eval",
        "category": "scripts",
        "severity": "high",
        "pattern": "Dynamic code evaluation with eval()",
        "file": "scripts/security-scan.sh",
        "line_start": 54,
        "line_end": 54,
        "snippet": "check_pattern \"eval() usage\" \"\\beval\\s*\\(\" \"js\""
      },
      {
        "id": "scripts:scripts/security-scan.sh:42:python-exec-function",
        "category": "scripts",
        "severity": "high",
        "pattern": "Python exec() function",
        "file": "scripts/security-scan.sh",
        "line_start": 42,
        "line_end": 42,
        "snippet": "check_pattern \"exec() usage\" \"\\bexec\\s*\\(\" \"py\""
      },
      {
        "id": "external_commands:scripts/security-scan.sh:42:process-exec",
        "category": "external_commands",
        "severity": "high",
        "pattern": "Process exec",
        "file": "scripts/security-scan.sh",
        "line_start": 42,
        "line_end": 42,
        "snippet": "check_pattern \"exec() usage\" \"\\bexec\\s*\\(\" \"py\""
      },
      {
        "id": "external_commands:scripts/security-scan.sh:30:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/security-scan.sh",
        "line_start": 30,
        "line_end": 30,
        "snippet": "ISSUES=$((ISSUES + 1))"
      },
      {
        "id": "external_commands:scripts/security-scan.sh:66:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/security-scan.sh",
        "line_start": 66,
        "line_end": 66,
        "snippet": "ISSUES=$((ISSUES + 1))"
      },
      {
        "id": "external_commands:scripts/security-scan.sh:75:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/security-scan.sh",
        "line_start": 75,
        "line_end": 75,
        "snippet": "ISSUES=$((ISSUES + 1))"
      },
      {
        "id": "external_commands:scripts/security-scan.sh:1:unix-shell-invocation",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Unix shell invocation",
        "file": "scripts/security-scan.sh",
        "line_start": 1,
        "line_end": 1,
        "snippet": "#!/bin/bash"
      },
      {
        "id": "filesystem:scripts/security-scan.sh:26:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/security-scan.sh",
        "line_start": 26,
        "line_end": 26,
        "snippet": "if rg -l \"$pattern\" \"$DIR\" --type \"$type\" 2>/dev/null | head -5 | grep -q .; then"
      },
      {
        "id": "filesystem:scripts/security-scan.sh:28:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/security-scan.sh",
        "line_start": 28,
        "line_end": 28,
        "snippet": "rg -n \"$pattern\" \"$DIR\" --type \"$type\" 2>/dev/null | head -10"
      },
      {
        "id": "filesystem:scripts/security-scan.sh:72:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/security-scan.sh",
        "line_start": 72,
        "line_end": 72,
        "snippet": "if rg -i \"TODO.*security|FIXME.*security|HACK.*security\" \"$DIR\" 2>/dev/null | head -5 | grep -q .; t"
      },
      {
        "id": "filesystem:scripts/security-scan.sh:74:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/security-scan.sh",
        "line_start": 74,
        "line_end": 74,
        "snippet": "rg -i \"TODO.*security|FIXME.*security|HACK.*security\" \"$DIR\" 2>/dev/null | head -10"
      },
      {
        "id": "env_access:scripts/security-scan.sh:38:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "scripts/security-scan.sh",
        "line_start": 38,
        "line_end": 38,
        "snippet": "check_pattern \"Hardcoded secrets\" \"(password|secret|api_key|token)\\s*=\\s*['\\\"][^'\\\"]{8,}['\\\"]\" \"py\""
      },
      {
        "id": "obfuscation:scripts/security-scan.sh:43:python-pickle-deserialization-rce-risk",
        "category": "obfuscation",
        "severity": "critical",
        "pattern": "Python pickle deserialization (RCE risk)",
        "file": "scripts/security-scan.sh",
        "line_start": 43,
        "line_end": 43,
        "snippet": "check_pattern \"pickle.loads\" \"pickle\\.loads?\\(\" \"py\""
      },
      {
        "id": "sensitive:scripts/security-scan.sh:62:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "scripts/security-scan.sh",
        "line_start": 62,
        "line_end": 62,
        "snippet": "echo -n \"Checking: .env files in git... \""
      },
      {
        "id": "sensitive:scripts/security-scan.sh:63:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "scripts/security-scan.sh",
        "line_start": 63,
        "line_end": 63,
        "snippet": "if git ls-files | grep -E \"\\.env$|\\.env\\.\" | grep -q .; then"
      },
      {
        "id": "sensitive:scripts/security-scan.sh:65:environment-file-access",
        "category": "sensitive",
        "severity": "high",
        "pattern": "Environment file access",
        "file": "scripts/security-scan.sh",
        "line_start": 65,
        "line_end": 65,
        "snippet": "git ls-files | grep -E \"\\.env$|\\.env\\.\""
      },
      {
        "id": "scripts:SKILL.md:60:innerhtml-assignment-xss-risk",
        "category": "scripts",
        "severity": "medium",
        "pattern": "innerHTML assignment (XSS risk)",
        "file": "SKILL.md",
        "line_start": 60,
        "line_end": 60,
        "snippet": "element.innerHTML = userInput;"
      },
      {
        "id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 29,
        "line_end": 37,
        "snippet": "```python"
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 37,
        "line_end": 40,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 40,
        "line_end": 54,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 54,
        "line_end": 58,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 58,
        "line_end": 66,
        "snippet": "```javascript"
      },
      {
        "id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 66,
        "line_end": 67,
        "snippet": "render(`<div>${escapeHtml(userInput)}</div>`);"
      },
      {
        "id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 67,
        "line_end": 80,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:80:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 80,
        "line_end": 89,
        "snippet": "```python"
      },
      {
        "id": "external_commands:SKILL.md:89:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 89,
        "line_end": 101,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 101,
        "line_end": 115,
        "snippet": "```python"
      },
      {
        "id": "external_commands:SKILL.md:115:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 115,
        "line_end": 119,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:119:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 119,
        "line_end": 128,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 128,
        "line_end": 131,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:131:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 131,
        "line_end": 143,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 143,
        "line_end": 147,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 147,
        "line_end": 154,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:154:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 154,
        "line_end": 158,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:158:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 158,
        "line_end": 170,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:170:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 170,
        "line_end": 174,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:174:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 174,
        "line_end": 175,
        "snippet": "- `./references/owasp-detailed.md` - Full OWASP Top 10 details"
      },
      {
        "id": "external_commands:SKILL.md:175:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 175,
        "line_end": 176,
        "snippet": "- `./references/auth-patterns.md` - JWT, OAuth, session management"
      },
      {
        "id": "external_commands:SKILL.md:176:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 176,
        "line_end": 177,
        "snippet": "- `./references/crypto-patterns.md` - Encryption, hashing, signatures"
      },
      {
        "id": "external_commands:SKILL.md:177:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 177,
        "line_end": 181,
        "snippet": "- `./references/secure-headers.md` - HTTP security headers guide"
      },
      {
        "id": "external_commands:SKILL.md:181:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 181,
        "line_end": 182,
        "snippet": "- `./scripts/security-scan.sh` - Quick security grep patterns"
      },
      {
        "id": "env_access:SKILL.md:124:python-environment-access",
        "category": "env_access",
        "severity": "low",
        "pattern": "Python environment access",
        "file": "SKILL.md",
        "line_start": 124,
        "line_end": 124,
        "snippet": "API_KEY = os.environ[\"API_KEY\"]"
      },
      {
        "id": "env_access:SKILL.md:121:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "SKILL.md",
        "line_start": 121,
        "line_end": 121,
        "snippet": "API_KEY = \"sk-1234567890abcdef\""
      },
      {
        "id": "env_access:SKILL.md:124:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "SKILL.md",
        "line_start": 124,
        "line_end": 124,
        "snippet": "API_KEY = os.environ[\"API_KEY\"]"
      },
      {
        "id": "env_access:SKILL.md:127:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "SKILL.md",
        "line_start": 127,
        "line_end": 127,
        "snippet": "API_KEY = secrets_client.get_secret(\"api-key\")"
      },
      {
        "id": "env_access:SKILL.md:160:generic-api-secret-keys",
        "category": "env_access",
        "severity": "high",
        "pattern": "Generic API/secret keys",
        "file": "SKILL.md",
        "line_start": 160,
        "line_end": 160,
        "snippet": "rg -i \"(password|secret|api_key|token)\\s*=\\s*['\\\"][^'\\\"]+['\\\"]\" --type py"
      },
      {
        "id": "blocker:SKILL.md:112:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "SKILL.md",
        "line_start": 112,
        "line_end": 112,
        "snippet": "if post.author_id != current_user.id and not current_user.is_admin:"
      }
    ],
    "finding_verdicts": [
      {
        "id": "network:references/auth-patterns.md:173:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/auth-patterns.md:174:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/auth-patterns.md:175:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "env_access:references/auth-patterns.md:59:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:90:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:171:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:172:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:59:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:90:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:101:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/auth-patterns.md:105:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "blocker:references/auth-patterns.md:279:ransomware-file-extensions",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:286:ransomware-file-extensions",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:293:ransomware-file-extensions",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:23:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:110:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:176:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/auth-patterns.md:321:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "env_access:references/crypto-patterns.md:220:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:137:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:141:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:143:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:145:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:177:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:178:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:references/crypto-patterns.md:181:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "sensitive:references/crypto-patterns.md:174:crypto-seed-private-key-mention",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is cryptography documentation showing key generation or terminology, not disclosure of real private keys, seed phrases, or credentials."
      },
      {
        "id": "sensitive:references/crypto-patterns.md:177:crypto-seed-private-key-mention",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is cryptography documentation showing key generation or terminology, not disclosure of real private keys, seed phrases, or credentials."
      },
      {
        "id": "blocker:references/crypto-patterns.md:285:weak-cryptographic-algorithm",
        "verdict": "confirmed",
        "confidence": 0.84,
        "reason": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation.",
        "severity": "high"
      },
      {
        "id": "blocker:references/crypto-patterns.md:186:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/crypto-patterns.md:188:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "external_commands:references/owasp-detailed.md:112:python-subprocess-run",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The subprocess example uses a list of arguments and is marked as the correct mitigation for command injection. It is safe educational guidance rather than an exploit path."
      },
      {
        "id": "external_commands:references/owasp-detailed.md:109:python-os-system",
        "verdict": "confirmed",
        "confidence": 0.88,
        "reason": "The example explicitly labels os.system(f\"ping {host}\") as command injection. It is educational, but marketplace content still contains dangerous copyable code and should be rewritten or fenced with stronger warnings.",
        "severity": "high"
      },
      {
        "id": "network:references/owasp-detailed.md:314:fetch-api-call",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/owasp-detailed.md:322:fetch-api-call",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/owasp-detailed.md:315:python-http-libraries",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/owasp-detailed.md:328:python-http-libraries",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/owasp-detailed.md:53:email-sending-capability",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "obfuscation:references/owasp-detailed.md:251:python-pickle-deserialization-rce-risk",
        "verdict": "confirmed",
        "confidence": 0.9,
        "reason": "The line intentionally shows pickle.loads(user_input) and labels it an RCE vulnerability. Although educational, it is dangerous copyable code and should be minimized or made non-runnable.",
        "severity": "critical"
      },
      {
        "id": "blocker:references/owasp-detailed.md:54:weak-cryptographic-algorithm",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/owasp-detailed.md:64:weak-cryptographic-algorithm",
        "verdict": "confirmed",
        "confidence": 0.86,
        "reason": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation.",
        "severity": "high"
      },
      {
        "id": "blocker:references/owasp-detailed.md:35:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/owasp-detailed.md:324:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "blocker:references/owasp-detailed.md:15:network-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      },
      {
        "id": "scripts:references/secure-headers.md:47:dynamic-code-evaluation-with-eval",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is a detection pattern or unsafe example used for security education, not dynamic execution of user-controlled code by the skill."
      },
      {
        "id": "network:references/secure-headers.md:8:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/secure-headers.md:60:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/secure-headers.md:66:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/secure-headers.md:222:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/secure-headers.md:225:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "network:references/secure-headers.md:228:hardcoded-url",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation or example code for security guidance, not a hidden runtime network request by the skill. The referenced URL is used to explain a safe or testable pattern."
      },
      {
        "id": "external_commands:scripts/dependency-audit.sh:1:unix-shell-invocation",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:19:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:22:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:36:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:47:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:61:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/dependency-audit.sh:75:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "scripts:scripts/security-scan.sh:41:dynamic-code-evaluation-with-eval",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is a detection pattern or unsafe example used for security education, not dynamic execution of user-controlled code by the skill."
      },
      {
        "id": "scripts:scripts/security-scan.sh:54:dynamic-code-evaluation-with-eval",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is a detection pattern or unsafe example used for security education, not dynamic execution of user-controlled code by the skill."
      },
      {
        "id": "scripts:scripts/security-scan.sh:42:python-exec-function",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is a detection pattern or unsafe example used for security education, not dynamic execution of user-controlled code by the skill."
      },
      {
        "id": "external_commands:scripts/security-scan.sh:42:process-exec",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "external_commands:scripts/security-scan.sh:30:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "external_commands:scripts/security-scan.sh:66:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "external_commands:scripts/security-scan.sh:75:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "external_commands:scripts/security-scan.sh:1:unix-shell-invocation",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is either documentation or a local audit script invoking standard security tools with fixed commands, not covert command execution."
      },
      {
        "id": "filesystem:scripts/security-scan.sh:26:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/security-scan.sh:28:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/security-scan.sh:72:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "filesystem:scripts/security-scan.sh:74:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is normal local audit script behavior, such as checking tool availability or scanning files in the requested directory. It does not read sensitive files covertly."
      },
      {
        "id": "env_access:scripts/security-scan.sh:38:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "obfuscation:scripts/security-scan.sh:43:python-pickle-deserialization-rce-risk",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is an intentionally unsafe example or scanner pattern that teaches detection of deserialization risk. It is not executed by the skill on user input."
      },
      {
        "id": "sensitive:scripts/security-scan.sh:62:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is cryptography documentation showing key generation or terminology, not disclosure of real private keys, seed phrases, or credentials."
      },
      {
        "id": "sensitive:scripts/security-scan.sh:63:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is cryptography documentation showing key generation or terminology, not disclosure of real private keys, seed phrases, or credentials."
      },
      {
        "id": "sensitive:scripts/security-scan.sh:65:environment-file-access",
        "verdict": "false_positive",
        "confidence": 0.82,
        "reason": "This is cryptography documentation showing key generation or terminology, not disclosure of real private keys, seed phrases, or credentials."
      },
      {
        "id": "scripts:SKILL.md:60:innerhtml-assignment-xss-risk",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The skill includes a direct innerHTML assignment as a wrong XSS example. It is educational, but copyable unsafe JavaScript can mislead users if extracted from context.",
        "severity": "medium"
      },
      {
        "id": "external_commands:SKILL.md:29:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:40:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:58:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:67:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:80:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:89:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:115:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:119:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:131:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:154:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:158:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:170:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:174:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:175:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:176:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:177:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "external_commands:SKILL.md:181:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "The finding points to Markdown fences, inline resource paths, or code examples in documentation. There is no Ruby backtick execution or shell interpolation being run by the skill."
      },
      {
        "id": "env_access:SKILL.md:124:python-environment-access",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:SKILL.md:121:generic-api-secret-keys",
        "verdict": "confirmed",
        "confidence": 0.78,
        "reason": "The skill includes a fake API key as a wrong example. The value appears non-real, but realistic secret-shaped examples can train unsafe copying and trigger secret scanners.",
        "severity": "high"
      },
      {
        "id": "env_access:SKILL.md:124:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:SKILL.md:127:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "env_access:SKILL.md:160:generic-api-secret-keys",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "This is documentation showing proper secret handling with environment variables or key names, not code that reads or exfiltrates secrets during skill execution."
      },
      {
        "id": "blocker:SKILL.md:112:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.9,
        "reason": "The matched text appears in defensive security examples or prose, not in malware, reconnaissance, ransomware, or destructive behavior."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [
      {
        "title": "Python pickle deserialization (RCE risk)",
        "description": "data = pickle.loads(user_input)  # RCE vulnerability!",
        "locations": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 251,
            "line_end": 251
          }
        ],
        "review_kind": "security",
        "source_category": "obfuscation",
        "source_severity": "critical",
        "confidence": 0.9,
        "confidence_reasoning": "The line intentionally shows pickle.loads(user_input) and labels it an RCE vulnerability. Although educational, it is dangerous copyable code and should be minimized or made non-runnable."
      }
    ],
    "high_findings": [
      {
        "title": "Weak cryptographic algorithm",
        "description": "hash = hashlib.md5(password.encode())",
        "locations": [
          {
            "file": "references/crypto-patterns.md",
            "line_start": 285,
            "line_end": 285
          }
        ],
        "review_kind": "security",
        "source_category": "blocker",
        "source_severity": "high",
        "confidence": 0.84,
        "confidence_reasoning": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation."
      },
      {
        "title": "Python os.system",
        "description": "os.system(f\"ping {host}\")",
        "locations": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 109,
            "line_end": 109
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "high",
        "confidence": 0.88,
        "confidence_reasoning": "The example explicitly labels os.system(f\"ping {host}\") as command injection. It is educational, but marketplace content still contains dangerous copyable code and should be rewritten or fenced with stronger warnings."
      },
      {
        "title": "Weak cryptographic algorithm",
        "description": "password_hash = hashlib.md5(password.encode()).hexdigest()",
        "locations": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 64,
            "line_end": 64
          }
        ],
        "review_kind": "security",
        "source_category": "blocker",
        "source_severity": "high",
        "confidence": 0.86,
        "confidence_reasoning": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation."
      },
      {
        "title": "Generic API/secret keys",
        "description": "API_KEY = \"sk-1234567890abcdef\"",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 121,
            "line_end": 121
          }
        ],
        "review_kind": "capability",
        "source_category": "env_access",
        "source_severity": "high",
        "confidence": 0.78,
        "confidence_reasoning": "The skill includes a fake API key as a wrong example. The value appears non-real, but realistic secret-shaped examples can train unsafe copying and trigger secret scanners."
      }
    ],
    "medium_findings": [
      {
        "title": "innerHTML assignment (XSS risk)",
        "description": "element.innerHTML = userInput;",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 60,
            "line_end": 60
          }
        ],
        "review_kind": "capability",
        "source_category": "scripts",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The skill includes a direct innerHTML assignment as a wrong XSS example. It is educational, but copyable unsafe JavaScript can mislead users if extracted from context."
      }
    ],
    "low_findings": [],
    "dangerous_patterns": [
      {
        "title": "Weak cryptographic algorithm",
        "description": "hash = hashlib.md5(password.encode())",
        "locations": [
          {
            "file": "references/crypto-patterns.md",
            "line_start": 285,
            "line_end": 285
          }
        ],
        "review_kind": "security",
        "source_category": "blocker",
        "source_severity": "high",
        "confidence": 0.84,
        "confidence_reasoning": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation."
      },
      {
        "title": "Python pickle deserialization (RCE risk)",
        "description": "data = pickle.loads(user_input)  # RCE vulnerability!",
        "locations": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 251,
            "line_end": 251
          }
        ],
        "review_kind": "security",
        "source_category": "obfuscation",
        "source_severity": "critical",
        "confidence": 0.9,
        "confidence_reasoning": "The line intentionally shows pickle.loads(user_input) and labels it an RCE vulnerability. Although educational, it is dangerous copyable code and should be minimized or made non-runnable."
      },
      {
        "title": "Weak cryptographic algorithm",
        "description": "password_hash = hashlib.md5(password.encode()).hexdigest()",
        "locations": [
          {
            "file": "references/owasp-detailed.md",
            "line_start": 64,
            "line_end": 64
          }
        ],
        "review_kind": "security",
        "source_category": "blocker",
        "source_severity": "high",
        "confidence": 0.86,
        "confidence_reasoning": "The line intentionally demonstrates MD5 password hashing as a wrong pattern. It is educational but dangerous if copied without context, so it should remain flagged for remediation."
      }
    ],
    "files_scanned": 7,
    "total_lines": 1561,
    "audit_model": "claude",
    "audited_at": "2026-07-09T03:53:31.661Z",
    "agent_auto_install_policy": "blocked",
    "manual_install_policy": "allowed_with_warning"
  },
  "content": {
    "user_title": "Review Code with Security Patterns",
    "value_statement": "Security reviews can miss common web application risks when guidance is scattered. This skill gives Claude, Codex, and Claude Code a focused OWASP-based checklist with examples and local audit scripts.",
    "seo_keywords": [
      "Claude security review",
      "Codex secure coding",
      "Claude Code audit",
      "OWASP patterns",
      "XSS prevention",
      "SQL injection review",
      "authentication security",
      "cryptography guidance",
      "security headers",
      "dependency audit"
    ],
    "actual_capabilities": [
      "Provides OWASP Top 10 checklists and prevention guidance for web applications.",
      "Explains secure authentication patterns for passwords, sessions, JWT, OAuth, MFA, and lockout.",
      "Documents cryptography patterns for encryption, hashing, signatures, secure randomness, and key storage.",
      "Lists HTTP security header configurations for Flask, FastAPI, Express, and Nginx.",
      "Includes local shell scripts for dependency auditing and grep-based security checks."
    ],
    "limitations": [
      "It does not replace a full penetration test or threat model.",
      "The grep-based scanner can miss vulnerabilities and can report false positives.",
      "Some examples show unsafe code for contrast and require careful reading.",
      "Dependency audit scripts depend on external tools installed on the local machine."
    ],
    "use_cases": [
      {
        "title": "Review a web feature before merge",
        "description": "Use the OWASP checklist to inspect access control, injection, authentication, logging, and SSRF risks before approving code.",
        "target_user": "Software engineers"
      },
      {
        "title": "Harden application defaults",
        "description": "Apply secure header, session, and cookie guidance when preparing a service for production.",
        "target_user": "Platform and DevOps teams"
      },
      {
        "title": "Teach secure implementation patterns",
        "description": "Compare unsafe and safer examples for authentication, cryptography, and input handling during code coaching.",
        "target_user": "Security champions"
      }
    ],
    "prompt_templates": [
      {
        "title": "Check one feature",
        "scenario": "Beginner review of a small change",
        "prompt": "Use the security-patterns skill to review this feature for OWASP Top 10 risks. Focus on input validation, authorization, and secrets."
      },
      {
        "title": "Review authentication code",
        "scenario": "Authentication-specific review",
        "prompt": "Use the authentication patterns to review this login and session code. Check password hashing, cookies, rate limiting, JWT handling, and account lockout."
      },
      {
        "title": "Audit cryptography choices",
        "scenario": "Cryptographic design check",
        "prompt": "Use the crypto patterns to evaluate this encryption and signing code. Identify weak algorithms, key storage problems, nonce reuse, and unsafe custom crypto."
      },
      {
        "title": "Run a structured security pass",
        "scenario": "Advanced pre-release review",
        "prompt": "Use this skill as a pre-release checklist. Review OWASP risks, security headers, dependency exposure, secrets handling, and provide prioritized remediation steps."
      }
    ],
    "output_examples": [
      {
        "input": "Review this API endpoint for security risks.",
        "output": [
          "Access control needs a server-side owner check before returning the record.",
          "The SQL query should use parameters instead of string formatting.",
          "Add a rate limit if this endpoint can trigger expensive work."
        ]
      },
      {
        "input": "Check our web security headers.",
        "output": [
          "Add a restrictive Content-Security-Policy with default-src self.",
          "Enable HSTS after confirming HTTPS works for all subdomains.",
          "Remove X-Powered-By and test the deployed headers with a scanner."
        ]
      },
      {
        "input": "Review our password storage approach.",
        "output": [
          "Use bcrypt, Argon2, or scrypt with a current work factor.",
          "Do not use MD5 or SHA1 for password hashing.",
          "Store reset tokens as hashes and expire them after a short time."
        ]
      }
    ],
    "best_practices": [
      "Start with the OWASP checklist, then inspect framework-specific details in the reference files.",
      "Treat every unsafe example as a pattern to remove, not a template to copy.",
      "Run dependency and grep scripts only on trusted local repositories and review results manually."
    ],
    "anti_patterns": [
      "Do not assume the scanner output is complete or free of false positives.",
      "Do not paste wrong examples into production code without the surrounding warning context.",
      "Do not use the skill as a substitute for testing authorization, authentication, and cryptographic behavior."
    ],
    "faq": [
      {
        "question": "What does this skill help with?",
        "answer": "It helps AI assistants review code for common web security issues using OWASP and secure coding patterns."
      },
      {
        "question": "Does it run a full security scanner?",
        "answer": "No. It includes simple local scripts, but they are grep and dependency audit helpers."
      },
      {
        "question": "Can it find every vulnerability?",
        "answer": "No. It provides structured guidance and examples, but manual review and testing are still required."
      },
      {
        "question": "Are the scripts safe to run?",
        "answer": "They run local audit commands and file searches. Run them only in repositories you trust."
      },
      {
        "question": "Why are unsafe examples included?",
        "answer": "They show what vulnerable patterns look like so users can recognize and replace them."
      },
      {
        "question": "Which assistants can use it?",
        "answer": "The report lists support for Claude, Codex, and Claude Code."
      }
    ]
  },
  "file_structure": [
    {
      "name": "references",
      "type": "dir",
      "path": "references",
      "children": [
        {
          "name": "auth-patterns.md",
          "type": "file",
          "path": "references/auth-patterns.md",
          "lines": 323
        },
        {
          "name": "crypto-patterns.md",
          "type": "file",
          "path": "references/crypto-patterns.md",
          "lines": 303
        },
        {
          "name": "owasp-detailed.md",
          "type": "file",
          "path": "references/owasp-detailed.md",
          "lines": 330
        },
        {
          "name": "secure-headers.md",
          "type": "file",
          "path": "references/secure-headers.md",
          "lines": 241
        }
      ]
    },
    {
      "name": "scripts",
      "type": "dir",
      "path": "scripts",
      "children": [
        {
          "name": "dependency-audit.sh",
          "type": "file",
          "path": "scripts/dependency-audit.sh",
          "lines": 91
        },
        {
          "name": "security-scan.sh",
          "type": "file",
          "path": "scripts/security-scan.sh",
          "lines": 90
        }
      ]
    },
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 183
    }
  ]
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall