-
Notifications
You must be signed in to change notification settings - Fork 1
Kasi Security
Oak Dev-inter edited this page Apr 26, 2026
·
2 revisions
Security audit mission β checklist-driven scan for injection, auth, file handling, output, session, crypto issues. Scan only, no fixes.
/kasi-security <file-or-controller>
/kasi-security <endpoint>
/kasi-security --stack=php|node|python
- Detects stack from project files and loads matching
CHECKLISTS/security-<stack>.md(12 default checklists seeded byinstall.shin v0.10 cover PHP / Node / Python / Go). - If no stack checklist exists, asks to build one before scanning.
- Auto-escalates Mode
routerβultrafor the duration; reverts on completion (v0.10). - Dispatches
audit-specialist --focus=security(v0.10 β replaces standalonesecurity-auditor) per scope item. - Collects findings across SQL injection, XSS, path traversal, CSRF, auth bypass, crypto, session, file handling.
- Runs a mandatory verifier pass to strip false positives (required on Haiku, recommended elsewhere).
- Emits findings by severity tier with exact
file:linerefs and confidence labels.
- Detect stack (PHP / Node / Python / Go) from project manifests.
- Load matching
security-<stack>.mdchecklist β build new if missing (ask user first). - Narrow scope β which files / controllers / endpoints?
- Auto-escalate Mode β
ultra(v0.10). - Dispatch
audit-specialist --focus=security, one per scope item. - Collect findings from all checklist categories.
- Verifier pass β remove plausible-but-wrong matches (mandatory on Haiku).
- Print severity buckets with file:line and confidence.
- Emit
[kasidit-log] kind=security-audit-<stack> mode=ultra turns=N outcome=...for router memory. - Revert to prior Mode.
- CRITICAL β immediate fix.
- HIGH β fix soon.
- MEDIUM β plan and fix.
- LOW β backlog.
- UNSURE β human review required, never silently promoted.
- Pre-deploy security gate on new or changed endpoints.
- Auditing a legacy controller before extending it.
- Scheduled security review on auth / payment / file-upload paths.
- You want the fix applied β this command is scan-only; hand findings to Kasi-Fix.
- General code quality review β use Kasi-Review.
- Scope "whole app" with no narrowing β refuse and narrow first.
- Opus / Sonnet β verifier pass is recommended.
- Haiku β verifier pass is mandatory; without it false-positive rate is too high.
- β Vague refs like "somewhere in the codebase" β always
file:line. - β Silently merging
[unsure]into HIGH β list separately. - β Auto-applying fix patches β this command scans; fixes go through Kasi-Fix with user approval.
- β Running without a stack-specific checklist on Haiku.
Introduced in v0.3.0.
- Commands (aggregate)
- Checklists
-
Agent-Audit-Specialist β the agent dispatched (
--focus=security) -
Kasi-Mode β
ultraauto-escalation contract - Kasi-Review
- Kasi-Fix
Repo β’ Discussions β’ Issues β’ Changelog β’ Security β’ Contributing β’ MIT β’ Β© Kasidit Wansudon
Kasidit
Core
- Commands
- Kasi-Mode π₯ v0.10
- Backend-Hooks π₯ v0.10
- Model Tiers
- Gravity Pattern
- Multi-Agent-Orchestration
- Claude Design Integration
- UI Override Mode
- FAQ
Version History
- Version History β overview
- v0.13.0 β thClaws (Consolidated) π¦
- v0.12.0 β thClaws Runtime Support π¦
- v0.11.0 β Backend + Bridge + Runbook π
- v0.10.0 β Mode + Backend Hooks
- v0.9.2 β Gravity
- v0.9.1 β Master Orchestrator
- v0.9.0 β Claude Design
- v0.8.0 β Tier Cascade
- v0.7.4 β SWE-bench
- v0.3.0 β Tier adaptation
- v0.2.1 β Docs protocol
- v0.2.0 β UI Override
- v0.1.0 β Core
Concepts
Commands
- Kasi-Init
- Kasi-Review
- Kasi-Security
- Kasi-Fix
- Kasi-Ui
- Kasi-Cascade
- Kasi-Multi
- Kasi-Scaffold
- Kasi-Docs
- Kasi-Status
- Kasi-Promote
- Kasi-Pull
- Kasi-Sync
- Kasi-Search
- Kasi-Wiki-Sync
Agents
- Agent-Architect-Planner
- Agent-Audit-Specialist π₯ v0.10
- Agent-Bug-Hunter
- Agent-Deep-Researcher
- Agent-Legacy-Specialist
- Agent-Migration-Specialist
- Agent-Refactor-Surgeon
- Agent-Test-Writer
Deprecated v0.10 (stubs β audit-specialist --focus=..., removed in v0.11)
-
Agent-Code-Reviewer β
--focus=quality -
Agent-Security-Auditor β
--focus=security -
Agent-Perf-Profiler β
--focus=perf