kintsugi-securitylisted
Install: claude install-skill tunguyen1993/kintsugi-harness
# kintsugi-security (`@KML/1` Machine-Native AST-IR)
```bash
kintsugi scan --staged --fail-on HIGH
```
## `@KML/1` Symbolic Guardrail Specifications (`NEG_AST => POS_AST`)
### `KS-001` · `Hardcoded API credential or private key literal`
- `@WIRE`: `@KML/1|id=KS-001|sev=C|cat=security|lang=py,js,ts,go|op=secret!=literal->os.environ|guard=RX#26eb207e|neg=«API_TOKEN = "sk-proj-EXAMPLE_PLACEHOLDER_00000000000000" # ggignore»|pos=«import os ; API_TOKEN = os.environ["OPENAI_API_KEY"]»|fp=1692c2e21863cd46`
- `@TRAP`: `Coding agents frequently inline live sk-/ghp_/AKIA tokens during rapid prototyping instead of reading environment variables.`
- `@LAW`: `Prevents irreversible credential leakage into git history, CI logs, and public pull requests.`
`@NEG_AST` (`❌ FORBIDDEN`):
```python
API_TOKEN = "sk-proj-EXAMPLE_PLACEHOLDER_00000000000000" # ggignore
```
`@POS_AST` (`✅ REQUIRED`):
```python
import os
API_TOKEN = os.environ["OPENAI_API_KEY"]
```
### `KS-006` · `Unsafe dynamic code execution or untrusted deserialization`
- `@WIRE`: `@KML/1|id=KS-006|sev=C|cat=security|lang=py|op=no_eval_exec_pickle->literal_eval|guard=AST:py_unsafe_dynamic_exec|neg=«import pickle ; payload = pickle.loads(raw_bytes)»|pos=«import json ; payload = json.loads(raw_bytes.decode('utf-8'))»|fp=211ecc0b0c336412`
- `@TRAP`: `Using eval(), exec(), pickle.loads(), or yaml.load() without SafeLoader allows arbitrary code execution on untrusted payloads.`
- `@LAW`: `Blocks arbitrary remote code execution vect