Kashif is a free, open-source security scanner. Its dataflow engine follows untrusted input through 12 languages and shows the path behind every dataflow finding. Its passive web scanner reads a site you are authorized to test the way a browser does, and judges it against 184 checks. No dependencies, no account, no telemetry: it runs on your machine, in English and Arabic.
Free and open source (MIT)Your code never leaves your machineWindows · Linux · macOS
$ kashif ./demo-app --no-deps --lang enKashif — ./demo-app(1 file scanned, 2 findings)━━ CRITICAL (1) ━━DF002[CWE-78] Tainted data reaches a shell command
app.py:10
▸ Source: request.args
→ Do not build OS commands from input; use an
argument list without a shell and validate it.
1. app.py:8 host = request.args
2. app.py:9 cmd = …
3. app.py:10 Sink: os.system
━━ INFO (1) ━━vql/entry-point-without-auth[CWE-306]
Routed entry point without an authentication
decorator
app.py:7
$ kashif http://127.0.0.1:8931/ --authorized --lang enKashif — http://127.0.0.1:8931/(1 page scanned · 6 requests, 16 findings)ℹ Passive scan, profile standard: 6 of at most 45
requests sent; no active test.
ℹ Coverage: 73 passed · 16 failed · 59 not applicable ·
36 not tested · 0 inconclusive
ℹ Grades: Kashif F* · Observatory 25 (D-) ·
SSL Labs-compatible not graded
━━ HIGH (1) ━━WEB052[CWE-523] Password field on non-HTTPS page
(certain)
▸ <input type=password name=p> in form → http://127.0.0.1/login
→ Serve login pages over HTTPS only.
━━ MEDIUM (3) ━━WEB-content-security-policy[CWE-693]
Missing Content-Security-Policy (firm)WEB054[CWE-1395] Vulnerable JavaScript library:
jQuery 1.12.4 (firm)
· issue 11974: parseHTML() executes scripts in event
handlers (fixed in 2.2.0)
→ Upgrade jQuery to 3.5.0 or later.
… 1 more MEDIUM, 6 LOW and 6 INFO findings
Real output, abridged: an 11-line Flask app, and a deliberately weak test page served on localhost.
93.1%OWASP Benchmark score, Python
98.3%OWASP Benchmark score, Java
184passive web checks
12languages with dataflow analysis
0runtime dependencies
EN · عinterface, command line and reports
One tool, two scanners
Static analysis for the code you write. Passive checks for the site you ship.
Each one finds what the other cannot see. Both run from the same program and UI, with the same report formats and CI exit codes.
Code · SAST
Follows untrusted input to the dangerous call
Dataflow analysis in 12 languages, plus Oracle APEX and Android apps
The source-to-sink path behind every dataflow finding
Secrets, dependencies with reachability, verified autofix
Kashif builds a model of your program, follows untrusted data through it, and reports only where that data reaches a dangerous operation, with every step shown.
1
Source
Finds where untrusted data enters: request parameters, headers, cookies, files, environment variables and APEX page items.
2
Data flow
Propagates taint through assignments, calls, fields, collections and database tables, across functions and files. A sanitizer clears it only for the sinks it actually defends.
3
Sink
Reports when tainted data reaches a dangerous API (SQL, shell, file paths, templates, deserialization, redirects) with the CWE, the full path and how to fix it.
Untrusted input reaches a shell command (OS command injection)
1sourcerequest.args.get("host")app.py:8
2flowcmd = "ping -c 1 " + hostapp.py:9
3sinkos.system(cmd)app.py:10
Do not build shell commands from input. Pass an argument list to subprocess.run() without a shell, and validate the host against an allowlist.
Passive web scannerNew in 1.1
It reads your site the way a browser does. Nothing more.
Point Kashif at a site you own or are authorized to test. It requests what an anonymous visitor would receive, judges it against 184 checks, and tells you exactly what it sent.
What it sends, and what it never does
Plain GET requests only: no attack payloads, no form submission, no guessing, no firewall evasion.
At least 0.2 s between two requests to one host (0.5 s by default), one request at a time. Crawl-delay raises the gap; repeated 429 or 503 with Retry-After stops requests to that host.
An honest User-Agent that names Kashif and links to a page explaining the scanner.
robots.txt is honoured when crawling, and links that change state, such as logout, are never followed.
Nothing is sent without --authorized, and no lookup reveals the site's name to a third party.
Adds the http/https counterpart, one cookieless CORS request, robots.txt, security.txt, the favicon and up to 15 of the site's own scripts and styles.
--deepat most 150 requests
Adds a fixed list of 40 commonly exposed paths, 21 paths of detected platforms such as their login pages (fetched once, nothing submitted), third-party scripts, source maps and images.
Crawled pages (--crawl) come on top of the budget: same origin only, at most 500 pages.
184 checks in 11 families
Every check has a stable id, a severity, a confidence, and CWE, WSTG and ASVS mappings.
Passive web checks per family
Family
Checks
ATransport, redirects and HSTS
18
BContent-Security-Policy
25
CFraming, MIME, referrer, permissions, isolation and caching
23
DCORS
8
ECookies
18
FPage content and client-side code
27
GInformation disclosure
23
HTLS and certificates
25
IComponents and technologies
7
JExposed and well-known files
8
KScan meta: inconclusive scans, checks that could not run
Six weighted families, capped by serious findings. * marks a provisional grade, ? a firewall that answered instead of the site.
MDN
HTTP Observatory
A compatible score (algorithm 6) that matches the official grader on its test cases.
TLS
SSL Labs-compatible
A TLS grade without the attack-only tests Kashif does not perform.
Coverage that never pretends
Each check ends in one of five states, with the reason. A check that did not run is never shown as passed and never counts in a grade.
passed
failed
not applicable
not tested
inconclusive
Evidence you can repeat, fixes you can paste
Every finding carries a confidence (certain, firm or tentative), the request, the redirect chain, the headers as received with cookie values redacted, and a curl command that repeats the request. Copy-paste fixes cover 18 platforms, from nginx and IIS to Django and Rails.
What a passive scan cannot find
Pages behind a login: Kashif never signs in.
Injection, XSS, authentication, access control and business logic: testing them needs requests built to break the application, which Kashif never sends.
Certificate revocation: Kashif reads a stapled OCSP response but never contacts the certificate authority.
A clean grade is not a clean bill of health: pair the web scan with a code scan of the same application.
Measured on a labelled local corpus
380test cases on 127.0.0.1, no network
579labels, covering all 184 rules
1.00precision, certain and firm findings
1.00recall, for every rule
Each case where a rule must fire has a trap case where it must not, including traps from ZAP's 20 most frequent false-positive families.
The project wrote these cases and tuned the rules on them, so the numbers measure regressions on known cases, not accuracy on real sites. No comparison with other tools has been run yet.
Product
A complete security workbench on localhost.
Dashboard, findings, data-flow traces, scans and reports in a local web UI, in English and Arabic, light and dark. No account, no server to install, nothing uploaded.
127.0.0.1:8765
Severity totals, the most frequent rules and recent scans at a glance.
Platform
One scanner for code, apps, archives and sites.
Pattern rules, a cross-file dataflow engine and a query language, plus verified autofixes, secrets, dependency vulnerabilities with reachability and passive web checks, in a single tool that runs anywhere.
153built-in pattern rules
48dataflow and APEX rules
6,447modelled library APIs
19built-in VQL queries
Dataflow (taint) analysis
Tracks untrusted input across functions, classes and files, and attaches the full source-to-sink path to every finding.
Flow- and context-sensitive
Constant folding and dead-branch pruning, plus context-sensitive (k=2) points-to analysis, so one factory called from two places yields two distinct objects.
Context-specific sanitizers
html.escape protects HTML, not SQL or a shell. A sanitizer clears only the sinks it actually defends.
Second-order injection
Follows user data written to a database table and later read back into SQL or a shell command: stored injection, in every language.
Secrets, now and in git history
Provider-specific patterns for cloud, payment and messaging keys, plus entropy analysis that catches keys with no known format. kashif history finds every secret ever committed, even if a later commit deleted it.
Dependencies with reachability
Reads 23 manifest and lockfile types, looks up known vulnerabilities in OSV.dev, and tells you whether your code imports the package and calls the vulnerable function. The lookup is optional and the only network call a code scan makes.
Archives, APK and JAR
Scan a zip, tar.gz, APK, JAR, AAR or DEX directly. With jadx installed, Android and Java bytecode is decompiled and analyzed.
Passive web checks
184 read-only checks of redirects and HSTS, CSP, headers, CORS, cookies, page content, TLS and certificates, libraries and exposed files, with Kashif and MDN Observatory grades and a coverage table that never shows an untested check as passed.
Write checks in VQL, a declarative from/where/select language over the program database in the style of CodeQL, then test, pack and share them with kashif rules.
Verified autofix
Deterministic fixes for 39 rules, from parameterized SQL to yaml.safe_load. A fix is offered only after the patched file parses and the rule no longer matches; review the diff, or apply it with --fix.
Triage, policy and compliance
Triage decisions kept in the repository, a kashif.yml policy gate, mapping to 10 frameworks (OWASP, ASVS, CWE Top 25, PCI DSS, NIST, ISO 27001…) with an auditor report, and an attack-surface map.
For AI coding assistants
kashif mcp is an MCP server: Claude Code, Cursor, VS Code agents, Windsurf and Zed can check the code they write, locally and offline. It never runs your code.
Languages and targets
12 languages with dataflow, and the places other scanners skip.
The same taint engine runs on every language below, alongside pattern rules for configuration, containers and CI files.
Python
JavaScript / TS
Java
Kotlin
C#
Go
PHP
C / C++
Rust
Swift
Ruby
PL/SQL
Oracle APEX and ORDS
Analyzes APEX application exports, plug-ins and PL/SQL packages for SQL injection, substitution strings, XSS and AI-assistant prompt injection, and points to the page and component.
Android APK and JAR via jadx
Unpacks APK, JAR, AAR and DEX files and runs dataflow analysis on the decompiled code. Third-party libraries are excluded by default.
CI/CD and SARIF
Fits the pipeline you already have.
Upload SARIF to GitHub Code Scanning and findings appear in the Security tab and inline on pull requests, with severity, CWE and the data-flow path.
Record today's findings once and commit the file (fingerprints only, no code). Later scans report, and fail CI on, new findings alone. Fingerprints survive line shifts and reformatting.
kashif . --write-baseline .vulnscan-baseline.json
kashif . --baseline .vulnscan-baseline.json --fail-on high
Audit profile
For security reviews, --audit also lists every dangerous call (eval, shell, SQL, pickle…) that dataflow analysis could not prove reachable, so reviewers see the whole attack surface.
kashif . --audit -f html -o review.html
Reports for the tools you use
SARIF is validated against the OASIS 2.1.0 schema and opens in GitHub and VS Code; exports go to DefectDojo, SonarQube, GitLab, Code Climate, Jira, GitHub Issues, AWS Security Hub and more. Every finding carries a stable fingerprint.
The same findings as the CLI, in VS Code and any LSP editor: severity, CWE and the cross-file data-flow trail on hover, with quick fixes to apply a verified fix, suppress a finding or add it to the baseline. Offline; nothing leaves your machine.
The engine is never tuned to benchmark files: no test-case names, paths or expected results are encoded anywhere. Rules model real library APIs.
Where false-positive rates are high (Python path traversal, XSS and redirects; Java XSS), the gap is reported as measured: those cases need deeper value tracking, and that is where work continues.
Each suite is scanned whole, as one application (the Python repository, the Java src/main tree), with the default profile, exactly as you would scan your own code.
Java rose from 76.3% to 98.3% in 1.0 through two general call-resolution fixes, and an independent audit found no Benchmark-specific code: a fully renamed copy scores the same. The Benchmark is synthetic, so read the score as evidence of how the engine reasons, not as accuracy on your code. Scores come from the project's own scorer (bench/score_owasp.py) using OWASP's method.
On real code: across the 35 open-source projects (of 38) that 0.9 could finish, 1.0 reports 2,607 findings instead of 17,228, and 783 critical or high instead of 4,345. Half of 0.9's findings were in test, docs and example code.
Compare
How Kashif compares, honestly.
The established tools are excellent. Here is where each one is strong, and where Kashif fills a gap.
Comparison of Kashif with other security scanners
Capability
Kashif
Semgrep
SonarQube
Snyk Code
CodeQL
Bandit
Trivy
Dataflow (taint) analysis
12 languages
Pro (cross-file)
Deepest
AST only
Rule and library-model breadth
Growing
Large
Large
Large
Large
Python only
IaC and config
IDE and pull-request integrations
VS Code, LSP, PR comments
Limited
Years of real-world tuning
New
Runs fully local, no account
Community Edition
Self-hosted server
Cloud account
CLI
Runtime dependencies
None
Binary
Java + database
CLI + account
CLI bundle
pip
Binary
Oracle APEX and PL/SQL
Code + dataflow
PL/SQL (commercial)
Archives, APK and JAR
With jadx
Images and artifacts
Passive web scanning
Separate product
Local web UI
Built in
Cloud app
Self-hosted server
Cloud app
On GitHub
Arabic interface and reports
Price
Free (MIT)
Free tier + paid
Free tier + paid
Free tier + paid
Free for public repos
Free
Free
YesPartialNo
Where the established tools lead
Semgrep, SonarQube, Snyk Code and CodeQL have far more rules and library models, IDE and pull-request integrations, and years of tuning on real codebases. If you already run them, keep them.
Where Kashif fits
Fully local with zero dependencies, Oracle APEX and PL/SQL, archives and Android apps, passive web checks and an Arabic interface in one tool. It can also merge Semgrep, Bandit, gitleaks and npm audit results into its dashboard.
Known limitations
Static analysis does not replace human review or penetration testing.
Far fewer library models than the established tools, and less tuning on large real-world codebases.
Not yet modeled: templates other than Jinja (EJS, ERB) and values passed between PHP files through include.
Without jadx, APK and JAR contents are scanned as text only.
A passive web scan sees anonymous pages only and does not test injection, XSS, authentication, access control or business logic; its grade measures configuration hygiene, not the absence of vulnerabilities.
Security and supply chain
Verify every byte you run.
A security tool should meet the bar it sets. Every release is built in GitHub Actions and ships with the evidence you need to check it.
SLSA build provenance
Signed attestations prove each binary was built from this repository by its release workflow.
CycloneDX SBOM
A software bill of materials ships with every release as kashif-sbom.cdx.json.
SHA-256 checksums
SHA256SUMS.txt lets you confirm that every download is intact.
Hardened CI
Every GitHub Action is pinned by commit SHA with least-privilege tokens, monitored by OpenSSF Scorecard and Dependabot.
No dependency tree
Standard library only: nothing is pulled in at install or run time, so there is no transitive supply chain to attack.
Private disclosure
Report vulnerabilities privately through GitHub, as described in our security policy.
Verify a download
# 1. Check the file against the published checksums
sha256sum -c SHA256SUMS.txt --ignore-missing
# 2. Verify the signed SLSA build provenance (GitHub CLI)
gh attestation verify kashif-linux-x86_64 \
--repo abdulrahmanahmedelabed-prog/vulnscan
An installer for Windows and single-file programs for every system. Run Kashif with no arguments to open the web UI, or pass a path to scan from the command line.
Easiest: Homebrew or the one-command install below (no quarantine step). If you downloaded the file in a browser, remove the quarantine flag once before the first launch:
Every release has the same files. Most people need just one: the file for their system above.
kashif-setup.exeWindowsInstaller. Adds Kashif to the Start menu and to PATH (you can untick it), and uninstalls from Windows Settings. The one to pick on Windows.
kashif-windows-x86_64.exeWindowsThe same program as a single portable file; nothing is installed. For a USB stick, a PC where you cannot install, or CI.
kashif-linux-x86_64LinuxSingle-file program for 64-bit Linux. Make it executable and run it.
kashif-vscode.vsixVS CodeExtension that shows findings inside VS Code as you work. Install Kashif first (it must be on PATH), then in VS Code: Extensions → ⋯ → Install from VSIX.
SHA256SUMS.txtThe SHA-256 checksum of every file, to confirm a download is intact.
kashif-sbom.cdx.jsonSoftware bill of materials (CycloneDX): everything Kashif is built from.
vulnscan-*The same programs under Kashif's old name, kept so versions before 1.0 can update themselves. You don't need them.
Install with one command
Downloads the release for your machine, verifies its SHA-256 before installing, and puts kashif on your PATH (vulnscan still works as an alias). On macOS no quarantine step is needed.
# macOS and Linuxcurl -fsSL https://abdulrahmanahmedelabed-prog.github.io/vulnscan/install.sh | sh
# Homebrewbrew tap kashif/vulnscan https://github.com/abdulrahmanahmedelabed-prog/vulnscan && brew install kashif
# Windows (PowerShell)irm https://abdulrahmanahmedelabed-prog.github.io/vulnscan/install.ps1 | iex
Or install with pip
Python 3.10 or later. No runtime dependencies are installed.
pip install git+https://github.com/abdulrahmanahmedelabed-prog/vulnscan
kashif ui # web UI on 127.0.0.1:8765
kashif ./project -f sarif -o out.sarif # CLI
Scan only what you own or are authorized in writing to test. Scanning other people's systems without permission may be illegal.
FAQ
Questions, answered.
Is Kashif free?Does Kashif upload my code?Can it run offline or in an air-gapped network?How accurate is it?Which languages and targets are supported?How do I use it in CI?How does it compare with Semgrep, SonarQube, Snyk Code or CodeQL?Is a web scan safe to run against my live site?How do I report a security issue in Kashif?
Start scanning in a minute.
Download one file, point it at a project or at a site you are authorized to test, and read a report ordered from critical to info, with the evidence behind every finding.