Detect locally. Fix with AI. Prove nothing broke.
AADSec orchestrates trusted open-source scanners inside an isolated local container, deduplicates and prioritizes findings (P0–P3), enriches vulnerabilities offline with dated CISA KEV and FIRST EPSS exploitability feeds, and writes a self-contained report on your disk — without ever uploading your source code.
Paired with the AADSec Verified Remediation Agent (aadsec-agent), every AI-proposed fix is re-scanned inside an isolated --network none container before delivery so you have verifiable proof of what changed and what did not break.
Proprietary software — all rights reserved. AADSec is not open source. See Proprietary software and PROPRIETARY.md.
An automated audit complements a human security assessment — it does not replace one. AADSec never claims:
- "Safe", "free of vulnerabilities", or a complete automated penetration test
- Uploading your repository to a cloud service
- Sending source code to an AI/LLM without your explicit consent
Teams hesitate to hand a Git repository to an external SaaS tool. AADSec is built the other way around:
- The scan runs on your machine or in your CI.
- Your source is mounted read-only (
:ro) into an ephemeral, hardened container (--cap-drop=ALL,--security-opt no-new-privileges,--pull=never, non-root UID10001). docker.sockis never mounted; during scans, the CLI runs with--pull=neverso nothing is pulled or uploaded implicitly.- Only the results (
findings.jsonschema0.4,report.html,audit-metadata.json) are written to your disk. - If you later want human assistance, you can voluntarily share the results — never your source code. See How sharing works.
Built by a DevSecOps engineer tired of exposing proprietary repositories to third-party clouds and triaging hundreds of duplicate alerts across six separate tools.
One command (aadsec scan). Local offline container execution (--network none). Deduplicated findings and AI patches proven by real re-scan (aadsec-agent).
| Domain | Engine | Scope & Notes |
|---|---|---|
| Secrets | Gitleaks | Secret detection with strict redaction; opt-in local --history scan |
| Dependencies (SCA) | Trivy | Filesystem dependency manifests and lockfiles, with structured upgrade plans |
| SAST (Multi-language) | Opengrep | Clean-room local SAST ruleset (LGPL-2.1) — no external rule registry |
| SAST (Go) | gosec | Offline Go SAST adapter with strict redaction and canonical CWE deduplication |
| SAST (Python) | Bandit | Offline Python SAST adapter with strict redaction and canonical CWE deduplication |
| IaC | Checkov | Terraform, Kubernetes, Dockerfile, CloudFormation, and GitHub Actions (github_actions) |
| Container Image | Trivy | Local Docker images (--image) or docker save archives (--image-tar) |
Outputs (findings.json schema 0.4 & report.html):
findings.jsonschema0.4: deduplicated across scanners, prioritizedP0–P3, and enriched offline with dated CISA KEV and FIRST EPSS exploitability feeds (with14-day and30-day freshness alerts).report.html: single self-contained file with zero external assets, Executive and Developer views, FR/EN parity (--lang en|fr), and browser print styling (Cmd+P/Ctrl+P).
Not currently included: SARIF export, scan-level CycloneDX SBOM export (planned for a future release), automated PDF binary export, or DAST.
While scanners only detect issues and generic AI assistants only claim a patch works, AADSec Verified Remediation Agent proves remediation by execution:
- Local Desktop UI (
AADSec Localviaaadsec-agent app): launchaadsec-agent app(or the OS desktop icon installed automatically byinstall.shviaaadsec-agent app --install-desktop) to open a folder, run unlimited free local scans, export JSON/CSV/Markdown/HTML reports, review verified diffs, and apply or discard patches (aadsec-agent discard). - Explicit human consent & local redaction:
stepandscopedare the consent modes on the default gateway (metadatais reserved for--provider custom); secrets are redacted locally and only a bounded+/- 120-line window plus import header (lines 1..60,<= 20 KiBunder the32 KiBgateway bound) is transmitted upon approval, with SHA-256 audit logging (ai-consent-log.json). - Double scan in
--network noneisolation: every proposed patch is applied in an isolated workspace and re-scanned inside the--network nonerunner container against the baseline. - 7 honest statuses:
NOT_DETECTED_AFTER_PATCH,STILL_DETECTED,NEW_FINDING_INTRODUCED,SUPPRESSED_NOT_FIXED,DESTRUCTIVE_CHANGE,PATCH_APPLY_ERROR, andSCAN_NON_COMPARABLE— failures and regressions are surfaced explicitly. - Anti-Goodhart enforcement: automatically detects and rejects fake fixes such as
#checkov:skip,nosec, exclusion files (.trivyignore,.gitleaksignore,.checkov.yaml), commenting out active lines, or destructive resource deletion/replacement. - Atomic
apply/discard/undo&--defer-result-report: source files stay untouched by default; when using--defer-result-report(default inaadsec-agent app), billable credit reporting waits until you explicitlyapply(1 credit) ordiscard(aadsec-agent discard,0 credit), and out-of-tree backups withundorestore exact prior state and permissions. - Secrets & dependencies verification: offline
plan-rotation, container-isolatedrotation-verify(post-rotation Gitleaks double scan), anddependency-verify(post-upgrade Trivy double scan). - One-time activation & shell autocompletion: activate your key interactively without terminal echo (
aadsec-agent activate), viaAADSec Local(aadsec-agent app), viaprintf '%s\n' "$KEY" | aadsec-agent activate --stdin, or passAADSEC_LICENSE_KEYdirectly in CI/CD environments; built-incompletion <bash|zsh|fish|powershell>support. - Offline (
0 credit) vs. Online (1 crediton verifiedApply): Scanning (aadsec scan/AADSec Localscan), exports, and Gitleaks secret fixes (0 credit — local) run entirely offline with zero network transfers.Fix with AADSec(1 credit) queries AADSec's online verified recipes on the AADSec gateway first and falls back transparently to AI models when needed (Internet connection required,<= 20 KiBredacted excerpt under the32 KiBbound, zero code retention), then verifies every patch locally inside offline Docker (--network none).
- Scanner CLI (
aadsec): free and unlimited local scanner — no account, no license key, and no payment card required. Runaadsec scan .(or useaadsec-agent app) before purchasing an agent credit pack to inspect coverage on your stack; missing a language or framework, or need license support? Write to support@aadsec.xyz (general inquiries: contact@aadsec.xyz). - AADSec Remediation Agent (
aadsec-agent) — Prepaid Non-Expiring Credit Packs: exclusively prepaid packs with no expiration (no recurring subscription required):- Starter (
$15):5non-expiring credits (30attempts/month, individual key) - Developer (
$29):12non-expiring credits (60attempts/month, individual key) - Agency (
$49):30non-expiring credits (120attempts/month, one shareable key across multiple team workstations on a shared wallet) - Key-preserving top-ups:
+5credits ($9),+10credits ($16),+25credits ($35) — credit your active wallet directly without changing your key. - Accounting rule:
1 credit = 1 verified, accepted, and applied fix(NOT_DETECTED_AFTER_PATCHwithout regression, accepted and applied viaaadsec-agent applyorAADSec Local). Scans, exports (JSON/CSV/Markdown/HTML), failed attempts, anddiscard(aadsec-agent discard) consume0 credit. - Covers all 6 engines (
checkovincludinggithub_actions,opengrep,gosec,bandit,trivy,gitleaks, with secrets & SCA handled locally without external AI; automatic TrivyDoubleScanapplies directly togo.mod,requirements*.txt, andpom.xml, while lockfile-backed ecosystems use local upgrade +aadsec-agent dependency-verify). (--runner-imagedefaults toghcr.io/aadieng100/aadsec-runner:0.2.0, whose published image embeds the initial 26 Opengrep rules pending the next runner rebuild for the 20 newB-07rules andgithub_actionsrunner extension.)
- Starter (
- Human Triage & Audit: on quote (voluntary sharing of
findings.json/report.html, never source code).
Learn more and obtain a key at https://aadsec.xyz.
Inspect a public, anonymized report generated on a deliberately vulnerable demo repository (English and French):
- View live demo report (EN) — source:
examples/report-demo.html - Voir le rapport de démo en français (FR) — source:
examples/report-demo-fr.html
Origin and anonymization details: examples/README.md.
In the reference demo scan (Trivy / KEV / EPSS databases dated 2026-11-25), the report displays 90 deduplicated findings (105 before deduplication: 54 Trivy, 32 Checkov, 2 Gitleaks, 2 Opengrep; gosec and Bandit report not_applicable as the demo repository contains no .go or .py files). Counts depend on the vulnerability database version in use:
During the first online scan, AADSec downloads Trivy's vulnerability database into its local cache (about 1.6 GB measured on macOS);
--offlineuses the database from the image or the cache. The number of Trivy findings depends on the database in use: the totals in the sample report correspond to the database dated2026-11-25and may differ with a more recent database.Lors du premier scan en ligne, AADSec télécharge la base de vulnérabilités de Trivy dans son cache local (environ 1,6 Go mesurés sur macOS) ;
--offlineutilise celle de l'image ou celle du cache. Le nombre de constats Trivy dépend de la base utilisée : les totaux de l'exemple de rapport correspondent à la base du2026-11-25et peuvent différer avec une base plus récente.
Releases and checksums are published on the Releases page (current build: v0.2.0). The installer checks SHA256SUMS in fail-closed mode before writing anything to disk and installs both aadsec and aadsec-agent into ~/.local/bin (or %LOCALAPPDATA%\aadsec on Windows):
- macOS / Linux (
install.sh): automatically updatesPATHand loads shell autocompletion (bash,zsh,fish) via~/.aadsec/completions/(can be disabled viaAADSEC_NO_MODIFY_PATH=1/AADSEC_NO_COMPLETION=1). - Windows (
install.ps1, experimental): automatically updatesUser Pathand generates PowerShell completion scripts in%LOCALAPPDATA%\aadsec\completions\(aadsec.ps1andaadsec-agent.ps1). - Runner image: if Docker is running during installation, the installer verifies or pulls
ghcr.io/aadieng100/aadsec-runner:0.2.0(can be disabled viaAADSEC_SKIP_IMAGE_PULL=1/-SkipImagePull).
- Docker: running (scanners execute inside an isolated container).
- Linux: your user account must have permission to access the Docker daemon socket (membership in the
dockergroup with a refreshed session). - Windows: Docker Desktop with the WSL2 backend.
- Linux: your user account must have permission to access the Docker daemon socket (membership in the
- Git: installed and on
PATH.
macOS / Linux
# Option A — One-liner install (installs aadsec + aadsec-agent, configures PATH & completions)
curl -fsSL https://github.com/aadieng100/aadsec-public/releases/download/v0.2.0/install.sh | sh
# Option B — Download and inspect first
curl -fsSLO https://github.com/aadieng100/aadsec-public/releases/download/v0.2.0/install.sh
sh install.sh
aadsec --version
aadsec-agent --versionWindows (experimental)
# Option A — One-liner install
irm https://github.com/aadieng100/aadsec-public/releases/download/v0.2.0/install.ps1 | iex
# Option B — Download and inspect first
Invoke-WebRequest -UseBasicParsing `
-Uri https://github.com/aadieng100/aadsec-public/releases/download/v0.2.0/install.ps1 `
-OutFile install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1
aadsec --version
aadsec-agent --versionFor manual installation, the Releases page provides the raw binaries, archives, and SHA256SUMS (covering the 24 distribution binaries and archives: 12 for aadsec and 12 for aadsec-agent; it does not cover install.sh or install.ps1).
Pull the scanner runner image (if Docker was not running during install or AADSEC_SKIP_IMAGE_PULL=1 was set):
docker pull ghcr.io/aadieng100/aadsec-runner:0.2.0
aadsec doctor # verifies the CLI and runner image are alignedGraphical interface (AADSec Local) & CLI quickstart:
aadsec-agent app # launch AADSec Local (runs locally on 127.0.0.1)
aadsec-agent app --install-desktop # install/refresh OS Desktop icon & launcher
aadsec doctor # check Docker, Git, and the runner image
aadsec scan . # scan the current directory
open security-output/report.html # macOS — on Linux: xdg-openCommon options:
aadsec scan --offline . # air-gapped / offline scan (--network none)
aadsec scan --image myapp:audit # scan a local Docker image you built
aadsec scan --image-tar ./myapp.tar # scan a "docker save" archive
aadsec share # prepare an opt-in bundle of results
aadsec completion <bash|zsh|fish|powershell> # generate shell completion scriptVerified remediation (aadsec-agent):
aadsec-agent activate # interactive license key activation (no echo)
aadsec-agent doctor --runner-image ghcr.io/aadieng100/aadsec-runner:0.2.0
aadsec-agent --findings security-output/findings.json \
--finding-rule CKV_AWS_20 \
--defer-result-report \
--runner-image ghcr.io/aadieng100/aadsec-runner:0.2.0 # verified IaC remediation loop (deferred credit deduction)
aadsec-agent apply --out ./aadsec-ai-output --source . # atomically apply a verified patch (1 credit)
aadsec-agent discard --out ./aadsec-ai-output # discard a proposed patch (0 credit)
aadsec-agent undo --out ./aadsec-ai-output --source . # revert an applied patch from backup
aadsec-agent plan-rotation --findings security-output/findings.json --all-secrets
aadsec-agent rotation-verify --findings security-output/findings.json --source . --all-secrets \
--runner-image ghcr.io/aadieng100/aadsec-runner:0.2.0
aadsec-agent dependency-verify --findings security-output/findings.json --source . --all-vulns \
--runner-image ghcr.io/aadieng100/aadsec-runner:0.2.0
aadsec-agent completion <bash|zsh|fish|powershell> # generate shell completion scriptOutput is in English by default; add --lang fr for French. See the Usage guide.
Remove AADSec and its local state (aadsec, the companion aadsec-agent binary in the same directory, the config directory, the aadsec and aadsec-agent caches, and ~/.aadsec including ~/.aadsec/completions/):
aadsec uninstall # lists what will be deleted, then asks to confirm
aadsec uninstall --yes # skip confirmationThe # >>> aadsec initialize >>> block in shell configuration files remains harmless and can be removed manually if desired. Per-project scan outputs (security-output/) and the Docker runner image (docker rmi ghcr.io/aadieng100/aadsec-runner:0.2.0) are left untouched.
- Quickstart guide — installation, prerequisites, and first scan
- Usage guide — commands, flags, outputs
- How sharing works — the opt-in, manual sharing model
- FAQ — trust, privacy, scope
- Known limitations — technical constraints and platform scope
AADSec stands for Actionable Audit for DevSecOps (Sec = Security), while also carrying the initials of its creator, Abdoul Aziz Dieng.
- Website: https://aadsec.xyz
- Support, licenses & stack requests: support@aadsec.xyz
- General contact & security reports: contact@aadsec.xyz
- LinkedIn: linkedin.com/company/aadsec
Proprietary software — all rights reserved. © 2026 Abdoul Aziz Dieng, exploitant l'entreprise individuelle DIENG TECH ET SERVICES. No right to use, copy, modify, distribute, sublicense, resell, or create derivative works from AADSec is granted except with prior written permission from the owner. Evaluation and commercial terms are published at https://aadsec.xyz/terms.
AADSec orchestrates third-party open-source scanners (Gitleaks under MIT, Trivy under Apache-2.0, Opengrep under LGPL-2.1, Checkov under Apache-2.0, gosec under Apache-2.0, Bandit under Apache-2.0); those tools remain under their own respective licenses — see THIRD_PARTY_NOTICES.md. That does not make AADSec open source. Full statement: PROPRIETARY.md.