Ae1
High
- Category
- analysis-evasion
- Content
| Scope functions, sealed hierarchies, delegation, destructuring, `use`, DSL builders | `idioms.md` |
- Confidence
- 100% confidence
- Finding
- Referenced artifact was not completely inspected
Security audit
Security checks for vulnerabilities and agentic risk
This Kotlin helper skill is a coherent documentation and preference-based coding aid, with disclosed local preference memory and no evidence of hidden execution, exfiltration, or destructive behavior.
Before installing, understand that this skill may read and maintain Kotlin-specific preferences in ~/Clawic/data/kotlin/. Review or delete those files if you do not want persistent tailoring across sessions.
| Scope functions, sealed hierarchies, delegation, destructuring, `use`, DSL builders | `idioms.md` |
| Scope functions, sealed hierarchies, delegation, destructuring, `use`, DSL builders | `idioms.md` |
| Situation | Shape |
|---|---|
| Validation, not-found, offline, "already exists" | Typed result: `sealed interface LoginResult { data class Ok(…) ; data object WrongPassword ; data class Locked(val until: Instant) }` |
| Caller cannot proceed and cannot fix it (broken invariant, corrupt state) | `throw IllegalStateException` / `error("…")` |
| Caller passed something impossible | `require(...)` → `IllegalArgumentException` |
| I/O that the layer above can retry or surface generically | Throw, and translate at the layer that has UI or policy context |
| Parsing untrusted input | Typed result; a parser that throws forces every caller into `try/catch` |No suspicious patterns detected.