# CWE

> The weaknesses Keryn rules point to: the most covered CWE entries with their rules and edges, and an index of all of them.

Source: https://keryn.dev/taxonomies/cwe/

[CWE](https://cwe.mitre.org/) is MITRE's catalog of software weaknesses. 143 CWE entries appear in rule metadata (rules 0.8.0). The matrix lists all of them, most covered first; the 30 with the most rules also get a section with their rules. A row without a section links to the catalog filtered to that CWE.

This is an edge map, not a score. A count says how many rules look at a class of weakness and how sure they are, not how safe a system is; a class with few rules may simply need few, and no number here means a framework is satisfied. Confidence: P0 exploitable as written, P1 dangerous in context, P2 heuristic or posture. Edges are the relationships the rules inspect (reaches, calls, reads, writes, sends, grants, depends_on, trusts).

## Coverage matrix

| Entry | Rules | P0 | P1 | P2 | Edges |
|---|---|---|---|---|---|
| [CWE-78 OS Command Injection](#cwe-78-os-command-injection) | 136 | 32 | 73 | 31 | reaches 4 · calls 109 · sends 11 · grants 4 · depends_on 8 |
| [CWE-200 Exposure of Sensitive Information to an Unauthorized Actor](#cwe-200-exposure-of-sensitive-information-to-an-unauthorized-actor) | 119 | 8 | 72 | 39 | reaches 19 · calls 10 · reads 12 · writes 5 · sends 38 · grants 34 · depends_on 1 |
| [CWE-20 Improper Input Validation](#cwe-20-improper-input-validation) | 84 | 2 | 24 | 58 | reaches 30 · calls 22 · reads 9 · writes 12 · grants 3 · depends_on 2 · trusts 6 |
| [CWE-94 Code Injection](#cwe-94-code-injection) | 84 | 14 | 58 | 12 | reaches 4 · calls 70 · writes 2 · sends 1 · grants 2 · depends_on 4 · trusts 1 |
| [CWE-829 Inclusion of Functionality from Untrusted Control Sphere](#cwe-829-inclusion-of-functionality-from-untrusted-control-sphere) | 80 | 10 | 44 | 26 | reaches 7 · calls 12 · writes 1 · sends 6 · grants 4 · depends_on 50 |
| [CWE-22 Path Traversal](#cwe-22-path-traversal) | 78 | 0 | 59 | 19 | reaches 12 · calls 16 · reads 34 · writes 12 · grants 2 · depends_on 2 |
| [CWE-79 Cross-site Scripting](#cwe-79-cross-site-scripting) | 70 | 2 | 43 | 25 | calls 65 · writes 1 · sends 2 · grants 2 |
| [CWE-639 Authorization Bypass Through User-Controlled Key](#cwe-639-authorization-bypass-through-user-controlled-key) | 63 | 0 | 24 | 39 | reaches 1 · calls 16 · writes 5 · grants 41 |
| [CWE-862 Missing Authorization](#cwe-862-missing-authorization) | 61 | 1 | 31 | 29 | reaches 1 · calls 9 · writes 1 · grants 50 |
| [CWE-798 Use of Hard-coded Credentials](#cwe-798-use-of-hard-coded-credentials) | 56 | 3 | 21 | 32 | reaches 3 · calls 1 · reads 13 · sends 2 · grants 37 |
| [CWE-918 Server-Side Request Forgery](#cwe-918-server-side-request-forgery) | 56 | 1 | 41 | 14 | reaches 41 · calls 9 · writes 1 · grants 5 |
| [CWE-250 Execution with Unnecessary Privileges](#cwe-250-execution-with-unnecessary-privileges) | 55 | 5 | 40 | 10 | calls 11 · writes 1 · grants 42 · depends_on 1 |
| [CWE-306 Missing Authentication for Critical Function](#cwe-306-missing-authentication-for-critical-function) | 52 | 2 | 24 | 26 | reaches 14 · calls 3 · sends 1 · grants 30 · trusts 4 |
| [CWE-502 Deserialization of Untrusted Data](#cwe-502-deserialization-of-untrusted-data) | 49 | 8 | 33 | 8 | reaches 1 · calls 3 · reads 1 · grants 1 · depends_on 43 |
| [CWE-494 Download of Code Without Integrity Check](#cwe-494-download-of-code-without-integrity-check) | 47 | 5 | 30 | 12 | calls 7 · sends 1 · grants 3 · depends_on 36 |
| [CWE-89 SQL Injection](#cwe-89-sql-injection) | 43 | 7 | 22 | 14 | calls 43 |
| [CWE-532 Insertion of Sensitive Information into Log File](#cwe-532-insertion-of-sensitive-information-into-log-file) | 40 | 1 | 20 | 19 | reaches 1 · calls 1 · reads 8 · writes 1 · sends 25 · grants 4 |
| [CWE-1427 Improper Neutralization of Input Used for LLM Prompting](#cwe-1427-improper-neutralization-of-input-used-for-llm-prompting) | 37 | 0 | 25 | 12 | reaches 19 · calls 5 · writes 6 · grants 3 · trusts 4 |
| [CWE-770 Allocation of Resources Without Limits or Throttling](#cwe-770-allocation-of-resources-without-limits-or-throttling) | 36 | 1 | 13 | 22 | reaches 3 · calls 6 · writes 3 · sends 1 · grants 23 |
| [CWE-345 Insufficient Verification of Data Authenticity](#cwe-345-insufficient-verification-of-data-authenticity) | 32 | 7 | 15 | 10 | reaches 2 · calls 4 · writes 5 · grants 5 · depends_on 3 · trusts 13 |
| [CWE-312 Cleartext Storage of Sensitive Information](#cwe-312-cleartext-storage-of-sensitive-information) | 29 | 4 | 12 | 13 | reads 1 · writes 8 · sends 9 · grants 11 |
| [CWE-73 External Control of File Name or Path](#cwe-73-external-control-of-file-name-or-path) | 28 | 0 | 18 | 10 | reaches 2 · calls 9 · reads 8 · writes 9 |
| [CWE-506 Embedded Malicious Code](#cwe-506-embedded-malicious-code) | 26 | 14 | 10 | 2 | calls 9 · writes 5 · sends 11 · depends_on 1 |
| [CWE-346 Origin Validation Error](#cwe-346-origin-validation-error) | 24 | 2 | 12 | 10 | reaches 13 · grants 11 |
| [CWE-522 Insufficiently Protected Credentials](#cwe-522-insufficiently-protected-credentials) | 23 | 7 | 12 | 4 | sends 1 · grants 22 |
| [CWE-77 Command Injection](#cwe-77-command-injection) | 22 | 0 | 14 | 8 | reaches 15 · calls 2 · grants 5 |
| [CWE-116 Improper Encoding or Escaping of Output](#cwe-116-improper-encoding-or-escaping-of-output) | 21 | 2 | 14 | 5 | reaches 6 · calls 7 · sends 3 · grants 5 |
| [CWE-915](#cwe-915) | 20 | 0 | 4 | 16 | calls 6 · reads 2 · writes 9 · grants 3 |
| [CWE-327](#cwe-327) | 18 | 0 | 16 | 2 | sends 7 · depends_on 1 · trusts 9 · none 1 |
| [CWE-668 Exposure of Resource to Wrong Sphere](#cwe-668-exposure-of-resource-to-wrong-sphere) | 18 | 3 | 10 | 5 | reaches 7 · calls 1 · grants 10 |
| [CWE-269](https://keryn.dev/rules/?cwe=CWE-269) | 17 | 2 | 13 | 2 | calls 5 · writes 1 · grants 11 |
| [CWE-201](https://keryn.dev/rules/?cwe=CWE-201) | 16 | 1 | 12 | 3 | reads 1 · writes 1 · sends 14 |
| [CWE-400](https://keryn.dev/rules/?cwe=CWE-400) | 16 | 1 | 9 | 6 | calls 4 · writes 3 · grants 9 |
| [CWE-601](https://keryn.dev/rules/?cwe=CWE-601) | 16 | 0 | 15 | 1 | reaches 9 · calls 6 · writes 1 |
| [CWE-95](https://keryn.dev/rules/?cwe=CWE-95) | 15 | 5 | 10 | 0 | calls 13 · depends_on 2 |
| [CWE-319](https://keryn.dev/rules/?cwe=CWE-319) | 15 | 0 | 12 | 3 | sends 12 · grants 1 · depends_on 2 |
| [CWE-1007](https://keryn.dev/rules/?cwe=CWE-1007) | 15 | 2 | 10 | 3 | calls 9 · grants 5 · depends_on 1 |
| [CWE-88](https://keryn.dev/rules/?cwe=CWE-88) | 14 | 9 | 4 | 1 | calls 14 |
| [CWE-693 Protection Mechanism Failure](https://keryn.dev/rules/?cwe=CWE-693) | 14 | 0 | 12 | 2 | calls 2 · grants 10 · depends_on 1 · trusts 1 |
| [CWE-1327](https://keryn.dev/rules/?cwe=CWE-1327) | 13 | 2 | 5 | 6 | reaches 11 · grants 2 |
| [CWE-451](https://keryn.dev/rules/?cwe=CWE-451) | 12 | 0 | 10 | 2 | calls 4 · grants 8 |
| [CWE-778](https://keryn.dev/rules/?cwe=CWE-778) | 12 | 0 | 7 | 5 | calls 2 · reads 1 · grants 5 · none 4 |
| [CWE-295](https://keryn.dev/rules/?cwe=CWE-295) | 11 | 0 | 11 | 0 | sends 1 · grants 3 · depends_on 2 · trusts 5 |
| [CWE-441](https://keryn.dev/rules/?cwe=CWE-441) | 11 | 0 | 11 | 0 | calls 4 · writes 1 · grants 6 |
| [CWE-732 Incorrect Permission Assignment for Critical Resource](https://keryn.dev/rules/?cwe=CWE-732) | 11 | 1 | 9 | 1 | reaches 3 · calls 4 · grants 4 |
| [CWE-1188](https://keryn.dev/rules/?cwe=CWE-1188) | 11 | 0 | 3 | 8 | grants 1 · trusts 10 |
| [CWE-266](https://keryn.dev/rules/?cwe=CWE-266) | 10 | 0 | 6 | 4 | calls 1 · reads 1 · grants 7 · depends_on 1 |
| [CWE-347](https://keryn.dev/rules/?cwe=CWE-347) | 10 | 9 | 1 | 0 | calls 1 · depends_on 1 · trusts 8 |
| [CWE-287](https://keryn.dev/rules/?cwe=CWE-287) | 8 | 2 | 3 | 3 | calls 3 · grants 4 · depends_on 1 |
| [CWE-1240](https://keryn.dev/rules/?cwe=CWE-1240) | 8 | 0 | 8 | 0 | trusts 8 |
| [CWE-1426 Improper Validation of Generative AI Output](https://keryn.dev/rules/?cwe=CWE-1426) | 8 | 0 | 5 | 3 | calls 3 · sends 1 · trusts 4 |
| [CWE-74](https://keryn.dev/rules/?cwe=CWE-74) | 7 | 0 | 5 | 2 | reaches 6 · grants 1 |
| [CWE-209](https://keryn.dev/rules/?cwe=CWE-209) | 7 | 0 | 4 | 3 | reaches 2 · calls 2 · sends 3 |
| [CWE-352](https://keryn.dev/rules/?cwe=CWE-352) | 7 | 0 | 2 | 5 | calls 6 · grants 1 |
| [CWE-470](https://keryn.dev/rules/?cwe=CWE-470) | 7 | 1 | 5 | 1 | calls 5 · depends_on 2 |
| [CWE-636](https://keryn.dev/rules/?cwe=CWE-636) | 7 | 0 | 4 | 3 | calls 1 · grants 6 |
| [CWE-912](https://keryn.dev/rules/?cwe=CWE-912) | 7 | 5 | 2 | 0 | calls 1 · writes 6 |
| [CWE-1336](https://keryn.dev/rules/?cwe=CWE-1336) | 7 | 3 | 4 | 0 | calls 7 |
| [CWE-285](https://keryn.dev/rules/?cwe=CWE-285) | 6 | 0 | 5 | 1 | calls 1 · grants 5 |
| [CWE-754](https://keryn.dev/rules/?cwe=CWE-754) | 6 | 0 | 4 | 2 | reads 4 · trusts 2 |
| [CWE-1357](https://keryn.dev/rules/?cwe=CWE-1357) | 6 | 1 | 5 | 0 | calls 1 · depends_on 5 |
| [CWE-15](https://keryn.dev/rules/?cwe=CWE-15) | 5 | 0 | 5 | 0 | reaches 1 · calls 4 |
| [CWE-280](https://keryn.dev/rules/?cwe=CWE-280) | 5 | 0 | 4 | 1 | grants 5 |
| [CWE-311](https://keryn.dev/rules/?cwe=CWE-311) | 5 | 1 | 0 | 4 | reaches 3 · calls 1 · writes 1 |
| [CWE-359](https://keryn.dev/rules/?cwe=CWE-359) | 5 | 0 | 4 | 1 | calls 1 · sends 4 |
| [CWE-427](https://keryn.dev/rules/?cwe=CWE-427) | 5 | 1 | 0 | 4 | calls 4 · depends_on 1 |
| [CWE-749 Exposed Dangerous Method or Function](https://keryn.dev/rules/?cwe=CWE-749) | 5 | 0 | 2 | 3 | reaches 4 · calls 1 |
| [CWE-755](https://keryn.dev/rules/?cwe=CWE-755) | 5 | 0 | 5 | 0 | calls 2 · grants 3 |
| [CWE-943](https://keryn.dev/rules/?cwe=CWE-943) | 5 | 0 | 4 | 1 | calls 5 |
| [CWE-1021](https://keryn.dev/rules/?cwe=CWE-1021) | 5 | 0 | 2 | 3 | grants 2 · trusts 3 |
| [CWE-1039](https://keryn.dev/rules/?cwe=CWE-1039) | 5 | 1 | 4 | 0 | trusts 5 |
| [CWE-1333](https://keryn.dev/rules/?cwe=CWE-1333) | 5 | 0 | 3 | 2 | calls 5 |
| [CWE-120](https://keryn.dev/rules/?cwe=CWE-120) | 4 | 0 | 4 | 0 | grants 4 |
| [CWE-179](https://keryn.dev/rules/?cwe=CWE-179) | 4 | 0 | 4 | 0 | trusts 4 |
| [CWE-180](https://keryn.dev/rules/?cwe=CWE-180) | 4 | 0 | 4 | 0 | trusts 4 |
| [CWE-611](https://keryn.dev/rules/?cwe=CWE-611) | 4 | 0 | 3 | 1 | reaches 3 · calls 1 |
| [CWE-807 Reliance on Untrusted Inputs in a Security Decision](https://keryn.dev/rules/?cwe=CWE-807) | 4 | 0 | 3 | 1 | calls 2 · grants 2 |
| [CWE-1104](https://keryn.dev/rules/?cwe=CWE-1104) | 4 | 0 | 3 | 1 | depends_on 4 |
| [CWE-1220 Insufficient Granularity of Access Control](https://keryn.dev/rules/?cwe=CWE-1220) | 4 | 0 | 4 | 0 | grants 4 |
| [CWE-259](https://keryn.dev/rules/?cwe=CWE-259) | 3 | 2 | 0 | 1 | grants 3 |
| [CWE-281](https://keryn.dev/rules/?cwe=CWE-281) | 3 | 0 | 0 | 3 | grants 3 |
| [CWE-290](https://keryn.dev/rules/?cwe=CWE-290) | 3 | 0 | 2 | 1 | calls 3 |
| [CWE-300](https://keryn.dev/rules/?cwe=CWE-300) | 3 | 0 | 3 | 0 | sends 3 |
| [CWE-320](https://keryn.dev/rules/?cwe=CWE-320) | 3 | 0 | 0 | 3 | reaches 3 |
| [CWE-362](https://keryn.dev/rules/?cwe=CWE-362) | 3 | 0 | 0 | 3 | writes 3 |
| [CWE-367](https://keryn.dev/rules/?cwe=CWE-367) | 3 | 0 | 0 | 3 | writes 3 |
| [CWE-390 Detection of Error Condition Without Action](https://keryn.dev/rules/?cwe=CWE-390) | 3 | 0 | 2 | 1 | calls 3 |
| [CWE-454](https://keryn.dev/rules/?cwe=CWE-454) | 3 | 0 | 3 | 0 | calls 3 |
| [CWE-625](https://keryn.dev/rules/?cwe=CWE-625) | 3 | 0 | 2 | 1 | calls 3 |
| [CWE-776](https://keryn.dev/rules/?cwe=CWE-776) | 3 | 0 | 1 | 2 | calls 2 · depends_on 1 |
| [CWE-863 Incorrect Authorization](https://keryn.dev/rules/?cwe=CWE-863) | 3 | 0 | 2 | 1 | grants 3 |
| [CWE-942](https://keryn.dev/rules/?cwe=CWE-942) | 3 | 0 | 3 | 0 | grants 3 |
| [CWE-203](https://keryn.dev/rules/?cwe=CWE-203) | 2 | 0 | 0 | 2 | sends 2 |
| [CWE-284 Improper Access Control](https://keryn.dev/rules/?cwe=CWE-284) | 2 | 0 | 2 | 0 | calls 1 · grants 1 |
| [CWE-294](https://keryn.dev/rules/?cwe=CWE-294) | 2 | 0 | 0 | 2 | trusts 2 |
| [CWE-326](https://keryn.dev/rules/?cwe=CWE-326) | 2 | 0 | 2 | 0 | calls 1 · sends 1 |
| [CWE-328](https://keryn.dev/rules/?cwe=CWE-328) | 2 | 0 | 1 | 1 | calls 1 · sends 1 |
| [CWE-338](https://keryn.dev/rules/?cwe=CWE-338) | 2 | 0 | 1 | 1 | calls 1 · sends 1 |
| [CWE-377](https://keryn.dev/rules/?cwe=CWE-377) | 2 | 0 | 1 | 1 | writes 1 · grants 1 |
| [CWE-384](https://keryn.dev/rules/?cwe=CWE-384) | 2 | 0 | 2 | 0 | reaches 2 |
| [CWE-526](https://keryn.dev/rules/?cwe=CWE-526) | 2 | 0 | 2 | 0 | grants 2 |
| [CWE-598](https://keryn.dev/rules/?cwe=CWE-598) | 2 | 0 | 2 | 0 | reaches 2 |
| [CWE-653 Improper Isolation or Compartmentalization](https://keryn.dev/rules/?cwe=CWE-653) | 2 | 0 | 1 | 1 | grants 2 |
| [CWE-757](https://keryn.dev/rules/?cwe=CWE-757) | 2 | 0 | 2 | 0 | sends 2 |
| [CWE-799](https://keryn.dev/rules/?cwe=CWE-799) | 2 | 0 | 0 | 2 | trusts 2 |
| [CWE-834](https://keryn.dev/rules/?cwe=CWE-834) | 2 | 0 | 2 | 0 | grants 2 |
| [CWE-840](https://keryn.dev/rules/?cwe=CWE-840) | 2 | 2 | 0 | 0 | calls 2 |
| [CWE-1059](https://keryn.dev/rules/?cwe=CWE-1059) | 2 | 0 | 0 | 2 | calls 2 |
| [CWE-1321](https://keryn.dev/rules/?cwe=CWE-1321) | 2 | 0 | 1 | 1 | calls 1 · writes 1 |
| [CWE-117](https://keryn.dev/rules/?cwe=CWE-117) | 1 | 0 | 0 | 1 | reads 1 |
| [CWE-125](https://keryn.dev/rules/?cwe=CWE-125) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-134](https://keryn.dev/rules/?cwe=CWE-134) | 1 | 1 | 0 | 0 | calls 1 |
| [CWE-155](https://keryn.dev/rules/?cwe=CWE-155) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-185](https://keryn.dev/rules/?cwe=CWE-185) | 1 | 0 | 1 | 0 | grants 1 |
| [CWE-208](https://keryn.dev/rules/?cwe=CWE-208) | 1 | 0 | 0 | 1 | sends 1 |
| [CWE-242](https://keryn.dev/rules/?cwe=CWE-242) | 1 | 0 | 1 | 0 | grants 1 |
| [CWE-322](https://keryn.dev/rules/?cwe=CWE-322) | 1 | 0 | 1 | 0 | depends_on 1 |
| [CWE-330](https://keryn.dev/rules/?cwe=CWE-330) | 1 | 0 | 0 | 1 | calls 1 |
| [CWE-379](https://keryn.dev/rules/?cwe=CWE-379) | 1 | 0 | 0 | 1 | grants 1 |
| [CWE-391](https://keryn.dev/rules/?cwe=CWE-391) | 1 | 0 | 1 | 0 | none 1 |
| [CWE-409](https://keryn.dev/rules/?cwe=CWE-409) | 1 | 0 | 0 | 1 | writes 1 |
| [CWE-459](https://keryn.dev/rules/?cwe=CWE-459) | 1 | 1 | 0 | 0 | calls 1 |
| [CWE-472](https://keryn.dev/rules/?cwe=CWE-472) | 1 | 0 | 0 | 1 | calls 1 |
| [CWE-489](https://keryn.dev/rules/?cwe=CWE-489) | 1 | 0 | 1 | 0 | grants 1 |
| [CWE-497](https://keryn.dev/rules/?cwe=CWE-497) | 1 | 0 | 0 | 1 | reaches 1 |
| [CWE-552](https://keryn.dev/rules/?cwe=CWE-552) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-602](https://keryn.dev/rules/?cwe=CWE-602) | 1 | 0 | 0 | 1 | grants 1 |
| [CWE-610](https://keryn.dev/rules/?cwe=CWE-610) | 1 | 0 | 1 | 0 | reaches 1 |
| [CWE-617 Reachable Assertion](https://keryn.dev/rules/?cwe=CWE-617) | 1 | 0 | 0 | 1 | calls 1 |
| [CWE-665](https://keryn.dev/rules/?cwe=CWE-665) | 1 | 0 | 1 | 0 | writes 1 |
| [CWE-696 Incorrect Behavior Order](https://keryn.dev/rules/?cwe=CWE-696) | 1 | 0 | 0 | 1 | grants 1 |
| [CWE-706](https://keryn.dev/rules/?cwe=CWE-706) | 1 | 0 | 0 | 1 | depends_on 1 |
| [CWE-780](https://keryn.dev/rules/?cwe=CWE-780) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-787](https://keryn.dev/rules/?cwe=CWE-787) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-835](https://keryn.dev/rules/?cwe=CWE-835) | 1 | 0 | 0 | 1 | grants 1 |
| [CWE-838](https://keryn.dev/rules/?cwe=CWE-838) | 1 | 0 | 1 | 0 | reaches 1 |
| [CWE-908](https://keryn.dev/rules/?cwe=CWE-908) | 1 | 0 | 1 | 0 | writes 1 |
| [CWE-916](https://keryn.dev/rules/?cwe=CWE-916) | 1 | 0 | 1 | 0 | sends 1 |
| [CWE-1004](https://keryn.dev/rules/?cwe=CWE-1004) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-1088](https://keryn.dev/rules/?cwe=CWE-1088) | 1 | 0 | 1 | 0 | grants 1 |
| [CWE-1287](https://keryn.dev/rules/?cwe=CWE-1287) | 1 | 0 | 1 | 0 | calls 1 |
| [CWE-1295](https://keryn.dev/rules/?cwe=CWE-1295) | 1 | 0 | 1 | 0 | grants 1 |
| [CWE-1395](https://keryn.dev/rules/?cwe=CWE-1395) | 1 | 0 | 1 | 0 | depends_on 1 |

## CWE-78 OS Command Injection

136 rules · confidence P0 32, P1 73, P2 31 · severity error 85, warning 42, info 9

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 4 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 109 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 11 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 4 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 8

**30 of 136 rules, surest first**

- [keryn.agenthooks.copilot-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-pipes-download-to-shell)
- [keryn.agenthooks.copilot-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-reverse-shell)
- [keryn.agenthooks.cursor-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-pipes-download-to-shell)
- [keryn.agenthooks.cursor-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-reverse-shell)
- [keryn.agenthooks.gemini-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-pipes-download-to-shell)
- [keryn.agenthooks.gemini-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-reverse-shell)
- [keryn.agenthooks.windsurf-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-pipes-download-to-shell)
- [keryn.agenthooks.windsurf-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-reverse-shell)
- [keryn.general.ruby.command-injection-request](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubycommand-injection-request)
- [keryn.rustagent.model-output-to-process-command-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-process-command-rs)
- [keryn.skillexec.reverse-shell-bash-devtcp](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-bash-devtcp)
- [keryn.skillexec.reverse-shell-netcat](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-netcat)
- [keryn.skillexec.reverse-shell-python](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-python)
- [keryn.skillexec.reverse-shell-script-langs](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-script-langs)
- [keryn.skillexec.reverse-shell-socat](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-socat)
- [seceng.agentcfg.hook-pipes-to-shell](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfghook-pipes-to-shell)
- [seceng.llm05.taint.model-output-to-async-subprocess-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-async-subprocess-python)
- [seceng.llm05.taint.model-output-to-child-process-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-child-process-js)
- [seceng.llm05.taint.model-output-to-code-interpreter-tool-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-code-interpreter-tool-python)
- [seceng.llm05.taint.model-output-to-mcp-stdio-command-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-mcp-stdio-command-js)
- [seceng.llm05.taint.model-output-to-os-command-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-os-command-python)
- [seceng.llm05.taint.model-output-to-remote-command-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-remote-command-python)
- [seceng.llm05.taint.model-output-to-shell-quote-missing-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-shell-quote-missing-js)
- [seceng.mcp.csharp.tool-process-start](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-process-start)
- [seceng.mcp.go.tool-exec-command](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-exec-command)
- [seceng.mcp.go.tool-exec-shell-c](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-exec-shell-c)
- [seceng.mcp.java.tool-process-exec](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-process-exec)
- [seceng.mcp.kotlin.tool-process-builder](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpkotlintool-process-builder)
- [seceng.mcp.py.stdio-server-command-from-request](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppystdio-server-command-from-request)
- [seceng.mcp.rust.tool-command-new](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-command-new)

[All 136 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-78)

## CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

119 rules · confidence P0 8, P1 72, P2 39 · severity error 22, warning 81, info 16

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 19 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 10 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 12 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 5 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 38 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 34 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 1

**30 of 119 rules, surest first**

- [keryn.skillcred.browser-credential-store-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredbrowser-credential-store-read)
- [keryn.skillcred.macos-keychain-secret-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredmacos-keychain-secret-read)
- [keryn.skillcred.os-credential-database-access](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredos-credential-database-access)
- [keryn.skillcred.secret-manager-or-keyring-export](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredsecret-manager-or-keyring-export)
- [keryn.skillcred.ssh-key-material-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredssh-key-material-read)
- [seceng.agentrules.secrets-to-url-command](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulessecrets-to-url-command)
- [seceng.llm-frameworks.dspy-signature-leakage](https://keryn.dev/rules/llm-framework-risks/#secengllm-frameworksdspy-signature-leakage)
- [seceng.llm02-system-prompt-in-client](https://keryn.dev/rules/llm02-sensitive-prompt-trace-logging/#secengllm02-system-prompt-in-client)
- [keryn.egress.cs.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresscssecret-to-side-channel)
- [keryn.egress.go.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressgosecret-to-side-channel)
- [keryn.egress.java.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressjavasecret-to-side-channel)
- [keryn.egress.php.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressphpsecret-to-side-channel)
- [keryn.egress.py.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresspysecret-to-side-channel)
- [keryn.egress.ts.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresstssecret-to-side-channel)
- [keryn.outbound.model-output-as-message-recipient-js](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-as-message-recipient-js)
- [keryn.outbound.model-output-as-message-recipient-py](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-as-message-recipient-py)
- [keryn.skillexec.clipboard-exfil](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecclipboard-exfil)
- [keryn.skillpersist.dns-lookup-exfil-text](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistdns-lookup-exfil-text)
- [seceng.ciagent.agent-step-env-secrets](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-step-env-secrets)
- [seceng.mcp.csharp.tool-file-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-file-read)
- [seceng.mcp.go.tool-file-read](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-read)
- [seceng.mcp.java.tool-files-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-files-read)
- [seceng.mcp.kotlin.tool-file-access](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpkotlintool-file-access)
- [seceng.mcp.rust.tool-fs-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-read)
- [keryn.agentcfg.env-api-base-url-override](https://keryn.dev/rules/claude-code-hooks-v1/#kerynagentcfgenv-api-base-url-override)
- [keryn.agentcfg.hook-command-dns-lookup-with-variable](https://keryn.dev/rules/claude-code-hooks-v1/#kerynagentcfghook-command-dns-lookup-with-variable)
- [keryn.agenthooks.copilot-hook-sends-host-data](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-sends-host-data)
- [keryn.agenthooks.copilot-prompt-hook-posts-to-network](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-prompt-hook-posts-to-network)
- [keryn.agenthooks.cursor-hook-sends-host-data](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-sends-host-data)
- [keryn.agenthooks.cursor-prompt-hook-posts-to-network](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-prompt-hook-posts-to-network)

[All 119 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-200)

## CWE-20 Improper Input Validation

84 rules · confidence P0 2, P1 24, P2 58 · severity error 8, warning 67, info 9

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 30 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 22 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 9 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 12 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 3 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 2 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 6

**30 of 84 rules, surest first**

- [keryn.outbound.model-output-as-payment-amount-js](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-as-payment-amount-js)
- [keryn.outbound.model-output-as-payment-amount-py](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-as-payment-amount-py)
- [keryn.canon.go.validate-before-decode](https://keryn.dev/rules/canonicalization-order-v1/#keryncanongovalidate-before-decode)
- [keryn.canon.php.validate-before-decode](https://keryn.dev/rules/canonicalization-order-v1/#keryncanonphpvalidate-before-decode)
- [keryn.canon.py.validate-before-decode](https://keryn.dev/rules/canonicalization-order-v1/#keryncanonpyvalidate-before-decode)
- [keryn.canon.ts.validate-before-decode](https://keryn.dev/rules/canonicalization-order-v1/#keryncanontsvalidate-before-decode)
- [seceng.asi06.langgraph-langchain-memory-write-from-untrusted-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06langgraph-langchain-memory-write-from-untrusted-python)
- [seceng.llm01.prompt-injection-taint](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01prompt-injection-taint)
- [keryn.outbound.model-output-to-crm-record-js](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-to-crm-record-js)
- [keryn.outbound.model-output-to-crm-record-py](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-to-crm-record-py)
- [seceng.github-actions-secrets-to-issue-comment-llm](https://keryn.dev/rules/github-actions-ai-supply-chain-v2/#secenggithub-actions-secrets-to-issue-comment-llm)
- [seceng.gitlab-ci-user-input-to-shell-or-ai](https://keryn.dev/rules/gitlab-ci-ai-supply-chain-v2/#secenggitlab-ci-user-input-to-shell-or-ai)
- [seceng.llm-frameworks.js-ts-langchain-prompt-injection-validation-disabled](https://keryn.dev/rules/llm-framework-risks/#secengllm-frameworksjs-ts-langchain-prompt-injection-validation-disabled)
- [seceng.llm-frameworks.python-langchain-prompt-injection-validation-disabled](https://keryn.dev/rules/llm-framework-risks/#secengllm-frameworkspython-langchain-prompt-injection-validation-disabled)
- [seceng.llm01.js-ts-concat-prompt](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01js-ts-concat-prompt)
- [seceng.llm01.prompt-injection-taint-js](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01prompt-injection-taint-js)
- [seceng.llm01.taint.tool-result-to-tool-args-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01tainttool-result-to-tool-args-js)
- [seceng.llm05.taint.model-output-to-memory-write-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-memory-write-js)
- [seceng.llm06.langchain-tool-missing-args-schema](https://keryn.dev/rules/llm06-agentic-abuse-hardening-v2/#secengllm06langchain-tool-missing-args-schema)
- [seceng.mongoose-ai-regex-query-from-model-output](https://keryn.dev/rules/mongoose-ai-memory-v2/#secengmongoose-ai-regex-query-from-model-output)
- [seceng.schema-model-score-controls-security-decision](https://keryn.dev/rules/response-schema-validation-v2/#secengschema-model-score-controls-security-decision)
- [seceng.supabase.rpc-query-text-directly-from-request](https://keryn.dev/rules/supabase-rag-rpc-v2/#secengsupabaserpc-query-text-directly-from-request)
- [seceng.tsorm-ai-generated-orderby-or-select](https://keryn.dev/rules/typescript-orm-ai-actions-v2/#secengtsorm-ai-generated-orderby-or-select)
- [seceng.github-ai-pr-bot-commits-without-approval](https://keryn.dev/rules/github-actions-ai-supply-chain-v2/#secenggithub-ai-pr-bot-commits-without-approval)
- [seceng.langgraph.stategraph-without-typed-state](https://keryn.dev/rules/langgraph-state-integrity-v2/#secenglanggraphstategraph-without-typed-state)
- [seceng.llm01.trusted-dev-prompt-suppression](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01trusted-dev-prompt-suppression)
- [keryn.agents2026.agentcore-entrypoint-passes-payload-unvalidated](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026agentcore-entrypoint-passes-payload-unvalidated)
- [keryn.agents2026.genkit-definetool-no-inputschema](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026genkit-definetool-no-inputschema)
- [keryn.agents2026.mastra-createtool-no-inputschema](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026mastra-createtool-no-inputschema)
- [keryn.agents2026.vercelai-tool-permissive-input-schema](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026vercelai-tool-permissive-input-schema)

[All 84 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-20)

## CWE-94 Code Injection

84 rules · confidence P0 14, P1 58, P2 12 · severity error 61, warning 23, info 0

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 4 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 70 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 2 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 2 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 4 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 1

**30 of 84 rules, surest first**

- [keryn.browseragent.model-output-to-page-script-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-script-js)
- [keryn.browseragent.model-output-to-page-script-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-script-py)
- [keryn.rustagent.model-output-to-webview-eval-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-webview-eval-rs)
- [seceng.ciagent.agent-pr-head-checkout-on-pull-request-target](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-pr-head-checkout-on-pull-request-target)
- [seceng.llm05.taint.model-output-to-browser-eval-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-browser-eval-js)
- [seceng.llm05.taint.model-output-to-code-interpreter-tool-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-code-interpreter-tool-python)
- [seceng.llm05.taint.model-output-to-dynamic-import-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-dynamic-import-python)
- [seceng.llm05.taint.model-output-to-eval-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-eval-js)
- [seceng.llm05.taint.model-output-to-eval-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-eval-python)
- [seceng.llm05.taint.model-output-to-require-import-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-require-import-js)
- [seceng.llm05.taint.model-output-to-template-engine-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-template-engine-js)
- [seceng.llm05.taint.model-output-to-template-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-template-python)
- [seceng.mcp.py.stdio-server-command-from-request](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppystdio-server-command-from-request)
- [seceng.mcp.ts.stdio-client-transport-command-from-request](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptsstdio-client-transport-command-from-request)
- [keryn.agents2026.agentcore-payload-to-code-interpreter](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026agentcore-payload-to-code-interpreter)
- [keryn.agents2026.claude-agent-sdk-hook-runs-shell-from-tool-input](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026claude-agent-sdk-hook-runs-shell-from-tool-input)
- [keryn.agents2026.genkit-definetool-handler-command-exec](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026genkit-definetool-handler-command-exec)
- [keryn.agents2026.google-adk-unsafe-local-code-executor](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026google-adk-unsafe-local-code-executor)
- [keryn.agents2026.openai-agents-function-tool-command-exec](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026openai-agents-function-tool-command-exec)
- [keryn.agents2026.openai-agents-js-tool-execute-command-exec](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026openai-agents-js-tool-execute-command-exec)
- [keryn.agents2026.pydantic-ai-tool-argument-to-exec](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026pydantic-ai-tool-argument-to-exec)
- [keryn.general.python.logging-config-listen](https://keryn.dev/rules/general-hazards-python-v1/#keryngeneralpythonlogging-config-listen)
- [keryn.general.ruby.render-request-to-template](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubyrender-request-to-template)
- [keryn.vfgap.script-engine-eval-java](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapscript-engine-eval-java)
- [keryn.vfgap.vm-run-dynamic-code-js](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapvm-run-dynamic-code-js)
- [seceng.agentcfg.enable-all-project-mcp-servers](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgenable-all-project-mcp-servers)
- [seceng.agentrules.base64-decode-exec](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesbase64-decode-exec)
- [seceng.asi07.agent-event-stream-dispatches-commands-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07agent-event-stream-dispatches-commands-ts)
- [seceng.ciagent.agent-prompt-interpolates-event-text](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-prompt-interpolates-event-text)
- [seceng.ciagent.agent-step-on-pull-request-target](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-step-on-pull-request-target)

[All 84 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-94)

## CWE-829 Inclusion of Functionality from Untrusted Control Sphere

80 rules · confidence P0 10, P1 44, P2 26 · severity error 25, warning 50, info 5

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 7 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 12 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 6 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 4 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 50

**30 of 80 rules, surest first**

- [keryn.agenthooks.copilot-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-pipes-download-to-shell)
- [keryn.agenthooks.cursor-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-pipes-download-to-shell)
- [keryn.agenthooks.gemini-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-pipes-download-to-shell)
- [keryn.agenthooks.windsurf-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-pipes-download-to-shell)
- [keryn.modelload.torch-hub-load-trust-repo-nonliteral-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadtorch-hub-load-trust-repo-nonliteral-py)
- [keryn.skillpersist.shell-rc-download-exec](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistshell-rc-download-exec)
- [seceng.agentcfg.hook-pipes-to-shell](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfghook-pipes-to-shell)
- [seceng.ciagent.agent-pr-head-checkout-on-pull-request-target](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-pr-head-checkout-on-pull-request-target)
- [seceng.llm05.taint.model-output-to-mcp-stdio-command-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-mcp-stdio-command-js)
- [seceng.llm05.taint.model-output-to-require-import-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-require-import-js)
- [keryn.skillexec.download-chmod-run](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-chmod-run)
- [keryn.skillexec.download-to-temp-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-to-temp-exec)
- [keryn.skillexec.encrypted-archive-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecencrypted-archive-exec)
- [keryn.skillexec.fetch-to-interpreter](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecfetch-to-interpreter)
- [keryn.skillexec.staging-host-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecstaging-host-exec)
- [seceng.agentcfg.enable-all-project-mcp-servers](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgenable-all-project-mcp-servers)
- [seceng.agentcfg.mcp-npx-unpinned-package](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-npx-unpinned-package)
- [seceng.agentcfg.mcp-uvx-unpinned-package](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-uvx-unpinned-package)
- [seceng.llm03.js-ts-npm-install-in-code](https://keryn.dev/rules/llm03-supply-chain/#secengllm03js-ts-npm-install-in-code)
- [seceng.mcp.config.server-package-lookalike-official-scope](https://keryn.dev/rules/mcp-tool-name-integrity-v1/#secengmcpconfigserver-package-lookalike-official-scope)
- [seceng.modelsc.hf-inference-client-user-model](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelschf-inference-client-user-model)
- [seceng.modelsc.ollama-pull-user-model](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscollama-pull-user-model)
- [seceng.modelsc.ollama-pull-user-model-ts](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscollama-pull-user-model-ts)
- [seceng.modelsc.transformers-user-controlled-model-id](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelsctransformers-user-controlled-model-id)
- [seceng.modelsc.transformersjs-user-controlled-model-id](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelsctransformersjs-user-controlled-model-id)
- [keryn.agenthooks.copilot-hook-edits-workflows](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-edits-workflows)
- [keryn.agenthooks.copilot-hook-raw-ip-url](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-raw-ip-url)
- [keryn.agenthooks.cursor-hook-raw-ip-url](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-raw-ip-url)
- [keryn.agenthooks.gemini-hook-raw-ip-url](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-raw-ip-url)
- [keryn.agenthooks.windsurf-hook-raw-ip-url](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-raw-ip-url)

[All 80 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-829)

## CWE-22 Path Traversal

78 rules · confidence P0 0, P1 59, P2 19 · severity error 41, warning 34, info 3

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 12 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 16 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 34 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 12 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 2 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 2

**30 of 78 rules, surest first**

- [keryn.general.csharp.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharppath-traversal-request-to-file)
- [keryn.general.csharp.zip-slip-entry-name](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharpzip-slip-entry-name)
- [keryn.general.go.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-go-v1/#keryngeneralgopath-traversal-request-to-file)
- [keryn.general.go.zip-slip-entry-name](https://keryn.dev/rules/general-injection-go-v1/#keryngeneralgozip-slip-entry-name)
- [keryn.general.java.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-java-v1/#keryngeneraljavapath-traversal-request-to-file)
- [keryn.general.java.zip-slip-entry-name](https://keryn.dev/rules/general-injection-java-v1/#keryngeneraljavazip-slip-entry-name)
- [keryn.general.js.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-javascript-v1/#keryngeneraljspath-traversal-request-to-file)
- [keryn.general.kotlin.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-kotlin-v1/#keryngeneralkotlinpath-traversal-request-to-file)
- [keryn.general.kotlin.zip-slip-entry-name](https://keryn.dev/rules/general-injection-kotlin-v1/#keryngeneralkotlinzip-slip-entry-name)
- [keryn.general.php.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphppath-traversal-request-to-file)
- [keryn.general.php.zip-slip-archive-entry-name](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphpzip-slip-archive-entry-name)
- [keryn.general.python.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythonpath-traversal-request-to-file)
- [keryn.general.ruby.file-access-request](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubyfile-access-request)
- [keryn.general.swift.path-traversal-request-to-file](https://keryn.dev/rules/general-injection-swift-v1/#keryngeneralswiftpath-traversal-request-to-file)
- [keryn.modelload.request-path-to-model-loader-python](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadrequest-path-to-model-loader-python)
- [keryn.rustagent.model-output-to-fs-path-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-fs-path-rs)
- [seceng.mcp.csharp.tool-file-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-file-read)
- [seceng.mcp.csharp.tool-file-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-file-write)
- [seceng.mcp.go.tool-file-delete](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-delete)
- [seceng.mcp.go.tool-file-read](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-read)
- [seceng.mcp.go.tool-file-write](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-write)
- [seceng.mcp.java.tool-files-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-files-read)
- [seceng.mcp.java.tool-files-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-files-write)
- [seceng.mcp.kotlin.tool-file-access](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpkotlintool-file-access)
- [seceng.mcp.rust.tool-fs-read](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-read)
- [seceng.mcp.rust.tool-fs-remove](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-remove)
- [seceng.mcp.rust.tool-fs-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-write)
- [seceng.modelsc.model-file-user-controlled-path](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscmodel-file-user-controlled-path)
- [seceng.ragloader.directory-loader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderdirectory-loader-path-traversal)
- [seceng.ragloader.langchain-file-loader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchain-file-loader-path-traversal)

[All 78 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-22)

## CWE-79 Cross-site Scripting

70 rules · confidence P0 2, P1 43, P2 25 · severity error 7, warning 61, info 2

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 65 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 2 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 2

**30 of 70 rules, surest first**

- [keryn.rustagent.model-output-to-webview-eval-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-webview-eval-rs)
- [seceng.llm05.taint.model-output-to-browser-eval-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-browser-eval-js)
- [keryn.general.php.xss-request-to-output](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphpxss-request-to-output)
- [keryn.general.ruby.html-safe-request](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubyhtml-safe-request)
- [vulnfix-ai-ai_js_dangerous_html](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_js_dangerous_html)
- [vulnfix-ai-ai_streamlit_unsafe_html](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_streamlit_unsafe_html)
- [vulnfix-ai-ai_taint_html](https://keryn.dev/rules/vulnfix-ai-taint/#vulnfix-ai-ai_taint_html)
- [keryn.browseragent.model-output-to-page-html-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-html-js)
- [keryn.browseragent.model-output-to-page-html-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-html-py)
- [keryn.general.csharp.xss-request-to-html-output](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharpxss-request-to-html-output)
- [keryn.general.go.xss-request-to-response-writer](https://keryn.dev/rules/general-injection-go-v1/#keryngeneralgoxss-request-to-response-writer)
- [keryn.general.java.xss-request-to-response-writer](https://keryn.dev/rules/general-injection-java-v1/#keryngeneraljavaxss-request-to-response-writer)
- [keryn.general.js.template-escape-markup-disabled](https://keryn.dev/rules/javascript-node-security-v1/#keryngeneraljstemplate-escape-markup-disabled)
- [keryn.general.js.xss-request-to-html-response](https://keryn.dev/rules/general-injection-javascript-v1/#keryngeneraljsxss-request-to-html-response)
- [keryn.general.kotlin.xss-request-to-html-response](https://keryn.dev/rules/general-injection-kotlin-v1/#keryngeneralkotlinxss-request-to-html-response)
- [keryn.general.python.jinja2-autoescape-disabled](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythonjinja2-autoescape-disabled)
- [keryn.general.python.markup-non-literal](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythonmarkup-non-literal)
- [keryn.general.python.xss-request-to-html-response](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythonxss-request-to-html-response)
- [keryn.general.ruby.render-inline-unescaped-local](https://keryn.dev/rules/general-injection-ruby-text-v1/#keryngeneralrubyrender-inline-unescaped-local)
- [keryn.general.swift.webview-html-js-injection](https://keryn.dev/rules/general-injection-swift-v1/#keryngeneralswiftwebview-html-js-injection)
- [keryn.rails.cve.content-tag-attribute-value-cve-2016-6316](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvecontent-tag-attribute-value-cve-2016-6316)
- [keryn.rails.cve.mail-to-javascript-encode-cve-2011-0446](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvemail-to-javascript-encode-cve-2011-0446)
- [keryn.rails.cve.number-helper-format-cve-2014-0081](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvenumber-helper-format-cve-2014-0081)
- [keryn.rails.cve.raw-sanitized-request-old-sanitizer](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscveraw-sanitized-request-old-sanitizer)
- [keryn.rails.cve.sanitize-call-cve-2013-1857](https://keryn.dev/rules/rails-version-scoped-ruby-v1/#kerynrailscvesanitize-call-cve-2013-1857)
- [keryn.rails.cve.sanitize-in-view-cve-2013-1857](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvesanitize-in-view-cve-2013-1857)
- [keryn.rails.cve.sanitizer-select-style-cve-2022-32209](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvesanitizer-select-style-cve-2022-32209)
- [keryn.rails.cve.select-options-string-cve-2012-1099](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscveselect-options-string-cve-2012-1099)
- [keryn.rails.cve.select-tag-prompt-cve-2012-3463](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscveselect-tag-prompt-cve-2012-3463)
- [keryn.rails.cve.simple-format-cve-2013-6416](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailscvesimple-format-cve-2013-6416)

[All 70 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-79)

## CWE-639 Authorization Bypass Through User-Controlled Key

63 rules · confidence P0 0, P1 24, P2 39 · severity error 7, warning 46, info 10

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 1 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 16 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 5 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 41

**30 of 63 rules, surest first**

- [keryn.trust.py.identity-assigned-from-model-output](https://keryn.dev/rules/agent-trust-assignment-v1/#keryntrustpyidentity-assigned-from-model-output)
- [keryn.trust.ts.identity-assigned-from-model-output](https://keryn.dev/rules/agent-trust-assignment-v1/#keryntrusttsidentity-assigned-from-model-output)
- [seceng.asi03.impersonation-header-from-model-output-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03impersonation-header-from-model-output-python)
- [seceng.asi03.impersonation-header-from-model-output-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03impersonation-header-from-model-output-ts)
- [seceng.asi03.tool-authz-from-model-argument-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03tool-authz-from-model-argument-python)
- [seceng.asi06.memory-shared-user-scope-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-shared-user-scope-python)
- [seceng.asi06.memory-shared-user-scope-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-shared-user-scope-ts)
- [seceng.cloudflare-d1-ai-query-without-tenant-filter](https://keryn.dev/rules/cloudflare-workers-ai-v2/#secengcloudflare-d1-ai-query-without-tenant-filter)
- [seceng.cloudflare-kv-ai-memory-without-tenant-prefix](https://keryn.dev/rules/cloudflare-workers-ai-v2/#secengcloudflare-kv-ai-memory-without-tenant-prefix)
- [seceng.deno.edge-kv-ai-memory-without-tenant-prefix](https://keryn.dev/rules/deno-ai-edge-v2/#secengdenoedge-kv-ai-memory-without-tenant-prefix)
- [seceng.firebase.firestore-ai-collection-read-without-owner-filter](https://keryn.dev/rules/firebase-ai-memory-v2/#secengfirebasefirestore-ai-collection-read-without-owner-filter)
- [seceng.mongoose.ai-query-without-tenant-filter](https://keryn.dev/rules/mongoose-ai-memory-v2/#secengmongooseai-query-without-tenant-filter)
- [seceng.orm.drizzle-ai-query-without-tenant-filter](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormdrizzle-ai-query-without-tenant-filter)
- [seceng.orm.prisma-ai-findmany-without-tenant-filter](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormprisma-ai-findmany-without-tenant-filter)
- [seceng.orm.sequelize-ai-resource-without-owner](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormsequelize-ai-resource-without-owner)
- [seceng.orm.sqlalchemy-ai-query-without-tenant-filter](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormsqlalchemy-ai-query-without-tenant-filter)
- [seceng.orm.typeorm-findone-ai-resource-without-owner](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormtypeorm-findone-ai-resource-without-owner)
- [seceng.supabase-auth-user-not-bound-to-query](https://keryn.dev/rules/supabase-ai-edge-v2/#secengsupabase-auth-user-not-bound-to-query)
- [seceng.agentframework.autogen-shared-workdir-or-history](https://keryn.dev/rules/crewai-autogen-agent-safety-v2/#secengagentframeworkautogen-shared-workdir-or-history)
- [seceng.agentframework.crewai-memory-without-tenant-scope](https://keryn.dev/rules/crewai-autogen-agent-safety-v2/#secengagentframeworkcrewai-memory-without-tenant-scope)
- [seceng.forensics-no-user-tenant-on-ai-event](https://keryn.dev/rules/ai-forensics-observability-v2/#secengforensics-no-user-tenant-on-ai-event)
- [seceng.redis-embedding-cache-shared-key](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredis-embedding-cache-shared-key)
- [seceng.tsorm-prisma-include-cross-tenant-ai-data](https://keryn.dev/rules/typescript-orm-ai-actions-v2/#secengtsorm-prisma-include-cross-tenant-ai-data)
- [seceng.vectordb.shared-collection-name](https://keryn.dev/rules/vector-db-auth-isolation-v2/#secengvectordbshared-collection-name)
- [keryn.privilege.client-field-trusted](https://keryn.dev/rules/client-trusted-privilege-v1/#kerynprivilegeclient-field-trusted)
- [seceng.asi03.tool-authz-from-model-argument-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03tool-authz-from-model-argument-ts)
- [seceng.cloudflare.vectorize-query-without-namespace-filter](https://keryn.dev/rules/cloudflare-workers-ai-v2/#secengcloudflarevectorize-query-without-namespace-filter)
- [seceng.firebase.firestore-doc-id-from-request-without-owner](https://keryn.dev/rules/firebase-ai-memory-v2/#secengfirebasefirestore-doc-id-from-request-without-owner)
- [seceng.graphql-resolver-id-from-args-without-owner](https://keryn.dev/rules/graphql-ai-boundary-v2/#secenggraphql-resolver-id-from-args-without-owner)
- [seceng.java-ai-resource-by-id-without-owner](https://keryn.dev/rules/java-spring-ai-v2/#secengjava-ai-resource-by-id-without-owner)

[All 63 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-639)

## CWE-862 Missing Authorization

61 rules · confidence P0 1, P1 31, P2 29 · severity error 9, warning 42, info 10

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 1 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 9 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 50

**30 of 61 rules, surest first**

- [seceng.workflow.webhook-to-credentialed-action](https://keryn.dev/rules/workflow-import-execution-risk/#secengworkflowwebhook-to-credentialed-action)
- [keryn.agents2026.claude-agent-sdk-bypass-permissions](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026claude-agent-sdk-bypass-permissions)
- [keryn.agents2026.claude-agent-sdk-ts-bypass-permissions](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026claude-agent-sdk-ts-bypass-permissions)
- [keryn.agents2026.strands-bypass-tool-consent](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026strands-bypass-tool-consent)
- [seceng.agentcfg.default-mode-bypass-permissions](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgdefault-mode-bypass-permissions)
- [seceng.asi09.approval-callback-always-allows-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi09approval-callback-always-allows-python)
- [seceng.asi09.approval-callback-always-allows-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi09approval-callback-always-allows-ts)
- [seceng.asi09.approval-gate-disabled-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi09approval-gate-disabled-python)
- [seceng.asi09.approval-gate-disabled-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi09approval-gate-disabled-ts)
- [seceng.ciagent.agent-skip-permissions-flag](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-skip-permissions-flag)
- [keryn.agentcfg.hook-command-unconditional-allow](https://keryn.dev/rules/claude-code-hooks-v1/#kerynagentcfghook-command-unconditional-allow)
- [keryn.agentclient.codex-approval-policy-never](https://keryn.dev/rules/agent-client-configs-generic-v1/#kerynagentclientcodex-approval-policy-never)
- [keryn.agentclient.gemini-auto-accept](https://keryn.dev/rules/agent-client-configs-v1/#kerynagentclientgemini-auto-accept)
- [keryn.agentclient.gemini-mcp-server-trusted](https://keryn.dev/rules/agent-client-configs-v1/#kerynagentclientgemini-mcp-server-trusted)
- [keryn.agentclient.skill-allowed-tools-unrestricted](https://keryn.dev/rules/agent-client-configs-generic-v1/#kerynagentclientskill-allowed-tools-unrestricted)
- [keryn.agentclient.vscode-chat-tools-auto-approve](https://keryn.dev/rules/agent-client-configs-v1/#kerynagentclientvscode-chat-tools-auto-approve)
- [keryn.agenthooks.cursor-gate-hook-always-allows](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-gate-hook-always-allows)
- [keryn.agents2026.claude-agent-sdk-can-use-tool-always-allows](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026claude-agent-sdk-can-use-tool-always-allows)
- [keryn.agents2026.vercelai-tool-needsapproval-disabled-destructive](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026vercelai-tool-needsapproval-disabled-destructive)
- [keryn.gaps.money-moving-call-without-approval](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsmoney-moving-call-without-approval)
- [keryn.rails.ruby.skip-auth-filter-except](https://keryn.dev/rules/rails-hardening-ruby-v2/#kerynrailsrubyskip-auth-filter-except)
- [keryn.vendor.openai-action-mutating-op-not-consequential-yaml](https://keryn.dev/rules/vendor-sdk-safety-controls-v1/#kerynvendoropenai-action-mutating-op-not-consequential-yaml)
- [seceng.agentrules.disable-permission-checks](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesdisable-permission-checks)
- [seceng.llm08.supabase-match-documents-rpc](https://keryn.dev/rules/llm08-rag-vector-tenant-filter/#secengllm08supabase-match-documents-rpc)
- [seceng.postgres-ai-table-without-rls](https://keryn.dev/rules/postgres-ai-tenant-boundary-v2/#secengpostgres-ai-table-without-rls)
- [seceng.supabase.rls-not-enabled-for-ai-table](https://keryn.dev/rules/supabase-postgrest-rls-v2/#secengsupabaserls-not-enabled-for-ai-table)
- [seceng.github-ai-pr-bot-commits-without-approval](https://keryn.dev/rules/github-actions-ai-supply-chain-v2/#secenggithub-ai-pr-bot-commits-without-approval)
- [seceng.gitlab-ai-generated-commit-no-approval](https://keryn.dev/rules/gitlab-ci-ai-supply-chain-v2/#secenggitlab-ai-generated-commit-no-approval)
- [seceng.llm06.dangerous-tool-without-obvious-approval](https://keryn.dev/rules/llm06-agent-tool-approval/#secengllm06dangerous-tool-without-obvious-approval)
- [seceng.llm06.tool-call-without-approval-gate](https://keryn.dev/rules/llm06-agentic-abuse-hardening-v2/#secengllm06tool-call-without-approval-gate)

[All 61 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-862)

## CWE-798 Use of Hard-coded Credentials

56 rules · confidence P0 3, P1 21, P2 32 · severity error 18, warning 37, info 1

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 3 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 1 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 13 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 2 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 37

**30 of 56 rules, surest first**

- [seceng.agentcfg.mcp-env-inline-secret-known-prefix](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-env-inline-secret-known-prefix)
- [seceng.mcp.py.oauth-client-secret-hardcoded](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppyoauth-client-secret-hardcoded)
- [seceng.mcp.ts.oauth-client-secret-hardcoded](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptsoauth-client-secret-hardcoded)
- [keryn.keyliteral.anthropic](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralanthropic)
- [keryn.keyliteral.elevenlabs](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralelevenlabs)
- [keryn.keyliteral.fireworks](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralfireworks)
- [keryn.keyliteral.google-ai-studio](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralgoogle-ai-studio)
- [keryn.keyliteral.huggingface](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralhuggingface)
- [keryn.keyliteral.langfuse](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliterallangfuse)
- [keryn.keyliteral.langsmith](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliterallangsmith)
- [keryn.keyliteral.openai](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralopenai)
- [keryn.keyliteral.openrouter](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralopenrouter)
- [keryn.keyliteral.perplexity](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralperplexity)
- [keryn.keyliteral.replicate](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralreplicate)
- [keryn.keyliteral.voyage](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralvoyage)
- [keryn.keyliteral.xai](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralxai)
- [seceng.agentcfg.mcp-header-inline-credential](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-header-inline-credential)
- [vulnfix-ai-ai_hardcoded_provider_key](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_hardcoded_provider_key)
- [keryn.rails.ruby.basic-auth-hardcoded-password](https://keryn.dev/rules/rails-hardening-ruby-v2/#kerynrailsrubybasic-auth-hardcoded-password)
- [keryn.rails.ruby.secret-key-literal](https://keryn.dev/rules/rails-hardening-ruby-v1/#kerynrailsrubysecret-key-literal)
- [keryn.rails.yaml.secret-key-base-literal](https://keryn.dev/rules/rails-secrets-yaml-v1/#kerynrailsyamlsecret-key-base-literal)
- [seceng.container-ai-secret-env-direct](https://keryn.dev/rules/container-orchestration-ai-v2/#secengcontainer-ai-secret-env-direct)
- [seceng.edge.vercel-edge-config-secret-or-prompt](https://keryn.dev/rules/netlify-vercel-edge-ai-v2/#secengedgevercel-edge-config-secret-or-prompt)
- [seceng.tauri-ai-prompt-or-key-in-frontend](https://keryn.dev/rules/tauri-ai-command-security-v2/#secengtauri-ai-prompt-or-key-in-frontend)
- [keryn.keyliteral.assigned-literal-provider-key](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralassigned-literal-provider-key)
- [keryn.keyliteral.groq](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralgroq)
- [keryn.keyliteral.pinecone](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteralpinecone)
- [keryn.keyliteral.tavily](https://keryn.dev/rules/llm-provider-key-literal-v1/#kerynkeyliteraltavily)
- [seceng.agentcfg.mcp-env-inline-secret-long-value](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-env-inline-secret-long-value)
- [seceng.bundle-hardcoded-ai-key](https://keryn.dev/rules/browser-extension-bundled-artifacts-v2/#secengbundle-hardcoded-ai-key)

[All 56 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-798)

## CWE-918 Server-Side Request Forgery

56 rules · confidence P0 1, P1 41, P2 14 · severity error 26, warning 30, info 0

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 41 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 9 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 5

**30 of 56 rules, surest first**

- [keryn.skillcred.cloud-metadata-endpoint-access](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcloud-metadata-endpoint-access)
- [keryn.browseragent.model-output-to-page-navigation-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-navigation-js)
- [keryn.browseragent.model-output-to-page-navigation-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmodel-output-to-page-navigation-py)
- [keryn.general.php.ssrf-request-to-http-client](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphpssrf-request-to-http-client)
- [seceng.asi07.a2a-push-notification-url-not-allowlisted-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07a2a-push-notification-url-not-allowlisted-python)
- [seceng.asi07.a2a-push-notification-url-not-allowlisted-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07a2a-push-notification-url-not-allowlisted-ts)
- [seceng.mcp.csharp.tool-http-client-url](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-http-client-url)
- [seceng.mcp.go.tool-http-request-ssrf](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-http-request-ssrf)
- [seceng.mcp.java.tool-url-fetch](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-url-fetch)
- [seceng.mcp.kotlin.tool-url-fetch](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpkotlintool-url-fetch)
- [seceng.mcp.rust.tool-reqwest-url](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-reqwest-url)
- [seceng.modelsc.hf-inference-client-user-model](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelschf-inference-client-user-model)
- [seceng.ragloader.ingest-pipeline-fetch-user-url](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderingest-pipeline-fetch-user-url)
- [seceng.ragloader.langchain-web-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchain-web-loader-ssrf)
- [seceng.ragloader.langchainjs-recursive-url-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchainjs-recursive-url-loader-ssrf)
- [seceng.ragloader.langchainjs-web-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchainjs-web-loader-ssrf)
- [seceng.ragloader.llamaindex-web-reader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderllamaindex-web-reader-ssrf)
- [seceng.ragloader.playwright-url-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderplaywright-url-loader-ssrf)
- [seceng.ragloader.recursive-url-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderrecursive-url-loader-ssrf)
- [seceng.ragloader.unstructured-url-loader-ssrf](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderunstructured-url-loader-ssrf)
- [vulnfix-ai-ai_lc_allow_dangerous_requests](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_allow_dangerous_requests)
- [vulnfix-ai-ai_lc_requests_get_tool](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_requests_get_tool)
- [vulnfix-ai-ai_lc_requests_post_tool](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_requests_post_tool)
- [vulnfix-ai-ai_lc_requests_wrapper](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_requests_wrapper)
- [vulnfix-ai-ai_mcp_param_ssrf](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_param_ssrf)
- [vulnfix-ai-ai_mcp_tool_ssrf](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_tool_ssrf)
- [keryn.agents2026.openai-agents-function-tool-network-or-file](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026openai-agents-function-tool-network-or-file)
- [keryn.agents2026.openai-agents-js-tool-execute-file-or-network](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026openai-agents-js-tool-execute-file-or-network)
- [keryn.gaps.parameter-url-fetched](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsparameter-url-fetched)
- [keryn.general.csharp.ssrf-request-to-http-client](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharpssrf-request-to-http-client)

[All 56 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-918)

## CWE-250 Execution with Unnecessary Privileges

55 rules · confidence P0 5, P1 40, P2 10 · severity error 23, warning 29, info 3

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 11 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 42 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 1

**30 of 55 rules, surest first**

- [keryn.skillcred.container-escape-from-skill](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcontainer-escape-from-skill)
- [seceng.agentcfg.mcp-docker-privileged](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-docker-privileged)
- [seceng.agentcfg.mcp-docker-sensitive-mount](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-docker-sensitive-mount)
- [seceng.asi10.agent-sandbox-host-escape-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10agent-sandbox-host-escape-python)
- [seceng.asi10.agent-sandbox-host-escape-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10agent-sandbox-host-escape-ts)
- [keryn.skillexec.download-then-sudo-run](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-then-sudo-run)
- [keryn.skillexec.sudoers-nopasswd](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecsudoers-nopasswd)
- [seceng.agentcfg.allow-bash-unrestricted](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgallow-bash-unrestricted)
- [seceng.agentcfg.allow-global-wildcard](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgallow-global-wildcard)
- [seceng.agentcfg.allow-risky-bash-prefix](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgallow-risky-bash-prefix)
- [seceng.agentcfg.default-mode-bypass-permissions](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgdefault-mode-bypass-permissions)
- [seceng.asi03.agent-sandbox-runs-as-root-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03agent-sandbox-runs-as-root-python)
- [seceng.asi03.agent-sandbox-runs-as-root-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03agent-sandbox-runs-as-root-ts)
- [seceng.asi03.tool-uses-static-privileged-credential-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi03tool-uses-static-privileged-credential-ts)
- [seceng.ciagent.agent-allowed-tools-bash-unrestricted](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-allowed-tools-bash-unrestricted)
- [seceng.ciagent.agent-id-token-write-on-untrusted-trigger](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-id-token-write-on-untrusted-trigger)
- [seceng.ciagent.agent-skip-permissions-flag](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-skip-permissions-flag)
- [seceng.ciagent.agent-step-on-pull-request-target](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-step-on-pull-request-target)
- [seceng.ciagent.agent-write-permissions-on-untrusted-trigger](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-write-permissions-on-untrusted-trigger)
- [seceng.iacai.agent-tool-workload-host-network](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaiagent-tool-workload-host-network)
- [seceng.iacai.cfn-bedrock-iam-wildcard-action-resource](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-bedrock-iam-wildcard-action-resource)
- [seceng.iacai.cfn-bedrock-iam-wildcard-action-resource-json](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-bedrock-iam-wildcard-action-resource-json)
- [seceng.iacai.gpu-ai-container-privileged](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaigpu-ai-container-privileged)
- [keryn.agentcfg.hook-command-unconditional-allow](https://keryn.dev/rules/claude-code-hooks-v1/#kerynagentcfghook-command-unconditional-allow)
- [keryn.agentclient.codex-sandbox-full-access](https://keryn.dev/rules/agent-client-configs-generic-v1/#kerynagentclientcodex-sandbox-full-access)
- [keryn.agentclient.skill-allowed-tools-unrestricted](https://keryn.dev/rules/agent-client-configs-generic-v1/#kerynagentclientskill-allowed-tools-unrestricted)
- [keryn.agenthooks.copilot-hook-uses-sudo](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-uses-sudo)
- [keryn.agenthooks.cursor-gate-hook-always-allows](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-gate-hook-always-allows)
- [keryn.browseragent.browser-agent-attaches-to-live-browser-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-attaches-to-live-browser-js)
- [keryn.browseragent.browser-agent-attaches-to-live-browser-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-attaches-to-live-browser-py)

[All 55 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-250)

## CWE-306 Missing Authentication for Critical Function

52 rules · confidence P0 2, P1 24, P2 26 · severity error 1, warning 41, info 10

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 14 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 3 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 30 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 4

**30 of 52 rules, surest first**

- [seceng.eval.public-dashboard-no-auth](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalpublic-dashboard-no-auth)
- [seceng.workflow.webhook-to-credentialed-action](https://keryn.dev/rules/workflow-import-execution-risk/#secengworkflowwebhook-to-credentialed-action)
- [seceng.iacai.k8s-ai-service-exposed-loadbalancer-nodeport](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaik8s-ai-service-exposed-loadbalancer-nodeport)
- [keryn.browseragent.browser-agent-attaches-to-live-browser-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-attaches-to-live-browser-js)
- [keryn.browseragent.browser-agent-attaches-to-live-browser-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-attaches-to-live-browser-py)
- [keryn.browseragent.mcp-browser-server-attached-to-user-browser](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentmcp-browser-server-attached-to-user-browser)
- [seceng.asi07.a2a-agent-card-without-security-schemes-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07a2a-agent-card-without-security-schemes-python)
- [seceng.asi07.a2a-agent-card-without-security-schemes-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07a2a-agent-card-without-security-schemes-ts)
- [seceng.cloudai.vertex-public-endpoint-or-logging](https://keryn.dev/rules/azure-bedrock-vertex-ai-config-v2/#secengcloudaivertex-public-endpoint-or-logging)
- [seceng.gateway-localai-uploads-enabled-public](https://keryn.dev/rules/litellm-localai-gateway-v2/#secenggateway-localai-uploads-enabled-public)
- [seceng.iacai.vllm-container-no-api-key](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaivllm-container-no-api-key)
- [seceng.mcp.go.go-sdk-http-bind-all](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgogo-sdk-http-bind-all)
- [seceng.mcp.go.mark3labs-http-bind-all](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgomark3labs-http-bind-all)
- [seceng.mcp.py.network-transport-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppynetwork-transport-bind-all)
- [seceng.mcp.py.uvicorn-mcp-app-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppyuvicorn-mcp-app-bind-all)
- [seceng.mcp.ts.listen-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptslisten-bind-all)
- [vulnfix-ai-ai_mcp_bind_all](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_bind_all)
- [vulnfix-ai-ai_mcp_http_transport](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_http_transport)
- [vulnfix-ai-ai_mcp_sse_transport](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_sse_transport)
- [vulnfix-ai-ai_route_no_auth_dependency](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_route_no_auth_dependency)
- [seceng.cloudai.azure-openai-public-network-access](https://keryn.dev/rules/azure-bedrock-vertex-ai-config-v2/#secengcloudaiazure-openai-public-network-access)
- [seceng.container-compose-ai-port-public-no-auth](https://keryn.dev/rules/container-orchestration-ai-v2/#secengcontainer-compose-ai-port-public-no-auth)
- [seceng.container.ai-service-loadbalancer-no-auth-hint](https://keryn.dev/rules/container-orchestration-ai-v2/#secengcontainerai-service-loadbalancer-no-auth-hint)
- [seceng.deploy.fly-ai-service-public-no-auth](https://keryn.dev/rules/ai-deployment-platforms-v2/#secengdeployfly-ai-service-public-no-auth)
- [seceng.deploy.render-railway-ai-public-no-auth](https://keryn.dev/rules/ai-deployment-platforms-v2/#secengdeployrender-railway-ai-public-no-auth)
- [seceng.redis-public-cache-no-auth](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredis-public-cache-no-auth)
- [keryn.fastapi.llm-route-without-auth](https://keryn.dev/rules/fastapi-ai-service-v1/#kerynfastapillm-route-without-auth)
- [keryn.flask.llm-route-without-auth](https://keryn.dev/rules/fastapi-ai-service-v1/#kerynflaskllm-route-without-auth)
- [seceng.agentcfg.mcp-remote-no-authorization](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-remote-no-authorization)
- [seceng.asi07.a2a-jsonrpc-endpoint-without-auth-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07a2a-jsonrpc-endpoint-without-auth-python)

[All 52 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-306)

## CWE-502 Deserialization of Untrusted Data

49 rules · confidence P0 8, P1 33, P2 8 · severity error 28, warning 19, info 2

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 1 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 3 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 1 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 43

**30 of 49 rules, surest first**

- [keryn.general.ruby.unsafe-deserialization-request](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubyunsafe-deserialization-request)
- [keryn.modelload.cloudpickle-or-dill-loads-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadcloudpickle-or-dill-loads-py)
- [keryn.modelload.hf-hub-download-result-unpickled-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadhf-hub-download-result-unpickled-py)
- [keryn.modelload.keras-load-model-safe-mode-disabled-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadkeras-load-model-safe-mode-disabled-py)
- [keryn.modelload.numpy-load-allow-pickle-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadnumpy-load-allow-pickle-py)
- [keryn.modelload.torch-hub-load-state-dict-nonliteral-url-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadtorch-hub-load-state-dict-nonliteral-url-py)
- [keryn.modelload.yaml-load-unsafe-loader-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadyaml-load-unsafe-loader-py)
- [seceng.llm05.taint.model-output-to-deserialization-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-deserialization-python)
- [keryn.general.csharp.insecure-deserialization-javascriptserializer-typeresolver](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharpinsecure-deserialization-javascriptserializer-typeresolver)
- [keryn.general.php.unserialize-untrusted-input](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphpunserialize-untrusted-input)
- [keryn.modelload.pandas-read-pickle-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadpandas-read-pickle-py)
- [keryn.modelload.request-path-to-model-loader-python](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadrequest-path-to-model-loader-python)
- [keryn.modelload.torch-package-importer-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadtorch-package-importer-py)
- [keryn.vfgap.insecure-formatter-deserialization-cs](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapinsecure-formatter-deserialization-cs)
- [keryn.vfgap.json-net-typenamehandling-cs](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapjson-net-typenamehandling-cs)
- [keryn.vfgap.jsonpickle-decode-py](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapjsonpickle-decode-py)
- [keryn.vfgap.node-serialize-unserialize-js](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapnode-serialize-unserialize-js)
- [keryn.vfgap.snakeyaml-unsafe-load-java](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapsnakeyaml-unsafe-load-java)
- [keryn.vfgap.xmldecoder-java](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapxmldecoder-java)
- [keryn.vfgap.xstream-from-xml-java](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapxstream-from-xml-java)
- [seceng.modelsc.transformers-user-controlled-model-id](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelsctransformers-user-controlled-model-id)
- [vulnfix-ai-ai_js_lc_allow_dangerous](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_js_lc_allow_dangerous)
- [vulnfix-ai-ai_keras_load_model](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_keras_load_model)
- [vulnfix-ai-ai_langchain_load_secrets_env](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_langchain_load_secrets_env)
- [vulnfix-ai-ai_lc_allow_dangerous_deser](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_allow_dangerous_deser)
- [vulnfix-ai-ai_mcp_param_deser](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_param_deser)
- [vulnfix-ai-ai_mlflow_load_model](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mlflow_load_model)
- [vulnfix-ai-ai_torch_load_unsafe](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_torch_load_unsafe)
- [keryn.gaps.bytes-from-network-deserialized](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsbytes-from-network-deserialized)
- [keryn.general.python.marshal-load](https://keryn.dev/rules/general-hazards-python-v1/#keryngeneralpythonmarshal-load)

[All 49 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-502)

## CWE-494 Download of Code Without Integrity Check

47 rules · confidence P0 5, P1 30, P2 12 · severity error 18, warning 26, info 3

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 7 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 3 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 36

**30 of 47 rules, surest first**

- [keryn.agenthooks.copilot-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-pipes-download-to-shell)
- [keryn.agenthooks.cursor-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-pipes-download-to-shell)
- [keryn.agenthooks.gemini-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-pipes-download-to-shell)
- [keryn.agenthooks.windsurf-hook-pipes-download-to-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-pipes-download-to-shell)
- [seceng.agentcfg.hook-pipes-to-shell](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfghook-pipes-to-shell)
- [keryn.skillexec.download-chmod-run](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-chmod-run)
- [keryn.skillexec.download-then-sudo-run](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-then-sudo-run)
- [keryn.skillexec.download-to-temp-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdownload-to-temp-exec)
- [keryn.skillexec.fetch-to-interpreter](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecfetch-to-interpreter)
- [keryn.skillexec.interpreter-oneliner-fetch-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecinterpreter-oneliner-fetch-exec)
- [keryn.skillexec.macos-quarantine-bypass](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecmacos-quarantine-bypass)
- [keryn.skillexec.staging-host-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecstaging-host-exec)
- [seceng.agentcfg.mcp-npx-unpinned-package](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-npx-unpinned-package)
- [seceng.agentcfg.mcp-uvx-unpinned-package](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-uvx-unpinned-package)
- [seceng.asi01.agent-instructions-loaded-at-runtime-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01agent-instructions-loaded-at-runtime-python)
- [seceng.asi01.agent-instructions-loaded-at-runtime-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01agent-instructions-loaded-at-runtime-ts)
- [vulnfix-ai-ai_llamaindex_download_loader](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_llamaindex_download_loader)
- [vulnfix-ai-ai_torch_hub_load](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_torch_hub_load)
- [keryn.agenthooks.copilot-hook-edits-workflows](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-edits-workflows)
- [keryn.gaps.bytes-from-network-deserialized](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsbytes-from-network-deserialized)
- [keryn.modelload.torch-hub-load-state-dict-literal-url-unhardened-py](https://keryn.dev/rules/model-loading-v1/#kerynmodelloadtorch-hub-load-state-dict-literal-url-unhardened-py)
- [keryn.skillpersist.raw-ip-or-risky-tld-fetch](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistraw-ip-or-risky-tld-fetch)
- [seceng.agentrules.pip-install-from-url](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulespip-install-from-url)
- [seceng.agentrules.pipe-to-shell](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulespipe-to-shell)
- [seceng.github.actions-unpinned-third-party-action](https://keryn.dev/rules/github-actions-ai-supply-chain-v2/#secenggithubactions-unpinned-third-party-action)
- [seceng.llm03.dynamic-model-download](https://keryn.dev/rules/llm03-supply-chain/#secengllm03dynamic-model-download)
- [seceng.llm03.remote-model-url-without-integrity](https://keryn.dev/rules/llm03-supply-chain-hardening-v2/#secengllm03remote-model-url-without-integrity)
- [seceng.modelsc.dockerfile-npx-npm-global-unpinned-mcp](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscdockerfile-npx-npm-global-unpinned-mcp)
- [seceng.modelsc.hf-revision-mutable-ref](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelschf-revision-mutable-ref)
- [seceng.modelsc.mcp-stdio-npx-unpinned-python](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscmcp-stdio-npx-unpinned-python)

[All 47 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-494)

## CWE-89 SQL Injection

43 rules · confidence P0 7, P1 22, P2 14 · severity error 21, warning 22, info 0

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 43

**30 of 43 rules, surest first**

- [keryn.rustagent.model-output-to-sql-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-sql-rs)
- [seceng.llm05.taint.model-output-to-sql-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-sql-js)
- [seceng.llm05.taint.model-output-to-sql-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-sql-python)
- [seceng.mcp.csharp.tool-sql-command-interpolated](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-sql-command-interpolated)
- [seceng.mcp.go.tool-sql-string-built](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-sql-string-built)
- [seceng.mcp.java.tool-jdbc-statement-concat](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-jdbc-statement-concat)
- [seceng.mcp.rust.tool-sqlx-query-format](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-sqlx-query-format)
- [keryn.general.csharp.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-csharp-v1/#keryngeneralcsharpsql-injection-request-to-query)
- [keryn.general.go.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-go-v1/#keryngeneralgosql-injection-request-to-query)
- [keryn.general.java.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-java-v1/#keryngeneraljavasql-injection-request-to-query)
- [keryn.general.js.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-javascript-v1/#keryngeneraljssql-injection-request-to-query)
- [keryn.general.kotlin.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-kotlin-v1/#keryngeneralkotlinsql-injection-request-to-query)
- [keryn.general.php.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-php-v1/#keryngeneralphpsql-injection-request-to-query)
- [keryn.general.python.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythonsql-injection-request-to-query)
- [keryn.general.ruby.sql-injection-request-multiline-literal](https://keryn.dev/rules/general-injection-ruby-v2/#keryngeneralrubysql-injection-request-multiline-literal)
- [keryn.general.ruby.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubysql-injection-request-to-query)
- [keryn.general.swift.sql-injection-request-to-query](https://keryn.dev/rules/general-injection-swift-v1/#keryngeneralswiftsql-injection-request-to-query)
- [vulnfix-ai-ai_lc_sql_database_chain](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_lc_sql_database_chain)
- [vulnfix-ai-ai_mcp_param_sql](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_param_sql)
- [vulnfix-ai-ai_mcp_tool_sql](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_mcp_tool_sql)
- [vulnfix-ai-ai_taint_sql](https://keryn.dev/rules/vulnfix-ai-taint/#vulnfix-ai-ai_taint_sql)
- [keryn.agents2026.pydantic-ai-tool-argument-to-sql-or-file](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026pydantic-ai-tool-argument-to-sql-or-file)
- [keryn.general.python.django-extra-dynamic-sql](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythondjango-extra-dynamic-sql)
- [keryn.general.python.django-rawsql-dynamic](https://keryn.dev/rules/general-injection-python-v1/#keryngeneralpythondjango-rawsql-dynamic)
- [keryn.rails.cve.dynamic-finder-mysql-cve-2012-6496](https://keryn.dev/rules/rails-version-scoped-ruby-v1/#kerynrailscvedynamic-finder-mysql-cve-2012-6496)
- [keryn.rails.deps.pg-sqli-cve-2014-0080](https://keryn.dev/rules/rails-version-scoped-v1/#kerynrailsdepspg-sqli-cve-2014-0080)
- [seceng.llm05.prisma-query-raw-unsafe](https://keryn.dev/rules/llm05-output-to-shell-sql-template/#secengllm05prisma-query-raw-unsafe)
- [seceng.llm05.python-sql-string-format](https://keryn.dev/rules/llm05-output-to-shell-sql-template/#secengllm05python-sql-string-format)
- [seceng.postgres-ai-function-dynamic-sql](https://keryn.dev/rules/postgres-ai-tenant-boundary-v2/#secengpostgres-ai-function-dynamic-sql)
- [keryn.agents2026.mastra-tool-execute-file-db-network](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026mastra-tool-execute-file-db-network)

[All 43 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-89)

## CWE-532 Insertion of Sensitive Information into Log File

40 rules · confidence P0 1, P1 20, P2 19 · severity error 6, warning 27, info 7

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 1 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 1 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 8 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 1 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 25 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 4

**30 of 40 rules, surest first**

- [seceng.eval.mlflow-log-raw-prompt](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalmlflow-log-raw-prompt)
- [keryn.egress.cs.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresscssecret-to-side-channel)
- [keryn.egress.go.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressgosecret-to-side-channel)
- [keryn.egress.java.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressjavasecret-to-side-channel)
- [keryn.egress.php.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegressphpsecret-to-side-channel)
- [keryn.egress.py.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresspysecret-to-side-channel)
- [keryn.egress.ts.secret-to-side-channel](https://keryn.dev/rules/multichannel-secret-egress-v1/#kerynegresstssecret-to-side-channel)
- [keryn.skillcred.environment-dump-out](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredenvironment-dump-out)
- [keryn.skillcred.shell-history-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredshell-history-read)
- [seceng.cloudflare-ai-gateway-logs-prompts](https://keryn.dev/rules/cloudflare-workers-ai-v2/#secengcloudflare-ai-gateway-logs-prompts)
- [seceng.csharp-prompt-or-completion-logged](https://keryn.dev/rules/csharp-semantic-kernel-v2/#secengcsharp-prompt-or-completion-logged)
- [seceng.eval.phoenix-trace-raw-data](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalphoenix-trace-raw-data)
- [seceng.gateway.litellm-prompt-logging-enabled](https://keryn.dev/rules/litellm-localai-gateway-v2/#secenggatewaylitellm-prompt-logging-enabled)
- [seceng.gateway.log-contains-api-key](https://keryn.dev/rules/gateway-credential-passthrough-v1/#secenggatewaylog-contains-api-key)
- [seceng.java-prompt-or-completion-logged](https://keryn.dev/rules/java-spring-ai-v2/#secengjava-prompt-or-completion-logged)
- [seceng.laravel-queue-ai-job-logs-prompt](https://keryn.dev/rules/php-laravel-ai-v2/#secenglaravel-queue-ai-job-logs-prompt)
- [seceng.cloudai.bedrock-prompt-logging-or-tracing](https://keryn.dev/rules/azure-bedrock-vertex-ai-config-v2/#secengcloudaibedrock-prompt-logging-or-tracing)
- [seceng.eval.langfuse-raw-input-output-logging](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevallangfuse-raw-input-output-logging)
- [seceng.llm07.system-prompt-in-logging](https://keryn.dev/rules/llm07-system-prompt-leakage/#secengllm07system-prompt-in-logging)
- [seceng.postgres-ai-audit-log-raw-prompt](https://keryn.dev/rules/postgres-ai-tenant-boundary-v2/#secengpostgres-ai-audit-log-raw-prompt)
- [seceng.redaction-langsmith-langfuse-capture-raw-prompts](https://keryn.dev/rules/prompt-redaction-ordering-v2/#secengredaction-langsmith-langfuse-capture-raw-prompts)
- [keryn.agents2026.pydantic-ai-instrument-prompts-to-exporter](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026pydantic-ai-instrument-prompts-to-exporter)
- [keryn.gaps.prompt-or-messages-logged-raw](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsprompt-or-messages-logged-raw)
- [keryn.mcp.py.tool-returns-credential-like-keys](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcppytool-returns-credential-like-keys)
- [keryn.mcp.ts.tool-returns-credential-like-keys](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcptstool-returns-credential-like-keys)
- [seceng.deno.edge-secret-logged](https://keryn.dev/rules/deno-ai-edge-v2/#secengdenoedge-secret-logged)
- [seceng.deploy-env-secret-logged-near-ai](https://keryn.dev/rules/ai-deployment-platforms-v2/#secengdeploy-env-secret-logged-near-ai)
- [seceng.forensics-sensitive-ai-audit-raw](https://keryn.dev/rules/ai-forensics-observability-v2/#secengforensics-sensitive-ai-audit-raw)
- [seceng.gateway.upstream-key-in-response](https://keryn.dev/rules/gateway-credential-passthrough-v1/#secenggatewayupstream-key-in-response)
- [seceng.github-token-to-llm-prompt-or-log](https://keryn.dev/rules/github-actions-ai-supply-chain-v2/#secenggithub-token-to-llm-prompt-or-log)

[All 40 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-532)

## CWE-1427 Improper Neutralization of Input Used for LLM Prompting

37 rules · confidence P0 0, P1 25, P2 12 · severity error 9, warning 28, info 0

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 19 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 5 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 6 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 3 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 4

**30 of 37 rules, surest first**

- [seceng.asi01.system-prompt-from-retrieved-or-tool-content-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01system-prompt-from-retrieved-or-tool-content-python)
- [seceng.asi01.system-prompt-from-retrieved-or-tool-content-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01system-prompt-from-retrieved-or-tool-content-ts)
- [seceng.asi06.memory-read-into-system-prompt-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-read-into-system-prompt-python)
- [seceng.asi06.memory-read-into-system-prompt-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-read-into-system-prompt-ts)
- [seceng.asi07.peer-agent-message-as-instructions-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07peer-agent-message-as-instructions-python)
- [seceng.asi07.peer-agent-message-as-instructions-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07peer-agent-message-as-instructions-ts)
- [seceng.mcp.py.tool-description-instructions](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppytool-description-instructions)
- [seceng.mcp.py.tool-docstring-instructions](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppytool-docstring-instructions)
- [seceng.mcp.ts.tool-description-instructions](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptstool-description-instructions)
- [keryn.browseragent.page-content-in-system-prompt-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentpage-content-in-system-prompt-js)
- [keryn.browseragent.page-content-in-system-prompt-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentpage-content-in-system-prompt-py)
- [keryn.llm01.vendor-cohere-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-cohere-system-prompt-taint-js)
- [keryn.llm01.vendor-cohere-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-cohere-system-prompt-taint-py)
- [keryn.llm01.vendor-ollama-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-ollama-system-prompt-taint-js)
- [keryn.llm01.vendor-ollama-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-ollama-system-prompt-taint-py)
- [keryn.llm01.vendor-openai-assistants-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-openai-assistants-system-prompt-taint-js)
- [keryn.llm01.vendor-openai-assistants-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-openai-assistants-system-prompt-taint-py)
- [seceng.iacai.bedrock-guardrail-prompt-attack-none](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaibedrock-guardrail-prompt-attack-none)
- [seceng.iacai.cfn-bedrock-guardrail-prompt-attack-none](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-bedrock-guardrail-prompt-attack-none)
- [seceng.iacai.cfn-bedrock-guardrail-prompt-attack-none-json](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-bedrock-guardrail-prompt-attack-none-json)
- [seceng.llm01.taint.model-output-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintmodel-output-to-system-prompt-js)
- [seceng.llm01.taint.request-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintrequest-to-system-prompt-js)
- [seceng.llm01.taint.request-to-system-prompt-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm01taintrequest-to-system-prompt-python)
- [seceng.llm01.taint.retrieved-content-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintretrieved-content-to-system-prompt-js)
- [seceng.llm01.taint.retrieved-content-to-system-prompt-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm01taintretrieved-content-to-system-prompt-python)
- [keryn.agents2026.openai-agents-web-search-with-write-tools](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026openai-agents-web-search-with-write-tools)
- [keryn.mcp.py.tool-returns-fetched-content-unwrapped](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcppytool-returns-fetched-content-unwrapped)
- [keryn.mcp.ts.tool-returns-fetched-content-unwrapped](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcptstool-returns-fetched-content-unwrapped)
- [keryn.skilldirective.cross-agent-addressing](https://keryn.dev/rules/skill-directives-v1/#kerynskilldirectivecross-agent-addressing)
- [keryn.skilldirective.document-poisoning-directive](https://keryn.dev/rules/skill-directives-v1/#kerynskilldirectivedocument-poisoning-directive)

[All 37 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-1427)

## CWE-770 Allocation of Resources Without Limits or Throttling

36 rules · confidence P0 1, P1 13, P2 22 · severity error 5, warning 20, info 11

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 3 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 6 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 3 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 23

**30 of 36 rules, surest first**

- [keryn.skillpersist.fork-bomb](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistfork-bomb)
- [seceng.asi08.unbounded-agent-fanout-from-model-output-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi08unbounded-agent-fanout-from-model-output-python)
- [seceng.asi08.unbounded-agent-fanout-from-model-output-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi08unbounded-agent-fanout-from-model-output-ts)
- [seceng.modelsc.ollama-pull-user-model](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscollama-pull-user-model)
- [seceng.modelsc.ollama-pull-user-model-ts](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscollama-pull-user-model-ts)
- [keryn.gaps.unbounded-model-loop](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsunbounded-model-loop)
- [keryn.skillpersist.disk-or-memory-fill](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistdisk-or-memory-fill)
- [seceng.agentframework.crewai-process-without-rate-or-step-limit](https://keryn.dev/rules/crewai-autogen-agent-safety-v2/#secengagentframeworkcrewai-process-without-rate-or-step-limit)
- [seceng.deploy-ai-service-no-rate-limit-hint](https://keryn.dev/rules/ai-deployment-platforms-v2/#secengdeploy-ai-service-no-rate-limit-hint)
- [seceng.edge-ai-route-no-rate-limit](https://keryn.dev/rules/netlify-vercel-edge-ai-v2/#secengedge-ai-route-no-rate-limit)
- [seceng.gateway-no-per-user-budget](https://keryn.dev/rules/litellm-localai-gateway-v2/#secenggateway-no-per-user-budget)
- [seceng.llm06.agent-broad-tools-without-approval](https://keryn.dev/rules/llm06-agentic-abuse-hardening-v2/#secengllm06agent-broad-tools-without-approval)
- [seceng.loop.streaming-without-cancel-or-timeout](https://keryn.dev/rules/recursive-agent-loop-safety-v2/#secengloopstreaming-without-cancel-or-timeout)
- [seceng.neon-data-api-ai-route-no-rate-limit](https://keryn.dev/rules/neon-postgres-ai-v2/#secengneon-data-api-ai-route-no-rate-limit)
- [keryn.agents2026.genkit-generate-tools-no-maxturns](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026genkit-generate-tools-no-maxturns)
- [keryn.agents2026.mastra-agent-call-write-tools-no-maxsteps](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026mastra-agent-call-write-tools-no-maxsteps)
- [keryn.agents2026.openai-agents-js-run-no-max-turns](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026openai-agents-js-run-no-max-turns)
- [keryn.agents2026.openai-agents-runner-no-max-turns](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026openai-agents-runner-no-max-turns)
- [keryn.agents2026.pydantic-ai-excessive-retries](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026pydantic-ai-excessive-retries)
- [keryn.agents2026.pydantic-ai-run-with-tools-no-usage-limits](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026pydantic-ai-run-with-tools-no-usage-limits)
- [keryn.agents2026.vercelai-v5-stopwhen-excessive-steps](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026vercelai-v5-stopwhen-excessive-steps)
- [keryn.fastapi.llm-route-without-rate-limit](https://keryn.dev/rules/fastapi-ai-service-v1/#kerynfastapillm-route-without-rate-limit)
- [keryn.fastapi.upload-to-llm-without-size-check](https://keryn.dev/rules/fastapi-ai-service-v1/#kerynfastapiupload-to-llm-without-size-check)
- [seceng.asi10.scheduled-agent-without-budget-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10scheduled-agent-without-budget-python)
- [seceng.asi10.scheduled-agent-without-budget-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10scheduled-agent-without-budget-ts)
- [seceng.deploy-public-ollama-localai-vllm](https://keryn.dev/rules/ai-deployment-platforms-v2/#secengdeploy-public-ollama-localai-vllm)
- [seceng.loop.agent-loop-without-max-steps-python](https://keryn.dev/rules/recursive-agent-loop-safety-v2/#secengloopagent-loop-without-max-steps-python)
- [seceng.loop.agent-loop-without-max-steps-ts](https://keryn.dev/rules/recursive-agent-loop-safety-v2/#secengloopagent-loop-without-max-steps-ts)
- [seceng.loop.langchain-agent-no-max-iterations](https://keryn.dev/rules/recursive-agent-loop-safety-v2/#secenglooplangchain-agent-no-max-iterations)
- [seceng.loop.langgraph-recursion-limit-missing](https://keryn.dev/rules/recursive-agent-loop-safety-v2/#secenglooplanggraph-recursion-limit-missing)

[All 36 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-770)

## CWE-345 Insufficient Verification of Data Authenticity

32 rules · confidence P0 7, P1 15, P2 10 · severity error 21, warning 10, info 1

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 2 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 4 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 5 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 5 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 3 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 13

**30 of 32 rules, surest first**

- [keryn.cryptoclaim.cs.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimcsjwt-verification-disabled)
- [keryn.cryptoclaim.go.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimgojwt-verification-disabled)
- [keryn.cryptoclaim.java.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimjavajwt-verification-disabled)
- [keryn.cryptoclaim.kotlin.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimkotlinjwt-verification-disabled)
- [keryn.cryptoclaim.php.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimphpjwt-verification-disabled)
- [keryn.cryptoclaim.py.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimpyjwt-verification-disabled)
- [keryn.cryptoclaim.ts.jwt-verification-disabled](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimtsjwt-verification-disabled)
- [keryn.config.jwt-algorithm-none](https://keryn.dev/rules/agent-security-config-v1/#kerynconfigjwt-algorithm-none)
- [seceng.asi01.agent-instructions-loaded-at-runtime-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01agent-instructions-loaded-at-runtime-python)
- [seceng.asi01.agent-instructions-loaded-at-runtime-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01agent-instructions-loaded-at-runtime-ts)
- [seceng.asi01.system-prompt-from-retrieved-or-tool-content-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01system-prompt-from-retrieved-or-tool-content-python)
- [seceng.asi01.system-prompt-from-retrieved-or-tool-content-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi01system-prompt-from-retrieved-or-tool-content-ts)
- [seceng.asi06.langgraph-langchain-memory-write-from-untrusted-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06langgraph-langchain-memory-write-from-untrusted-python)
- [seceng.asi06.memory-read-into-system-prompt-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-read-into-system-prompt-python)
- [seceng.asi06.memory-read-into-system-prompt-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-read-into-system-prompt-ts)
- [seceng.asi07.peer-agent-message-as-instructions-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07peer-agent-message-as-instructions-python)
- [seceng.asi07.peer-agent-message-as-instructions-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi07peer-agent-message-as-instructions-ts)
- [seceng.mcp.py.elicitation-auto-accept](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppyelicitation-auto-accept)
- [seceng.mcp.py.token-verifier-no-audience-check](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppytoken-verifier-no-audience-check)
- [seceng.mcp.ts.elicitation-auto-accept](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptselicitation-auto-accept)
- [seceng.mcp.ts.verify-access-token-no-audience](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptsverify-access-token-no-audience)
- [seceng.promptsc.prompt-template-from-database-without-version](https://keryn.dev/rules/remote-prompt-template-supply-chain-v2/#secengpromptscprompt-template-from-database-without-version)
- [keryn.mcp.csharp.sampling-request-no-approval](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcpcsharpsampling-request-no-approval)
- [keryn.mcp.go.sampling-request-no-approval](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcpgosampling-request-no-approval)
- [keryn.mcp.java.sampling-request-no-approval](https://keryn.dev/rules/mcp-tool-output-hygiene-v1/#kerynmcpjavasampling-request-no-approval)
- [seceng.asi06.mem0-zep-letta-write-from-untrusted-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06mem0-zep-letta-write-from-untrusted-python)
- [seceng.asi06.memory-write-from-untrusted-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-write-from-untrusted-ts)
- [seceng.asi06.vector-upsert-untrusted-without-source-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06vector-upsert-untrusted-without-source-python)
- [seceng.asi06.vector-upsert-untrusted-without-source-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06vector-upsert-untrusted-without-source-ts)
- [seceng.mcp.py.sampling-callback-no-user-approval](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppysampling-callback-no-user-approval)

[All 32 rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-345)

## CWE-312 Cleartext Storage of Sensitive Information

29 rules · confidence P0 4, P1 12, P2 13 · severity error 2, warning 15, info 12

Edges inspected: [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 1 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 8 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 9 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 11

**29 rules**

- [seceng.agentcfg.mcp-env-inline-secret-known-prefix](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-env-inline-secret-known-prefix)
- [seceng.eval.mlflow-log-raw-prompt](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalmlflow-log-raw-prompt)
- [seceng.eval.public-dashboard-no-auth](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalpublic-dashboard-no-auth)
- [seceng.eval.weave-trace-without-redaction](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalweave-trace-without-redaction)
- [seceng.agentcfg.mcp-header-inline-credential](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-header-inline-credential)
- [keryn.skillcred.service-credential-config-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredservice-credential-config-read)
- [keryn.skillcred.vcs-package-token-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredvcs-package-token-read)
- [seceng.deno.edge-kv-ai-memory-without-tenant-prefix](https://keryn.dev/rules/deno-ai-edge-v2/#secengdenoedge-kv-ai-memory-without-tenant-prefix)
- [seceng.eval.phoenix-trace-raw-data](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevalphoenix-trace-raw-data)
- [seceng.gateway.log-contains-api-key](https://keryn.dev/rules/gateway-credential-passthrough-v1/#secenggatewaylog-contains-api-key)
- [seceng.wordpress-transcript-or-prompt-option-storage](https://keryn.dev/rules/wordpress-ai-plugin-security-v2/#secengwordpress-transcript-or-prompt-option-storage)
- [seceng.agentframework.autogen-shared-workdir-or-history](https://keryn.dev/rules/crewai-autogen-agent-safety-v2/#secengagentframeworkautogen-shared-workdir-or-history)
- [seceng.agentframework.crewai-memory-without-tenant-scope](https://keryn.dev/rules/crewai-autogen-agent-safety-v2/#secengagentframeworkcrewai-memory-without-tenant-scope)
- [seceng.eval.langfuse-raw-input-output-logging](https://keryn.dev/rules/eval-trace-pii-exposure-v1/#secengevallangfuse-raw-input-output-logging)
- [seceng.langgraph-state-persists-sensitive-context](https://keryn.dev/rules/langgraph-state-integrity-v2/#secenglanggraph-state-persists-sensitive-context)
- [seceng.redis-public-cache-no-auth](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredis-public-cache-no-auth)
- [keryn.skillcred.cloud-credential-file-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcloud-credential-file-read)
- [seceng.agentcfg.mcp-env-inline-secret-long-value](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-env-inline-secret-long-value)
- [seceng.chromeext-ai-key-in-storage](https://keryn.dev/rules/chrome-extension-ai-security-v2/#secengchromeext-ai-key-in-storage)
- [seceng.gateway.python-key-in-response](https://keryn.dev/rules/gateway-credential-passthrough-v1/#secenggatewaypython-key-in-response)
- [seceng.gateway.upstream-key-in-response](https://keryn.dev/rules/gateway-credential-passthrough-v1/#secenggatewayupstream-key-in-response)
- [seceng.kotlin-transcript-sharedpreferences-storage](https://keryn.dev/rules/kotlin-ai-mobile-security-v2/#secengkotlin-transcript-sharedpreferences-storage)
- [seceng.llm07.frontend-prompt-storage](https://keryn.dev/rules/llm01-advanced-contextual-v2/#secengllm07frontend-prompt-storage)
- [seceng.react.chat-history-local-storage](https://keryn.dev/rules/react-ai-ui-sinks-v2/#secengreactchat-history-local-storage)
- [seceng.swift-transcript-userdefaults-storage](https://keryn.dev/rules/swift-ai-mobile-security-v2/#secengswift-transcript-userdefaults-storage)
- [seceng.langgraph-checkpoint-shared-or-unscoped](https://keryn.dev/rules/langgraph-state-integrity-v2/#secenglanggraph-checkpoint-shared-or-unscoped)
- [seceng.redis.ai-cache-without-tenant-prefix](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredisai-cache-without-tenant-prefix)
- [seceng.redis.ai-cache-without-ttl](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredisai-cache-without-ttl)
- [seceng.redis.prompt-cache-without-redaction-or-encryption](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredisprompt-cache-without-redaction-or-encryption)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-312)

## CWE-73 External Control of File Name or Path

28 rules · confidence P0 0, P1 18, P2 10 · severity error 12, warning 14, info 2

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 2 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 9 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 8 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 9

**28 rules**

- [keryn.rustagent.model-output-to-fs-path-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-fs-path-rs)
- [seceng.mcp.csharp.tool-file-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptool-file-write)
- [seceng.mcp.go.tool-file-delete](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-delete)
- [seceng.mcp.go.tool-file-write](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotool-file-write)
- [seceng.mcp.java.tool-files-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpjavatool-files-write)
- [seceng.mcp.rust.tool-fs-remove](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-remove)
- [seceng.mcp.rust.tool-fs-write](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcprusttool-fs-write)
- [seceng.modelsc.model-file-user-controlled-path](https://keryn.dev/rules/model-supply-chain-v1/#secengmodelscmodel-file-user-controlled-path)
- [seceng.ragloader.directory-loader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderdirectory-loader-path-traversal)
- [seceng.ragloader.langchain-file-loader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchain-file-loader-path-traversal)
- [seceng.ragloader.langchainjs-file-loader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderlangchainjs-file-loader-path-traversal)
- [seceng.ragloader.simple-directory-reader-path-traversal](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloadersimple-directory-reader-path-traversal)
- [keryn.general.ruby.process-stdin-from-request](https://keryn.dev/rules/general-injection-ruby-text-v1/#keryngeneralrubyprocess-stdin-from-request)
- [keryn.rustagent.model-output-to-desktop-open-rs](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagentmodel-output-to-desktop-open-rs)
- [seceng.llm05.taint.model-output-to-file-path-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-file-path-python)
- [seceng.llm05.taint.model-output-to-filesystem-operation-python](https://keryn.dev/rules/llm-output-taint-python-v1/#secengllm05taintmodel-output-to-filesystem-operation-python)
- [seceng.llm05.taint.model-output-to-fs-path-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm05taintmodel-output-to-fs-path-js)
- [seceng.mcp.v3.tool-file-write-from-args-py](https://keryn.dev/rules/mcp-tool-server-v3/#secengmcpv3tool-file-write-from-args-py)
- [keryn.agents2026.google-adk-tool-function-shell-or-file-write](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026google-adk-tool-function-shell-or-file-write)
- [keryn.general.ruby.render-instance-variable-from-request](https://keryn.dev/rules/general-injection-ruby-v2/#keryngeneralrubyrender-instance-variable-from-request)
- [seceng.csharp.semantic-kernel-file-path-from-args](https://keryn.dev/rules/csharp-semantic-kernel-v2/#secengcsharpsemantic-kernel-file-path-from-args)
- [seceng.electron-ipc-file-path-from-args](https://keryn.dev/rules/electron-ai-agent-security-v2/#secengelectron-ipc-file-path-from-args)
- [seceng.java-ai-tool-file-path-from-args](https://keryn.dev/rules/java-spring-ai-v2/#secengjava-ai-tool-file-path-from-args)
- [seceng.llm06.model-controlled-file-path](https://keryn.dev/rules/llm06-agentic-abuse-hardening-v2/#secengllm06model-controlled-file-path)
- [seceng.mcp.v3.tool-file-write-from-args](https://keryn.dev/rules/mcp-tool-server-v3/#secengmcpv3tool-file-write-from-args)
- [seceng.tauri.command-file-write-from-args](https://keryn.dev/rules/tauri-ai-command-security-v2/#secengtauricommand-file-write-from-args)
- [keryn.general.js.fs-destination-not-constant](https://keryn.dev/rules/javascript-node-security-v1/#keryngeneraljsfs-destination-not-constant)
- [keryn.general.js.fs-path-not-constant](https://keryn.dev/rules/javascript-node-security-v1/#keryngeneraljsfs-path-not-constant)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-73)

## CWE-506 Embedded Malicious Code

26 rules · confidence P0 14, P1 10, P2 2 · severity error 23, warning 3, info 0

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 9 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 5 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 11 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 1

**26 rules**

- [keryn.agenthooks.copilot-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-reverse-shell)
- [keryn.agenthooks.cursor-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-reverse-shell)
- [keryn.agenthooks.gemini-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-reverse-shell)
- [keryn.agenthooks.windsurf-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-reverse-shell)
- [keryn.skillexec.reverse-shell-bash-devtcp](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-bash-devtcp)
- [keryn.skillexec.reverse-shell-netcat](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-netcat)
- [keryn.skillexec.reverse-shell-python](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-python)
- [keryn.skillexec.reverse-shell-script-langs](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-script-langs)
- [keryn.skillexec.reverse-shell-socat](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-socat)
- [keryn.skillpersist.crontab-write](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistcrontab-write)
- [keryn.skillpersist.launchd-agent-install](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistlaunchd-agent-install)
- [keryn.skillpersist.shell-rc-download-exec](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistshell-rc-download-exec)
- [keryn.skillpersist.systemd-unit-enable](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistsystemd-unit-enable)
- [keryn.skillpersist.windows-autorun-or-task](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistwindows-autorun-or-task)
- [keryn.agenthooks.copilot-hook-base64-exec](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscopilot-hook-base64-exec)
- [keryn.agenthooks.cursor-hook-base64-exec](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookscursor-hook-base64-exec)
- [keryn.agenthooks.gemini-hook-base64-exec](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthooksgemini-hook-base64-exec)
- [keryn.agenthooks.windsurf-hook-base64-exec](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookswindsurf-hook-base64-exec)
- [keryn.skillexec.decrypt-pipe-to-interpreter](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecdecrypt-pipe-to-interpreter)
- [keryn.skillexec.encrypted-archive-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecencrypted-archive-exec)
- [keryn.skillexec.reverse-shell-powershell](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecreverse-shell-powershell)
- [keryn.skillexec.staging-host-exec](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecstaging-host-exec)
- [seceng.agentrules.base64-decode-exec](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesbase64-decode-exec)
- [keryn.skillpersist.git-hook-install](https://keryn.dev/rules/skill-persistence-network-v1/#kerynskillpersistgit-hook-install)
- [keryn.agenthooks.kiro-hook-base64-exec](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookskiro-hook-base64-exec)
- [keryn.agenthooks.kiro-hook-reverse-shell](https://keryn.dev/rules/agent-hooks-multivendor-v1/#kerynagenthookskiro-hook-reverse-shell)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-506)

## CWE-346 Origin Validation Error

24 rules · confidence P0 2, P1 12, P2 10 · severity error 8, warning 15, info 1

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 13 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 11

**24 rules**

- [seceng.mcp.py.dns-rebinding-protection-disabled](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppydns-rebinding-protection-disabled)
- [seceng.mcp.ts.dns-rebinding-protection-disabled](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptsdns-rebinding-protection-disabled)
- [keryn.browseragent.browser-launch-disable-web-security-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-launch-disable-web-security-js)
- [keryn.browseragent.browser-launch-disable-web-security-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-launch-disable-web-security-py)
- [keryn.fastapi.cors-wildcard-with-credentials](https://keryn.dev/rules/fastapi-ai-service-v1/#kerynfastapicors-wildcard-with-credentials)
- [keryn.rustagent.tauri-capability-granted-to-remote-urls](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagenttauri-capability-granted-to-remote-urls)
- [keryn.rustagent.tauri-config-remote-domain-ipc](https://keryn.dev/rules/rust-agent-desktop-v1/#kerynrustagenttauri-config-remote-domain-ipc)
- [seceng.mcp.ts.cors-wildcard-mcp-server](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptscors-wildcard-mcp-server)
- [seceng.mcp.go.go-sdk-http-bind-all](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgogo-sdk-http-bind-all)
- [seceng.mcp.go.mark3labs-http-bind-all](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgomark3labs-http-bind-all)
- [seceng.mcp.py.network-transport-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppynetwork-transport-bind-all)
- [seceng.mcp.py.uvicorn-mcp-app-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppyuvicorn-mcp-app-bind-all)
- [seceng.mcp.ts.listen-bind-all](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptslisten-bind-all)
- [seceng.bundle-chrome-message-handler-privileged-api](https://keryn.dev/rules/browser-extension-bundled-artifacts-v2/#secengbundle-chrome-message-handler-privileged-api)
- [seceng.chromeext-externally-connectable-broad](https://keryn.dev/rules/chrome-extension-ai-security-v2/#secengchromeext-externally-connectable-broad)
- [seceng.chromeext-message-handler-missing-sender-check](https://keryn.dev/rules/chrome-extension-ai-security-v2/#secengchromeext-message-handler-missing-sender-check)
- [seceng.cloudflare-worker-cors-wildcard-ai](https://keryn.dev/rules/cloudflare-workers-ai-v2/#secengcloudflare-worker-cors-wildcard-ai)
- [seceng.deno.edge-cors-wildcard-ai-endpoint](https://keryn.dev/rules/deno-ai-edge-v2/#secengdenoedge-cors-wildcard-ai-endpoint)
- [seceng.manifest-externally-connectable-broad-ai-extension](https://keryn.dev/rules/manifest-ai-permissions-v2/#secengmanifest-externally-connectable-broad-ai-extension)
- [seceng.mcp.py.sse-transport-no-security-settings](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppysse-transport-no-security-settings)
- [seceng.mcp.py.streamable-manager-no-security-settings](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppystreamable-manager-no-security-settings)
- [seceng.mcp.ts.sse-transport-no-origin-validation](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptssse-transport-no-origin-validation)
- [seceng.mcp.ts.streamable-http-transport-no-dns-protection](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptsstreamable-http-transport-no-dns-protection)
- [seceng.supabase-edge-cors-wildcard-with-service-role](https://keryn.dev/rules/supabase-ai-edge-v2/#secengsupabase-edge-cors-wildcard-with-service-role)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-346)

## CWE-522 Insufficiently Protected Credentials

23 rules · confidence P0 7, P1 12, P2 4 · severity error 12, warning 11, info 0

Edges inspected: [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 22

**23 rules**

- [keryn.skillcred.browser-credential-store-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredbrowser-credential-store-read)
- [keryn.skillcred.cloud-metadata-endpoint-access](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcloud-metadata-endpoint-access)
- [keryn.skillcred.macos-keychain-secret-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredmacos-keychain-secret-read)
- [keryn.skillcred.os-credential-database-access](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredos-credential-database-access)
- [keryn.skillcred.secret-manager-or-keyring-export](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredsecret-manager-or-keyring-export)
- [keryn.skillcred.ssh-key-material-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredssh-key-material-read)
- [seceng.agentrules.secrets-to-url-command](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulessecrets-to-url-command)
- [seceng.ciagent.agent-step-env-secrets](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-step-env-secrets)
- [seceng.mcp.csharp.token-passthrough](https://keryn.dev/rules/mcp-server-jvm-dotnet-rust-v1/#secengmcpcsharptoken-passthrough)
- [seceng.mcp.go.token-passthrough](https://keryn.dev/rules/mcp-server-go-v1/#secengmcpgotoken-passthrough)
- [seceng.mcp.py.token-passthrough](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppytoken-passthrough)
- [seceng.mcp.ts.token-passthrough](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptstoken-passthrough)
- [keryn.browseragent.browser-agent-uses-personal-profile-js](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-uses-personal-profile-js)
- [keryn.browseragent.browser-agent-uses-personal-profile-py](https://keryn.dev/rules/browser-agent-automation-v1/#kerynbrowseragentbrowser-agent-uses-personal-profile-py)
- [keryn.skillcred.cloud-secret-env-or-token-print](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcloud-secret-env-or-token-print)
- [keryn.skillcred.dotenv-file-read-or-upload](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcreddotenv-file-read-or-upload)
- [keryn.skillcred.filesystem-secret-sweep](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredfilesystem-secret-sweep)
- [keryn.skillcred.service-credential-config-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredservice-credential-config-read)
- [keryn.skillcred.vcs-package-token-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredvcs-package-token-read)
- [keryn.skillcred.cloud-credential-file-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcloud-credential-file-read)
- [keryn.skillcred.crypto-wallet-file-access](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredcrypto-wallet-file-access)
- [keryn.skillcred.other-agent-credential-read](https://keryn.dev/rules/skill-credential-access-v1/#kerynskillcredother-agent-credential-read)
- [seceng.llm03.huggingface-hardcoded-token-login](https://keryn.dev/rules/llm03-supply-chain-hardening-v2/#secengllm03huggingface-hardcoded-token-login)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-522)

## CWE-77 Command Injection

22 rules · confidence P0 0, P1 14, P2 8 · severity error 1, warning 21, info 0

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 15 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 2 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 5

**22 rules**

- [seceng.ciagent.agent-prompt-interpolates-event-text](https://keryn.dev/rules/ci-ai-agent-actions-v1/#secengciagentagent-prompt-interpolates-event-text)
- [keryn.gaps.retrieved-text-in-system-role](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsretrieved-text-in-system-role)
- [keryn.llm01.vendor-cohere-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-cohere-system-prompt-taint-js)
- [keryn.llm01.vendor-cohere-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-cohere-system-prompt-taint-py)
- [keryn.llm01.vendor-ollama-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-ollama-system-prompt-taint-js)
- [keryn.llm01.vendor-ollama-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-ollama-system-prompt-taint-py)
- [keryn.llm01.vendor-openai-assistants-system-prompt-taint-js](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-openai-assistants-system-prompt-taint-js)
- [keryn.llm01.vendor-openai-assistants-system-prompt-taint-py](https://keryn.dev/rules/llm01-vendor-system-prompt-v1/#kerynllm01vendor-openai-assistants-system-prompt-taint-py)
- [seceng.agentrules.conceal-from-user](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesconceal-from-user)
- [seceng.agentrules.hidden-html-comment-instructions](https://keryn.dev/rules/agent-rules-files-v1/#secengagentruleshidden-html-comment-instructions)
- [seceng.agentrules.instruction-override-phrase](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesinstruction-override-phrase)
- [seceng.llm01.taint.model-output-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintmodel-output-to-system-prompt-js)
- [seceng.llm01.taint.request-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintrequest-to-system-prompt-js)
- [seceng.llm01.taint.retrieved-content-to-system-prompt-js](https://keryn.dev/rules/llm-output-taint-js-v1/#secengllm01taintretrieved-content-to-system-prompt-js)
- [keryn.agents2026.openai-agents-js-powerful-tool-no-input-guardrails](https://keryn.dev/rules/agent-frameworks-2026-ts-v1/#kerynagents2026openai-agents-js-powerful-tool-no-input-guardrails)
- [keryn.agents2026.openai-agents-powerful-tool-no-input-guardrails](https://keryn.dev/rules/agent-frameworks-2026-python-v1/#kerynagents2026openai-agents-powerful-tool-no-input-guardrails)
- [keryn.gaps.instructions-concatenated-with-input](https://keryn.dev/rules/benchmark-gaps-v1/#keryngapsinstructions-concatenated-with-input)
- [seceng.agentrules.mandatory-fetch-or-exec](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesmandatory-fetch-or-exec)
- [seceng.llm01.langchain-sink-injection](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01langchain-sink-injection)
- [seceng.llm01.llamaindex-sink-injection](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01llamaindex-sink-injection)
- [seceng.ragloader.retrieved-content-in-system-prompt](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderretrieved-content-in-system-prompt)
- [seceng.ragloader.retrieved-content-in-system-prompt-ts](https://keryn.dev/rules/rag-loader-ssrf-v1/#secengragloaderretrieved-content-in-system-prompt-ts)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-77)

## CWE-116 Improper Encoding or Escaping of Output

21 rules · confidence P0 2, P1 14, P2 5 · severity error 11, warning 6, info 4

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 6 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 7 · [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 3 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 5

**21 rules**

- [seceng.mcp.py.tool-description-hidden-unicode](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcppytool-description-hidden-unicode)
- [seceng.mcp.ts.tool-description-hidden-unicode](https://keryn.dev/rules/mcp-transport-auth-v1/#secengmcptstool-description-hidden-unicode)
- [keryn.skillexec.base64-exec-script-langs](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecbase64-exec-script-langs)
- [keryn.skillexec.powershell-base64-iex](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecpowershell-base64-iex)
- [keryn.skillexec.powershell-encodedcommand](https://keryn.dev/rules/skill-command-execution-v1/#kerynskillexecpowershell-encodedcommand)
- [seceng.agentrules.bidi-override-character](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesbidi-override-character)
- [seceng.agentrules.invisible-unicode-character](https://keryn.dev/rules/agent-rules-files-v1/#secengagentrulesinvisible-unicode-character)
- [seceng.aiconfig.bidi-override-character](https://keryn.dev/rules/ai-config-hidden-unicode-v1/#secengaiconfigbidi-override-character)
- [seceng.aiconfig.escaped-invisible-unicode](https://keryn.dev/rules/ai-config-hidden-unicode-v1/#secengaiconfigescaped-invisible-unicode)
- [seceng.aiconfig.invisible-unicode-character](https://keryn.dev/rules/ai-config-hidden-unicode-v1/#secengaiconfiginvisible-unicode-character)
- [seceng.llm01.prompt-injection-taint](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01prompt-injection-taint)
- [keryn.general.js.template-escape-markup-disabled](https://keryn.dev/rules/javascript-node-security-v1/#keryngeneraljstemplate-escape-markup-disabled)
- [seceng.llm01.js-ts-concat-prompt](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01js-ts-concat-prompt)
- [seceng.llm01.prompt-injection-taint-js](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01prompt-injection-taint-js)
- [seceng.llm01.trusted-dev-prompt-suppression](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01trusted-dev-prompt-suppression)
- [seceng.vercelai-stream-without-moderation-buffer](https://keryn.dev/rules/vercel-ai-sdk-v2/#secengvercelai-stream-without-moderation-buffer)
- [seceng.llm01.openai-assistants-thread-injection](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01openai-assistants-thread-injection)
- [seceng.llm01.python-concat-prompt](https://keryn.dev/rules/llm01-prompt-injection/#secengllm01python-concat-prompt)
- [seceng.llm01.system-user-role-flip-contextual](https://keryn.dev/rules/llm01-advanced-contextual-v2/#secengllm01system-user-role-flip-contextual)
- [seceng.stream.sse-direct-llm-stream-no-filter-ts](https://keryn.dev/rules/stream-output-safety-v2/#secengstreamsse-direct-llm-stream-no-filter-ts)
- [seceng.stream.websocket-direct-llm-output](https://keryn.dev/rules/stream-output-safety-v2/#secengstreamwebsocket-direct-llm-output)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-116)

## CWE-915

20 rules · confidence P0 0, P1 4, P2 16 · severity error 0, warning 19, info 1

Edges inspected: [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 6 · [reads](https://keryn.dev/docs/edges/edge-kinds/#reads) 2 · [writes](https://keryn.dev/docs/edges/edge-kinds/#writes) 9 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 3

**20 rules**

- [keryn.general.ruby.mass-assignment-permit-all](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubymass-assignment-permit-all)
- [keryn.outbound.model-output-to-crm-record-js](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-to-crm-record-js)
- [keryn.outbound.model-output-to-crm-record-py](https://keryn.dev/rules/agent-outbound-actions-v1/#kerynoutboundmodel-output-to-crm-record-py)
- [keryn.rails.ruby.mass-assignment-without-protection](https://keryn.dev/rules/rails-hardening-ruby-v2/#kerynrailsrubymass-assignment-without-protection)
- [keryn.general.ruby.mass-assignment-unpermitted-params](https://keryn.dev/rules/general-injection-ruby-v1/#keryngeneralrubymass-assignment-unpermitted-params)
- [keryn.rails.cve.create-with-cve-2014-3514](https://keryn.dev/rules/rails-version-scoped-ruby-v1/#kerynrailscvecreate-with-cve-2014-3514)
- [keryn.rails.legacy.model-attr-protected](https://keryn.dev/rules/rails-version-scoped-ruby-v1/#kerynrailslegacymodel-attr-protected)
- [keryn.rails.legacy.model-without-attr-accessible](https://keryn.dev/rules/rails-version-scoped-ruby-v1/#kerynrailslegacymodel-without-attr-accessible)
- [keryn.rails.ruby.permit-privileged-attribute](https://keryn.dev/rules/rails-hardening-ruby-v1/#kerynrailsrubypermit-privileged-attribute)
- [seceng.firebase.ai-output-direct-firestore-write](https://keryn.dev/rules/firebase-ai-memory-v2/#secengfirebaseai-output-direct-firestore-write)
- [seceng.laravel-ai-output-direct-db-write](https://keryn.dev/rules/php-laravel-ai-v2/#secenglaravel-ai-output-direct-db-write)
- [seceng.llm06.tool-output-direct-db-write](https://keryn.dev/rules/llm06-agentic-abuse-hardening-v2/#secengllm06tool-output-direct-db-write)
- [seceng.mongoose-ai-output-direct-write](https://keryn.dev/rules/mongoose-ai-memory-v2/#secengmongoose-ai-output-direct-write)
- [seceng.orm.prisma-ai-output-direct-write](https://keryn.dev/rules/orm-rag-tenant-boundary-v2/#secengormprisma-ai-output-direct-write)
- [seceng.redis-cache-poisoning-from-model-output](https://keryn.dev/rules/redis-cache-ai-data-v2/#secengredis-cache-poisoning-from-model-output)
- [seceng.schema.model-json-parse-without-validation-python](https://keryn.dev/rules/response-schema-validation-v2/#secengschemamodel-json-parse-without-validation-python)
- [seceng.schema.model-json-parse-without-validation-ts](https://keryn.dev/rules/response-schema-validation-v2/#secengschemamodel-json-parse-without-validation-ts)
- [seceng.supabase-ai-transcript-insert-with-request-user-id](https://keryn.dev/rules/supabase-ai-edge-v2/#secengsupabase-ai-transcript-insert-with-request-user-id)
- [seceng.vercelai-output-to-database-without-validation](https://keryn.dev/rules/vercel-ai-sdk-v2/#secengvercelai-output-to-database-without-validation)
- [keryn.general.js.plain-object-dynamic-key-write](https://keryn.dev/rules/javascript-node-security-v1/#keryngeneraljsplain-object-dynamic-key-write)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-915)

## CWE-327

18 rules · confidence P0 0, P1 16, P2 2 · severity error 9, warning 7, info 2

Edges inspected: [sends](https://keryn.dev/docs/edges/edge-kinds/#sends) 7 · [depends_on](https://keryn.dev/docs/edges/edge-kinds/#depends-on) 1 · [trusts](https://keryn.dev/docs/edges/edge-kinds/#trusts) 9 · none 1

**18 rules**

- [keryn.cryptoclaim.cs.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimcsecb-mode-for-claims)
- [keryn.cryptoclaim.go.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimgoecb-mode-for-claims)
- [keryn.cryptoclaim.java.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimjavaecb-mode-for-claims)
- [keryn.cryptoclaim.kotlin.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimkotlinecb-mode-for-claims)
- [keryn.cryptoclaim.php.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimphpecb-mode-for-claims)
- [keryn.cryptoclaim.py.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimpyecb-mode-for-claims)
- [keryn.cryptoclaim.swift.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimswiftecb-mode-for-claims)
- [keryn.cryptoclaim.ts.ecb-mode-for-claims](https://keryn.dev/rules/crypto-claim-integrity-v1/#keryncryptoclaimtsecb-mode-for-claims)
- [keryn.general.python.ssl-insecure-protocol](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonssl-insecure-protocol)
- [keryn.general.python.ecb-mode](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonecb-mode)
- [keryn.general.python.ssl-insecure-protocol-default](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonssl-insecure-protocol-default)
- [keryn.general.python.ssl-wrap-socket](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonssl-wrap-socket)
- [keryn.general.python.weak-cipher](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonweak-cipher)
- [keryn.general.python.weak-crypt-method](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonweak-crypt-method)
- [keryn.general.python.weak-hash](https://keryn.dev/rules/general-crypto-python-v1/#keryngeneralpythonweak-hash)
- [keryn.vfgap.weak-cipher-des-rc4-go](https://keryn.dev/rules/vulnfix-gaps-v1/#kerynvfgapweak-cipher-des-rc4-go)
- [keryn.general.python.pycrypto-namespace](https://keryn.dev/rules/general-imports-python-v1/#keryngeneralpythonpycrypto-namespace)
- [keryn.general.python.pyghmi-ipmi](https://keryn.dev/rules/general-imports-python-v1/#keryngeneralpythonpyghmi-ipmi)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-327)

## CWE-668 Exposure of Resource to Wrong Sphere

18 rules · confidence P0 3, P1 10, P2 5 · severity error 8, warning 10, info 0

Edges inspected: [reaches](https://keryn.dev/docs/edges/edge-kinds/#reaches) 7 · [calls](https://keryn.dev/docs/edges/edge-kinds/#calls) 1 · [grants](https://keryn.dev/docs/edges/edge-kinds/#grants) 10

**18 rules**

- [seceng.agentcfg.mcp-docker-sensitive-mount](https://keryn.dev/rules/agent-config-claude-code-v1/#secengagentcfgmcp-docker-sensitive-mount)
- [seceng.asi10.agent-sandbox-host-escape-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10agent-sandbox-host-escape-python)
- [seceng.asi10.agent-sandbox-host-escape-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10agent-sandbox-host-escape-ts)
- [seceng.asi06.memory-shared-user-scope-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-shared-user-scope-python)
- [seceng.asi06.memory-shared-user-scope-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi06memory-shared-user-scope-ts)
- [seceng.iacai.agent-tool-workload-host-network](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaiagent-tool-workload-host-network)
- [seceng.iacai.azure-openai-public-network-access-enabled](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaiazure-openai-public-network-access-enabled)
- [vulnfix-ai-ai_gradio_share](https://keryn.dev/rules/vulnfix-ai/#vulnfix-ai-ai_gradio_share)
- [seceng.iacai.azure-openai-no-network-acls](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaiazure-openai-no-network-acls)
- [seceng.iacai.cfn-sagemaker-notebook-direct-internet](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-sagemaker-notebook-direct-internet)
- [seceng.iacai.cfn-sagemaker-notebook-direct-internet-json](https://keryn.dev/rules/iac-ai-services-cfn-v1/#secengiacaicfn-sagemaker-notebook-direct-internet-json)
- [seceng.iacai.sagemaker-notebook-direct-internet](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaisagemaker-notebook-direct-internet)
- [seceng.iacai.vertex-ai-endpoint-no-private-network](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaivertex-ai-endpoint-no-private-network)
- [keryn.vendor.notebooks-instance-public-ip-tf](https://keryn.dev/rules/vendor-sdk-safety-controls-v1/#kerynvendornotebooks-instance-public-ip-tf)
- [keryn.vendor.workbench-instance-public-ip-tf](https://keryn.dev/rules/vendor-sdk-safety-controls-v1/#kerynvendorworkbench-instance-public-ip-tf)
- [seceng.asi10.code-sandbox-unrestricted-lifetime-or-network-python](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10code-sandbox-unrestricted-lifetime-or-network-python)
- [seceng.asi10.code-sandbox-unrestricted-lifetime-or-network-ts](https://keryn.dev/rules/agentic-asi-2026-v1/#secengasi10code-sandbox-unrestricted-lifetime-or-network-ts)
- [seceng.iacai.ollama-bind-all-interfaces](https://keryn.dev/rules/iac-ai-services-v1/#secengiacaiollama-bind-all-interfaces)

[These rules in the catalog filter](https://keryn.dev/rules/?cwe=CWE-668)
