Sample shop
Repository with typical mistakes
0/100Technical state
29 findings with high priority
- Security Check
- Privacy no results
- Legal Good
- Accessibility no results
This is what a result looks like in the dashboard. The report comes from the current version of rechtzeitig, run on the test cases of the open source project, and is built again with every new version.
Repository with typical mistakes
0/100Technical state
29 findings with high priority
Or set it up yourself with the workflow builder
rechtzeitig version 0.12.0
Technical risk hints with location, no legal advice.
| Status | Severity | Rule | Location |
|---|---|---|---|
| Failure | Severity: critical |
SEC-CLIENTKEY-001
Server keys and admin SDKs stay out of browser code What to do?Use admin SDKs and server keys only in server code (API route, server action, edge function). In the browser use the public key (Supabase anon, Stripe publishable) with row level security or server checks. Revoke keys that were shipped. |
firebase-next/app/admin/roles/page.tsx:4firebase-admin is the admin SDK with full access, for servers only. |
| Failure | Severity: critical |
SEC-CLIENTKEY-001
Server keys and admin SDKs stay out of browser code What to do?Use admin SDKs and server keys only in server code (API route, server action, edge function). In the browser use the public key (Supabase anon, Stripe publishable) with row level security or server checks. Revoke keys that were shipped. |
supabase-vite/src/integrations/supabase/admin.ts:6The Supabase service_role key bypasses row level security. |
| Failure | Severity: critical |
SEC-CLIENTKEY-001
Server keys and admin SDKs stay out of browser code What to do?Use admin SDKs and server keys only in server code (API route, server action, edge function). In the browser use the public key (Supabase anon, Stripe publishable) with row level security or server checks. Revoke keys that were shipped. |
supabase-vite/src/pages/AdminUsers.tsx:5supabase.auth.admin needs the service_role key. |
| Failure | Severity: critical |
SEC-SECRETS-001
No secrets in the repository What to do?Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables. |
django-app/mysite/settings.py:6Possible secret in an assignment (djan… (66 chars)) |
| Failure | Severity: critical |
SEC-SECRETS-001
No secrets in the repository What to do?Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables. |
env-template-leak/.env.example:5Possible secret in an assignment (re_6… (35 chars)) |
| Failure | Severity: critical |
SEC-SECRETS-001
No secrets in the repository What to do?Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables. |
env-template-leak/.env.example:6Possible secret in an assignment (5zJA… (44 chars)) |
| Failure | Severity: critical |
SEC-SECRETS-001
No secrets in the repository What to do?Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables. |
supabase-vite/.env.example:3Secret under a public prefix (ends up in the browser bundle) (VITE… (30 chars)) |
| Failure | Severity: critical |
SEC-SECRETS-001
No secrets in the repository What to do?Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables. |
supabase-vite/src/integrations/supabase/admin.ts:6Secret under a public prefix (ends up in the browser bundle) (VITE… (30 chars)) |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
contact-form/app/api/contact/route.ts:8SMTP_PASSWORD falls back to a fixed value when it is not set. |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
django-app/mysite/settings.py:6SECRET_KEY is the django-insecure- key from the project template. |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
flask-api/app.py:6SECRET_KEY falls back to a fixed value when it is not set. |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
go-service/main.go:16JWT_SECRET falls back to a fixed value when it is not set. |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
login-jwt/prisma/seed.ts:7A common demo password (admin, changeme, password123 ...) is set in the code. |
| Failure | Severity: high |
SEC-CRED-001
No default secrets or demo passwords in code What to do?Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password. |
login-jwt/src/auth/jwt.ts:3JWT_SECRET falls back to a fixed value when it is not set. |
| Failure | Severity: high |
SEC-DEBUG-001
No debug mode in production settings What to do?Turn debug mode off in production and control it with an environment variable that is off by default. |
django-app/mysite/settings.py:9DEBUG = True in Django settings shows stack traces and settings to every visitor. |
| Failure | Severity: high |
SEC-DEBUG-001
No debug mode in production settings What to do?Turn debug mode off in production and control it with an environment variable that is off by default. |
flask-api/app.py:17Flask debug mode: the interactive debugger runs code for anyone who reaches it. |
| Failure | Severity: high |
SEC-DEBUG-001
No debug mode in production settings What to do?Turn debug mode off in production and control it with an environment variable that is off by default. |
laravel-shop/config/app.php:5'debug' => true is fixed in config/app.php instead of read from APP_DEBUG. |
| Failure | Severity: high |
SEC-LLMKEY-001
AI API keys stay out of the browser What to do?Call AI providers only from the server (API route, server action, edge function) and store the key as a secret without a public prefix. Revoke a key that was already shipped. |
openai-chat-browser/.env.example:1VITE_OPENAI_API_KEY has a public prefix: its value is built into the browser bundle. |
| Failure | Severity: high |
SEC-LLMKEY-001
AI API keys stay out of the browser What to do?Call AI providers only from the server (API route, server action, edge function) and store the key as a secret without a public prefix. Revoke a key that was already shipped. |
openai-chat-browser/src/lib/openai.ts:1openai is imported in a file that runs in the browser; it needs the secret key there. |
| Failure | Severity: high |
SEC-LLMKEY-001
AI API keys stay out of the browser What to do?Call AI providers only from the server (API route, server action, edge function) and store the key as a secret without a public prefix. Revoke a key that was already shipped. |
openai-chat-browser/src/lib/openai.ts:4VITE_OPENAI_API_KEY has a public prefix: its value is built into the browser bundle. |
| Failure | Severity: high |
SEC-LLMKEY-001
AI API keys stay out of the browser What to do?Call AI providers only from the server (API route, server action, edge function) and store the key as a secret without a public prefix. Revoke a key that was already shipped. |
openai-chat-browser/src/lib/openai.ts:5dangerouslyAllowBrowser: true sends the API key from the browser. |
| Failure | Severity: high |
SEC-TLSOFF-001
Code verifies TLS certificates What to do?Keep certificate checks on. For own or internal certificates, add the CA (for example NODE_EXTRA_CA_CERTS, verify="/path/ca.pem") instead of turning the check off. |
contact-form/app/api/contact/route.ts:12rejectUnauthorized: false accepts any certificate. |
| Failure | Severity: high |
SEC-TLSOFF-001
Code verifies TLS certificates What to do?Keep certificate checks on. For own or internal certificates, add the CA (for example NODE_EXTRA_CA_CERTS, verify="/path/ca.pem") instead of turning the check off. |
flask-api/app.py:13verify is false: the request accepts any certificate. |
| Failure | Severity: high |
SEC-TLSOFF-001
Code verifies TLS certificates What to do?Keep certificate checks on. For own or internal certificates, add the CA (for example NODE_EXTRA_CA_CERTS, verify="/path/ca.pem") instead of turning the check off. |
go-service/main.go:20InsecureSkipVerify: true accepts any certificate. |
| Failure | Severity: high |
SEC-TLSOFF-001
Code verifies TLS certificates What to do?Keep certificate checks on. For own or internal certificates, add the CA (for example NODE_EXTRA_CA_CERTS, verify="/path/ca.pem") instead of turning the check off. |
laravel-shop/app/Services/PaymentClient.php:10CURLOPT_SSL_VERIFYPEER or VERIFYHOST is off. |
| Warning | Severity: high |
SEC-ENVEX-001
.env templates hold no real values What to do?Put only placeholders into templates (for example OPENAI_API_KEY=your-key-here). Revoke a real value right away and remove it from the git history. |
env-template-leak/.env.example:4DATABASE_URL is a connection URL with a password for a host that is not local. |
| Warning | Severity: high |
SEC-ENVEX-001
.env templates hold no real values What to do?Put only placeholders into templates (for example OPENAI_API_KEY=your-key-here). Revoke a real value right away and remove it from the git history. |
env-template-leak/.env.example:5RESEND_API_KEY has a value that looks like a real key (long, random, no placeholder). |
| Warning | Severity: high |
SEC-ENVEX-001
.env templates hold no real values What to do?Put only placeholders into templates (for example OPENAI_API_KEY=your-key-here). Revoke a real value right away and remove it from the git history. |
env-template-leak/.env.example:6NEXTAUTH_SECRET has a value that looks like a real key (long, random, no placeholder). |
| Warning | Severity: high |
SEC-SECRETS-002
.env files stay out of git What to do?Add .env to .gitignore; revoke committed values and remove them from the history. |
– |
| Warning | Severity: medium |
QUAL-CI-001
CI checks can fail the run What to do?Let check steps fail when they find errors; suppress known exceptions per rule or line, with a reason. |
ci-green/package.json:1|| true (or exit 0) after a check command hides its failure. |
| Warning | Severity: medium |
QUAL-TEST-001
Tests can fail What to do?Make each test check a property of the code that would differ when the code is wrong. Turn skipped and focused tests back on or delete them. |
tests-for-cart/package.json:1The test run succeeds when it finds no tests. |
| Warning | Severity: medium |
QUAL-TEST-001
Tests can fail What to do?Make each test check a property of the code that would differ when the code is wrong. Turn skipped and focused tests back on or delete them. |
tests-for-cart/src/cart.test.ts:7The assertion compares a constant with itself and can never fail. |
| Warning | Severity: medium |
QUAL-TEST-001
Tests can fail What to do?Make each test check a property of the code that would differ when the code is wrong. Turn skipped and focused tests back on or delete them. |
tests-for-cart/src/checkout.test.ts:31 test case, but no assertion in the file. |
| Warning | Severity: medium |
SEC-DEPS-003
Dependency updates are automated What to do?Set up Dependabot or Renovate for every ecosystem in use. |
Add .github/dependabot.yml with one entry per ecosystem: package-ecosystem "pip". |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
3 components from 3 lockfiles, written to rechtzeitig-sbom.cdx.json. |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
ci-green/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
contact-form/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
dashboard-mock/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
env-template-leak/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
firebase-next/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
laravel-shop/composer.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
login-jwt/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
openai-chat-browser/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
openai-chat-server/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
supabase-vite/package.json |
| Warning | Severity: low |
SEC-DEPS-002
Dependencies are locked and listed in an SBOM What to do?Commit a lockfile for every manifest; keep the SBOM with each release. The CRA covers products with digital elements made available in the EU, usually not pure web services. |
tests-for-cart/package.json |