Skip to content
View ahmedhany-cys's full-sized avatar

Block or report ahmedhany-cys

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ahmedhany-cys/README.md
Ahmed Hany, cloud security engineer. Detection and response engineering on AWS, Azure and Kubernetes.

I'm Ahmed, a cloud security engineer in Dubai. I build tools that answer the questions a security team actually gets asked: who can reach this data, who can mint a token our cloud trusts, what just happened in this cluster?

I test them until I can show evidence for every claim they make. When the evidence isn't there, they say unknown instead of guessing. And when a scanner I rely on gets a case wrong, I send the fix upstream.

Open source

Rules and fixes for security scanners that other teams run in production. Each one ships with tests and follows the project's own conventions. The status badges are live.

Kubescape Kubescape  CNCF · Rego  kubescape#4509 status
New rule modify-admission-webhooks-v1. It flags RBAC that lets a subject create or change admission webhooks, with test cases for each binding shape.
Cloud Custodian Cloud Custodian  CNCF · Python  cloud-custodian#11317 status
Fix for the cross-account filter. It read fail-open IAM conditions, such as ForAllValues on an absent key, as restrictions and reported public resource policies as safe.
AWS Labs ASH  AWS Labs · Python  automated-security-helper#866 status
Fix: say so when uv sync removes the dependencies that ash dependencies install added.
Prowler Prowler  Python  prowler#13220 status prowler#13227 status prowler#13294 status
A new WAFv2 check for the AWS managed rule groups against injection, and two fixes to how resource policies are judged: S3 secure-transport deny statements and wildcard conditions that match any account.
Aqua Security Trivy  Go  trivy#11520 status
Fix: apply the default TLS policy to ELB listeners that set no ssl_policy, in both the Terraform and CloudFormation adapters.

Selected work

flagship

Kubernetes runtime threat detection with approval-gated response. Say a container drops a binary, reads its service account token and tries to reach a database in another namespace. KubeShield picks that up from Falco, Hubble and Kyverno, correlates it into one incident, and isolates the pod only after an analyst approves. Then it proves the isolation with real connections instead of trusting that a policy object exists.

KubeShield security overview of a local lab cluster: open incidents, high and critical events, vulnerable images, policy violations and detection activity by source
46 of 46
end-to-end checks passed
9
attack scenarios validated
8
custom Falco rules
9
Kyverno guardrails
62
unit tests

Validation report · What testing broke · Detection rules · Architecture · Limitations
A lab project. It runs on a local, loopback-only kind cluster and makes no production-readiness claims.


TrustMint scan of a synthetic estate: 20 federation trusts ranked from PUBLIC to NONE by who can mint a matching token

TrustMint
Who can mint a token your cloud trusts?

Offline audit of OIDC workload identity federation from GitHub Actions, GitLab, HCP Terraform, CircleCI and EKS into AWS, GCP and Azure. A finding is reported only when TrustMint can build a witness token the trust really accepts.

Python · OIDC · IAM · CEL · Terraform plans · SARIF
AWS Cloud Attack Path Analyzer run on its synthetic demo account: 49 findings, 4 of them critical, including a one-step path from a user to an admin role

AWS Cloud Attack Path Analyzer
Who could reach admin or sensitive data?

Offline, graph-based analysis of AWS IAM and network exposure. A tri-state IAM evaluator and 22 checks turn misconfigurations into attack paths with least-privilege fixes. Zero runtime dependencies and 402 tests.

Python · IAM · graph analysis · Hypothesis
AWS HoneyTrap dashboard filtered to live data from the proof of concept: 23 events, 11 sessions and 8 sources, with IPs pseudonymised

AWS HoneyTrap
Who is knocking, and what do they try?

A honeypot I put on the real internet. Terraform deployed 80 resources, a hardened Cowrie decoy stayed exposed for about 5 hours 20 minutes, then I tore it down and checked it was gone. Cost: about $0.10. Scanners came from 8 sources, none logged in, so none of the 18 rules fired, and the write-up says exactly that.

Python · Terraform · Cowrie · Lambda · EventBridge · Streamlit
Azure SupplyChain Sentinel security overview: six analysed releases with PASS, FAIL and INDETERMINATE decisions on demonstration data

Azure SupplyChain Sentinel
Is this release safe to ship?

A release gate that turns SBOM, vulnerability, signature and SLSA provenance evidence into a PASS / FAIL / INDETERMINATE decision under a versioned policy. A scan that could not finish is never read as a clean one.

Python · Syft · OSV · Cosign · SLSA · FastAPI

Every project is open source and tested. Demos use synthetic data or a local lab unless a project says otherwise. The rest of my work is in repositories.

Toolkit

Cloud AWS: IAM, CloudTrail, GuardDuty, EventBridge, Lambda, S3  ·  Azure: Key Vault, Container Registry, Storage
Kubernetes Falco · Cilium and Hubble · Kyverno · Kubescape · Helm · eBPF
Security engineering MITRE ATT&CK · OIDC federation · Sigstore and Cosign · SLSA · CycloneDX · SARIF · YARA
Build Python · Go · TypeScript · Rego · Terraform · FastAPI · React · Docker · GitHub Actions

Popular repositories Loading

  1. azure-supplychain-sentinel azure-supplychain-sentinel Public

    Software supply-chain release gate: CycloneDX SBOMs (Syft), OSV vulnerability evidence, dependency drift, Cosign signature and SLSA provenance verification, PASS/FAIL/INDETERMINATE policy decisions.

    Python 2

  2. aws-cloud-security-incident-response aws-cloud-security-incident-response Public

    Serverless AWS security monitoring and automated incident response. CloudTrail → EventBridge → Lambda → S3 JSON incident reports, plus a scheduled trail health check. Terraform, least-privilege IAM…

    Python 1

  3. ahmedhany-cys ahmedhany-cys Public

    GitHub profile README for ahmedhany-cys

    Python 1

  4. security-cheatsheets security-cheatsheets Public

    Quick-reference cheatsheets for cybersecurity and cloud security

    1

  5. aws-cloud-attack-path-analyzer aws-cloud-attack-path-analyzer Public

    Offline, graph-based analysis of AWS IAM permissions and network exposure, with evidence-backed attack paths and least-privilege remediation

    Python 1

  6. recoveryproof recoveryproof Public

    Python 1