Projects & open source
Tools I build to audit, govern and secure production systems
Open-source tooling and companion repositories. Each one exists because a production review needed it.
Kosty
One-command AWS audit: cost waste, security gaps, GenAI workloads and attack surface.
Kosty is an open-source AWS security and FinOps auditing CLI. One scan engine runs 151 checks across 32 AWS services, maps the external attack surface, detects IAM privilege-escalation paths, audits Amazon Bedrock and SageMaker workloads, and estimates the monthly saving for many of the cost findings.
- checks
- 151
- AWS services
- 32
- IAM escalation patterns
- 21
- public resource types mapped
- 15
What it solves
Cloud security posture
Security groups, IAM, KMS, WAF, GuardDuty, CloudTrail and Config checks, plus 21 IAM privilege-escalation patterns, run with --deep and confirmed by policy simulation.
External attack surface
Maps internet-reachable ALBs, EC2, S3, RDS, API Gateway, Lambda URLs, CloudFront, OpenSearch, EKS, ECR and more, and classifies each as exposed, partially protected or protected.
GenAI workload security
Amazon Bedrock and SageMaker checks: invocation logging, regions with no guardrail, AI roles without an approval tag, and endpoints with no invocations.
FinOps compliance
Stopped instances, oversized databases, idle NAT gateways and load balancers, orphaned volumes and secrets, many with an estimated monthly saving.
Architecture overview
One scan engine, plugin-based checks, read-only credentials. The same path runs a full audit or a single-service check.
- 01
Credentials
AWS profiles, assumed roles or an AWS Organization, read-only. Multi-profile and multi-region in parallel.
- 02
Scan engine
Every command, full audit or per service, runs through one plugin-based engine. Checks are plugins under kosty/providers/aws/services/.
- 03
Findings
Severity, service, resource and, for many cost findings, an estimated monthly saving, filtered by kosty.yaml exclusions.
- 04
Reports
Console, JSON or CSV output, a .sha256 sidecar for default local reports, and a single-file HTML dashboard with no build step.
Install
# PyPI (recommended) — requires Python 3.10+
pip install kosty
# Docker
docker run --rm -v ~/.aws:/home/nonroot/.aws:ro ghcr.io/kosty-cloud/kosty:latest audit CLI usage
# Full audit — cost + security across 32 services
kosty audit --output all
# External attack surface mapping
kosty public-exposure --output console
# AI/ML audit — Bedrock + SageMaker
kosty ai audit --output console
kosty ai bedrock check-no-guardrails # region with no guardrail
kosty ai bedrock check-shadow-ai # AI roles without approval tag
# IAM privilege escalation (21 patterns, needs --deep)
kosty iam check-privilege-escalation --deep
# Organization-wide scan
kosty audit --organization --max-workers 20 --output all
Reports: console, JSON or CSV, a .sha256 sidecar for default local reports, and a single-file HTML dashboard.
Run it with read-only credentials.
ConfigLens
ConfigLens audits monitoring platforms such as Zabbix, Centreon and Prometheus, detects drift between expected and actual configuration, compares audits over time and prioritizes findings, so DevOps, SRE and infrastructure teams keep a reliable, readable and governed monitoring estate.
configlens.comGitHub
Repositories
-
github.com/yassirkachri
PublicProfile
GitHub profile: reference configurations, companion code and open-source tooling.
Open repository → -
kosty-cloud/kosty
273 PublicOpen source
Open-source AWS security and FinOps auditing CLI. Python, MIT license.
Open repository → -
yassirkachri/enterprise-agentic-software-factory
PublicCompanion · Agentic Factory
Reference configurations for The Enterprise Agentic Software Factory: managed settings, hooks, critic reviewer, CI sandbox, OTel collector, kill switches.
Open repository → -
AegisFin Corp (aegisfin-rag)
Opening soonCompanion · Volume 1
Tested companion code for Volume 1, Production-Grade Enterprise RAG Architecture: the fictional regulated firm, its fixtures, evals and infrastructure.
Request early access →
Everything public lives at github.com/yassirkachri.