AI-Driven Security Hardening for Any Codebase
Lagune은 AI 에이전트가 시스템 동작을 파악해 코드베이스를 자동 방어 강화
무료 웹사이트 보안 검사 도메인을 입력하면 sitecheck가 HTTPS 설정·보안 헤더·쿠키를 A~F 등급으로 평가합니다
Free website security check. Enter a domain and sitecheck grades its HTTPS setup, security headers and cookies from A to F.
보안Python · CSSGitHub @aleksandersarkezi온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Grades a website's security setup A–F. Runs as a public service on my own server with CI/CD, monitoring and alerts.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Live: sitecheck.aleksandersarkezi.com
A CLI tool that checks a website's security setup: response headers, TLS
certificate, cookies, and whether http:// actually redirects to https://.
Everything it does is a normal request a browser already makes when loading a
page. No scanning, no fuzzing, no probing for vulnerabilities. At the end you
get a score and a letter grade, A through F.
| Check | Why it matters |
|---|---|
| Strict-Transport-Security (HSTS) | Forces the browser to use HTTPS on every future visit. Without it, someone who types http:// or clicks an old link can be downgraded to plain HTTP by anyone on the network. |
| Content-Security-Policy (CSP) | Probably the single strongest defense against XSS. It locks down which scripts, styles, and resources a page is allowed to load. |
X-Frame-Options / CSP frame-ancestors | Stops the page from being loaded in someone else's <iframe>. Skip it and you're open to clickjacking. |
| X-Content-Type-Options | nosniff keeps the browser from guessing content types on its own, a trick that's been used to turn file uploads into executable scripts. |
| Referrer-Policy | Controls how much of the current URL leaks to other sites through the Referer header when a link gets clicked. Matters a lot if your URLs carry tokens or query params. |
| Permissions-Policy | Locks down camera, mic, geolocation, and similar browser features so an injected or third-party script can't just ask for them. |
| TLS certificate | Valid or not, who issued it, how many days are left before it expires (flags anything under 14 days), and which TLS version got negotiated. |
| HTTP → HTTPS redirect | Confirms plain http:// traffic actually gets upgraded, not just that the https:// version happens to work. |
| Server / X-Powered-By | Flags headers that hand an attacker a software version for free, saving them a lookup. |
| Cookies | Checks every Set-Cookie header for Secure, HttpOnly, and SameSite. |
Scoring logic lives in src/sitecheck/scoring.py,
kept separate from the networking code so it's testable on its own. A score
of 90+ is an A, 80+ a B, 70+ a C, 60+ a D, anything below that is an F.
Requires Python 3.11+.
pip install git+https://github.com/aleksandersarkezi/sitecheck.git
For local development:
git clone https://github.com/aleksandersarkezi/sitecheck.git
cd sitecheck
pip install -e ".[dev]"
sitecheck example.com
Check several sites from a file (one host per line, # for comments):
sitecheck -f urls.txt
Machine-readable output for scripting:
sitecheck example.com --json
Custom network timeout in seconds (default is 10):
sitecheck example.com --timeout 5
Use it as a CI gate, exits non-zero if any site scores below the given grade:
sitecheck example.com --fail-under C
$ sitecheck example.com
--------------------------------- example.com ---------------------------------
+-----------------------------------------------------------------------------+
| Check | Status | Details |
|---------------------------+--------+----------------------------------------|
| Strict-Transport-Security | FAIL | header missing: browsers may be |
| | | tricked into using plain HTTP |
| Content-Security-Policy | FAIL | header missing: no mitigation against |
| | | XSS/injection via content restrictions |
| Frame protection | FAIL | no X-Frame-Options and no CSP |
| | | frame-ancestors: page can be framed |
| | | (clickjacking risk) |
| X-Content-Type-Options | FAIL | header missing: browsers may |
| | | MIME-sniff responses |
| Referrer-Policy | WARN | header missing: full URLs (possibly |
| | | with sensitive query params) may leak |
| | | via Referer |
| Permissions-Policy | WARN | header missing: browser features |
| | | (camera, mic, geolocation, ...) are |
| | | not explicitly restricted |
| Server | INFO | reveals software name: 'cloudflare' |
| X-Powered-By | OK | header not present |
| Cookies | INFO | no cookies set |
| TLS Certificate | OK | issuer=SSL Corporation, expires in |
| | | 73d, TLSv1.3 |
| HTTP -> HTTPS redirect | FAIL | http:// does not redirect to HTTPS |
| | | (ended at http://example.com) |
+-----------------------------------------------------------------------------+
Score: 33/100 Grade: F
Colors and proper box-drawing characters show up automatically once your terminal supports them.
Besides the CLI, sitecheck runs as a small self-hosted service:
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗