rechtzeitig Startseite

Security

Headers, TLS, exposed files, committed secrets, vulnerable or invented packages, risky workflows and AI agent settings. 42 checks, most severe first. All groups: Checks.

SEC-AGENT-001

No credentials in AI agent and MCP config · critical · Repository · Art. 32 GDPR

  • How: Reads the agent instruction and config files listed in data/agent-files.yml (CLAUDE.md, AGENTS.md, .cursorrules, .mcp.json, .cursor/mcp.json, .vscode/mcp.json, .claude/settings.json, ...) line by line and flags keys matching the named patterns of data/secrets.yml (with their placeholder and entropy filters), literal values under credential keys (env, headers, KEY=value) and --api-key-style arguments; it leaves out ${VAR} references and placeholders (placeholder in data/agent-files.yml, also counting sequences in documentation examples), and literal values must meet the length and entropy limits in data/thresholds.yml; it shows only the key name and the length, never the value; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Revoke the key and replace it with a reference such as "env": {"API_KEY": "${API_KEY}"}, or set it as a shell environment variable. Agent files end up in the model's context and in every clone.
  • Sources: eur-lex.europa.eu, modelcontextprotocol.io, code.claude.com · reviewed 2026-11-09 · code

SEC-CLIENTKEY-001

Server keys and admin SDKs stay out of browser code · critical · Repository · Art. 32 GDPR

  • How: In files that run in the browser ("use client", Vue or Svelte components, src/ of a Vite app, server paths left out; client in data/code-paths.yml) looks for the patterns in data/insecure-code.yml: the Supabase service_role key or auth.admin, firebase-admin, the stripe server SDK or STRIPE_SECRET_KEY, and server secrets such as DATABASE_URL or JWT_SECRET; skipped without browser code. Secrets under a public prefix are left to security/secrets; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: 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.
  • Sources: eur-lex.europa.eu, supabase.com, firebase.google.com, docs.stripe.com, nextjs.org · reviewed 2026-11-09 · code

SEC-DBAI-001

Database rules do not open data to everyone · critical · Repository · Art. 32 GDPR

  • How: Splits supabase/**/*.sql into statements and follows create table in the public schema, enable and disable row level security and drop table in migration order, so the last statement about a table decides; looks for if true and test mode (request.time < timestamp.date(...)) in Firebase rules; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Enable row level security on every table and replace "if true" and test-mode rules with checks on the signed-in user.
  • Sources: eur-lex.europa.eu, supabase.com, firebase.google.com · reviewed 2026-11-03 · code

SEC-DBAI-002

The database the site uses is secured in the repository · critical · Repository + website · Art. 32 GDPR

  • How: Finds the Supabase and Firebase hosts in data/databases.yml among the site's requests and the URLs in its served code, then reads the repository's Supabase migrations and Firebase rules like security/database-rules: open tables or rules fail, a service used without rules in the repository gives info.
  • Fix: Enable row level security on every table in a migration, and keep Firebase rules without "if true" or test mode in the repository. Rules that live only in the dashboard cannot be checked.
  • Sources: eur-lex.europa.eu, supabase.com, firebase.google.com · reviewed 2026-11-08 · code

SEC-EXP-001

No private files are public · critical · Website · Art. 32 GDPR

  • How: Requests the file paths from data/probes.yml; a 200 whose body matches expect fails; gives info instead of no finding when a path got no answer.
  • Fix: Remove the files from the web server or block access to dot files and backups; change any credentials they contain.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-SECRETS-001

No secrets in the repository · critical · Repository · Art. 32 GDPR

  • How: Matches tracked files, including checked-out submodules, except the key and credential files that security/key-files reports from data/key-files.yml, line by line against the patterns in data/secrets.yml (many adapted from gitleaks), each only on lines with one of its keywords, decoding JWT payloads where a pattern names claims (Supabase service_role keys) and dropping finds below the entropy in data/thresholds.yml, with a placeholder word, or matching a documented example; a random-looking value under a name like secret, password or token is only a warning; nothing leaves the runner, and the report shows only the first 4 characters and the length of each find, and counts the files it could not read (binary, over the repo limit in data/thresholds.yml, Git LFS pointers); gives info instead of no finding when not a single file could be read or a file is over the repo limit or only a Git LFS pointer (binary files stay excluded).
  • Fix: Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-SECRETS-003

No secrets in the served JavaScript · critical · Repository + website · Art. 32 GDPR

  • How: Matches the HTML and scripts the site's own pages serve against the fail patterns in data/secrets.yml (Supabase service_role keys by their JWT claims; placeholders, documented examples and values below the entropy in data/thresholds.yml left out), showing only the first 4 characters and the length, then names the public-prefixed variables (NEXT_PUBLIC_, VITE_, ...) in the repository that likely put it there; files cut at the code limits in data/thresholds.yml give info, never no finding.
  • Fix: Revoke the key right away. Never read secret values through NEXTPUBLIC, VITE_, REACTAPP or similar prefixes; use them only on the server, for example in an API route.
  • Sources: eur-lex.europa.eu, supabase.com · reviewed 2026-11-08 · code

SEC-AGENT-002

No hidden characters in agent rules and source code · high · Repository · CRA Art. 13(1) with Annex I Part I(2)(f), integrity of programs and configuration (from 11 Dec 2027); Art. 32 GDPR

  • How: Reads agent instruction files (data/agent-files.yml) and source files and workflows (extensions in data/hidden-unicode.yml, test files left out) and flags, by the code point ranges in data/hidden-unicode.yml, bidirectional overrides and isolates (Trojan Source, CVE-2021-42574) and Unicode tag characters in both, and zero-width characters, directional marks and variation selector supplements in instruction files; a byte order mark at the start, a zero-width joiner between emoji and tags inside emoji flags are left out, and the hidden text is never shown; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Open the file in an editor that shows invisible characters, remove them and check who added them; the text may hold hidden instructions for the agent or reordered code.
  • Sources: eur-lex.europa.eu, nvd.nist.gov, unicode.org, unicode.org · reviewed 2026-11-09 · code

SEC-AGENT-004

AI agents in workflows do not read outside text with privileges · high · Repository · CRA Art. 13(1) with Annex I Part I(2)(d), protection against unauthorised access (from 11 Dec 2027); Art. 32 GDPR

  • How: Reads .github/workflows/*.yml and, for steps that run an AI agent (actions and command lines in data/workflow-risks.yml) under a trigger an outsider can start (issues, comments, pull_request_target, ...) without a member check in if:, flags outside-controlled ${{ github.event.* }} expressions (the untrusted list of data/workflow-risks.yml) in the step's with: or env:, as a failure when the step has secrets or the token may write, and allowed_non_write_users: "*", as a failure when the token may write one of the code_write_scopes; expressions inside run: are left to security/workflow-risks; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Do not put issue, comment or pull request text into the agent's prompt, or limit the job to members with if: (github.event.comment.author_association == 'MEMBER'); set permissions to contents: read and allow the agent only the tools it needs.
  • Sources: eur-lex.europa.eu, docs.github.com, code.claude.com · reviewed 2026-11-09 · code

SEC-CI-001

GitHub workflows do not run outside code with privileges · high · Repository · CRA Art. 13(1) with Annex I Part I, protection against unauthorised access (from 11 Dec 2027)

  • How: Reads .github/workflows/*.yml and flags, with the patterns in data/workflow-risks.yml, a checkout of the pull request head under pull_request_target or workflow_run, outside-controlled ${{ }} expressions in run: or script:, downloads piped into a shell, write-all, and workflows without permissions; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Hand values like github.event.issue.title to the script via env:; do not check out PR code under pull_request_target; set permissions: contents: read at the top of the workflow; download scripts, verify a checksum, then run them.
  • Sources: eur-lex.europa.eu, docs.github.com, docs.github.com · reviewed 2026-11-04 · code

SEC-CRED-001

No default secrets or demo passwords in code · high · Repository · Art. 32 GDPR

  • How: Matches code (languages and left-out paths in data/code-paths.yml, tests excluded) against data/insecure-code.yml: a secret environment variable with a literal fallback (process.env.JWT_SECRET ?? "secret", os.getenv("SECRET_KEY", "dev"), env('APP_KEY', '...'), ENV.fetch), Django's django-insecure- key and literal JWT or session secrets fail (a plain secret: whose value is the name of a secret variable, such as secret: "GITHUB_TOKEN", is a reference and left out); common demo passwords (admin123, changeme, ...) as password values warn. Only the variable name is shown; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Read secrets without a fallback and stop at startup when one is missing. Create demo accounts only in development seeds, with a random password.
  • Sources: eur-lex.europa.eu, cwe.mitre.org, cwe.mitre.org, cheatsheetseries.owasp.org · reviewed 2026-11-09 · code

SEC-DEBUG-001

No debug mode in production settings · high · Repository · Art. 32 GDPR

  • How: Matches settings, code, Dockerfiles and committed .env files (languages and left-out paths in data/code-paths.yml; tests, env templates and dev or local settings excluded) against data/insecure-code.yml: DEBUG = True in Django settings, APP_DEBUG=true, 'debug' => true in Laravel's config/app.php, consider_all_requests_local in Rails production and Spring actuator include=* fail; Flask debug=True, GraphQL introspection or console forced on, display_errors, gin.DebugMode and NODE_ENV=development in a Dockerfile warn; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Turn debug mode off in production and control it with an environment variable that is off by default.
  • Sources: eur-lex.europa.eu, cwe.mitre.org, docs.djangoproject.com, flask.palletsprojects.com, laravel.com, apollographql.com · reviewed 2026-11-09 · code

SEC-DEPS-001

No dependencies with known vulnerabilities · high · Repository · Art. 32 GDPR, CRA Annex I Part I(2)(a) and Part II(2) (from 11 Dec 2027)

  • How: Sends the package URLs of all locked components to the OSV API and loads details for up to 100 issues, showing the fixed version of the OSV range that contains the installed version (none when no range does); one finding per lockfile that locks the affected version; high and critical issues fail when any lockfile uses the package in production; gives info instead of no finding when a lockfile could not be read or a package file has no parser (data/ecosystems.yml).
  • Runs: only with vulnerabilities: true (sends data to api.osv.dev)
  • Fix: Update the affected packages to at least the fixed version shown.
  • Sources: eur-lex.europa.eu, osv.dev · reviewed 2026-11-04 · code

SEC-ENVEX-001

.env templates hold no real values · high · Repository · Art. 32 GDPR

  • How: Reads committed .env templates (.env.example, .env.sample, ..., in any letter case; templates in data/insecure-code.yml) and warns for a secret-named variable whose value has letters and digits, no placeholder word and at least the length and Shannon entropy in data/thresholds.yml, and for a connection URL with a password to a host that is not local; shows only the variable name, never the value. Known key formats are also found by security/secrets; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: 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.
  • Sources: eur-lex.europa.eu, cwe.mitre.org, cheatsheetseries.owasp.org · reviewed 2026-11-09 · code

SEC-EXP-004

No development server or debug build in production · high · Repository + website · Art. 32 GDPR

  • How: Looks for traces of a dev server or debug build (live in data/dev-builds.yml: Vite client, Next.js and webpack HMR, React and Vue development builds, Django DEBUG page, Werkzeug debugger), each only where and in the form the tool emits it (served scripts, HTML, request URLs or error probes), and for dev start commands in deploy files and package.json start scripts and debug switches in settings files (commands, settings there): both sides fail, only the site warns, only a deploy file gives info, and so does a served file of the site cut or not kept at the code limits in data/thresholds.yml.
  • Fix: Serve the production build (for example next build and next start, vite build with static hosting, gunicorn instead of runserver) and turn debug mode off (DEBUG=False, APP_DEBUG=false).
  • Sources: eur-lex.europa.eu, bsi.bund.de · reviewed 2026-11-09 · code

SEC-LLMKEY-001

AI API keys stay out of the browser · high · Repository · Art. 32 GDPR

  • How: Matches code and .env files, templates included (languages and left-out paths in data/code-paths.yml, tests excluded), against data/insecure-code.yml: dangerouslyAllowBrowser: true and AI provider keys under a public prefix (NEXT_PUBLIC_OPENAI_API_KEY, VITE_ANTHROPIC_KEY, ...) fail; a server AI SDK (openai, @anthropic-ai/sdk, @google/genai, ...) imported in a file that runs in the browser ("use client", Vue or Svelte component, src/ of a Vite app; client in data/code-paths.yml) warns; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: 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.
  • Sources: eur-lex.europa.eu, platform.openai.com, nextjs.org, vite.dev, cwe.mitre.org · reviewed 2026-11-09 · code

SEC-SECRETS-002

.env files stay out of git · high · Repository · Art. 32 GDPR

  • How: Lists committed .env* files, also with several suffixes like .env.production.local (templates in any letter case, such as .env.Example, and fixtures excluded), and checks that .gitignore ignores .env; a missing rule is a warning with an .env template, a note when a package manifest lies in any folder.
  • Fix: Add .env to .gitignore; revoke committed values and remove them from the history.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-SECRETS-004

Key and database files stay out of git · high · Repository · Art. 5(1)(f), Art. 32 GDPR

  • How: Matches the paths of tracked files against data/key-files.yml and decides by content where the file is text: a .pem, .key or id_rsa file with a private key block, a PuTTY .ppk with private lines, a service account JSON with private_key, an .npmrc, .yarnrc.yml or .pypirc with a literal token or password (not ${NPM_TOKEN}), and a Terraform state with resources fail; a binary .p12/.pfx, .sqlite/.db or pg_dump file and an SQL dump with rows (migration version rows alone excluded) warn; public keys, certificates without a key, test, example and template paths, fixtures and vendored code are left out; security/secrets skips the files found here, so each gives one finding; gives info instead of no finding when a dump, database or state file is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Remove the file from the repository and add it to .gitignore, revoke the keys and credentials it holds, and remove the file from the git history.
  • Sources: eur-lex.europa.eu, cwe.mitre.org, docs.github.com, docs.npmjs.com, developer.hashicorp.com · reviewed 2026-11-14 · code

SEC-TLS-001

Site uses HTTPS · high · Website · Art. 32 GDPR

  • How: Checks that the start page is HTTPS and that plain http:// redirects to HTTPS.
  • Fix: Enforce HTTPS and redirect http:// to https:// with a 301.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-TLS-002

TLS certificate is valid and current · high · Website · Art. 32 GDPR

  • How: Opens a TLS connection to the host and reads protocol, trust and expiry date of the certificate, warning 14 days before expiry (data/thresholds.yml).
  • Fix: Renew the certificate automatically (for example Let's Encrypt) and allow only TLS 1.2 and 1.3.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-TLSOFF-001

Code verifies TLS certificates · high · Repository · Art. 32 GDPR; BSI TR-02102-2 (certificate validation)

  • How: Matches code, scripts, workflows, Dockerfiles and .env files (languages and left-out paths in data/code-paths.yml, tests excluded) line by line against the patterns in data/insecure-code.yml that turn certificate checks off: rejectUnauthorized: false, NODE_TLS_REJECT_UNAUTHORIZED=0, verify=False, InsecureSkipVerify: true (unless the file sets VerifyPeerCertificate or VerifyConnection, Go's custom verification), CURLOPT_SSL_VERIFYPEER off, VERIFY_NONE, curl -k, wget --no-check-certificate; gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: 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.
  • Sources: eur-lex.europa.eu, bsi.bund.de, cwe.mitre.org · reviewed 2026-11-09 · code

SEC-AGENT-003

AI agents get no blanket permissions · medium · Repository · CRA Art. 13(1) with Annex I Part I(2)(b), (d) and (j), secure by default, protection against unauthorised access, limited attack surface (from 11 Dec 2027); Art. 32 GDPR

  • How: Reads the committed agent config files in data/agent-files.yml and warns on Claude Code rules that allow every shell command (Bash, Bash(*)), bypassPermissions, enableAllProjectMcpServers, Codex with approval_policy = "never" and danger-full-access, MCP servers started with npx, bunx, pnpm dlx or uvx without a fixed version, remote MCP servers over http:// outside localhost and filesystem servers given / or the home folder; in workflows, scripts, package.json and Dockerfiles it warns on flags that turn off every approval (--dangerously-skip-permissions, --yolo, ...); gives info instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: Allow only the commands the agent needs (such as "Bash(npm test)"), skip approvals only in a sandbox or container without secrets, start MCP servers with a fixed version (npx -y package@1.2.3) and connect remote MCP servers only over https://.
  • Sources: eur-lex.europa.eu, code.claude.com, code.claude.com, modelcontextprotocol.io, docs.npmjs.com · reviewed 2026-11-09 · code

SEC-DEPS-003

Dependency updates are automated · medium · Repository · CRA Annex I Part II(2) (from 11 Dec 2027), Art. 32 GDPR

  • How: Looks for .github/dependabot.yml (and which ecosystems it covers), Renovate config, or vulnerability scanners in workflows, as listed in data/update-tools.yml.
  • Fix: Set up Dependabot or Renovate for every ecosystem in use.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-04 · code

SEC-DNS-001

Domain is protected against email spoofing · medium · Website · Art. 32 GDPR

  • How: Reads the SPF TXT record of the registrable domain and the DMARC record at _dmarc.; flags missing ones, SPF that allows every server (+all, ?all) and DMARC p=none.
  • Fix: Publish SPF and DMARC records; a domain without mail needs only "v=spf1 -all" and "v=DMARC1; p=reject".
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-EXP-002

Error pages reveal no internals · medium · Website · Art. 32 GDPR

  • How: Requests the paths from data/probes.yml, searches the visible text of the error paths for the traces in data/leaks.yml, and the headers of the start page and every probed path for the version headers in data/leaks.yml (server only with a version number); gives info instead of no finding when no error page answered.
  • Fix: Turn off error output in production (for example display_errors=0, DEBUG=false) and remove version headers.
  • Sources: eur-lex.europa.eu, bsi.bund.de · reviewed 2026-11-04 · code

SEC-EXP-003

Source maps do not expose the repository's code · medium · Repository + website · Technical, no single law

  • How: Follows the sourceMappingURL of the site's own scripts (inline maps decoded, others requested on the same site up to code.max_maps in data/thresholds.yml) and matches each map's sources against the repository's files by their path endings (at least two parts, node_modules left out); a match warns, more so when the map carries sourcesContent; gives info instead of no finding when a map request got no answer, a script of the site was cut or not kept (code in data/thresholds.yml; third-party files do not count) or code.max_maps was reached.
  • Fix: Turn off source maps in the production build (Next.js productionBrowserSourceMaps, Vite build.sourcemap), or upload them to error tracking only and do not serve them. This matters most when the repository is private.
  • Sources: tc39.es · reviewed 2026-11-08 · code

SEC-HDR-002

Cookies use secure flags · medium · Website · Art. 32 GDPR

  • How: Checks Secure on every cookie set without login (HTTPS sites, and always with SameSite=None) and HttpOnly on cookies whose name looks like a session (data/cookies.yml); cookies of other sites only give info; gives info instead of no finding when a page did not load with JavaScript.
  • Fix: Set cookies with Secure; session cookies also with HttpOnly and SameSite=Lax.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-HDR-003

Scripts and stylesheets from other sites carry an integrity hash · medium · Website · Art. 32 GDPR

  • How: Lists <script src> and <link rel=stylesheet> elements in the HTML of the site's own pages (load without JavaScript, also where the load with JavaScript failed) that point to another site and have no integrity attribute; for services whose files change under the same URL (data/subresource-integrity.yml) it adds how to fix them without a hash.
  • Fix: Load fixed versions of other sites' files with integrity="sha384-…" and crossorigin="anonymous" (most CDNs show the hash), or host the file yourself. For services that change their file under the same URL, host a pinned copy or accept the risk knowingly.
  • Sources: eur-lex.europa.eu, w3.org, w3.org · reviewed 2026-11-11 · code

SEC-HDR-005

CORS does not share answers with credentials to any site · medium · Website · Art. 32 GDPR

  • How: Reads the response headers of the site's own pages, also those whose load with JavaScript failed, and fails when Access-Control-Allow-Credentials: true comes with Access-Control-Allow-Origin * or null; it sends no foreign Origin, so a server that mirrors any Origin is not detected.
  • Fix: Send Access-Control-Allow-Credentials only with a fixed list of trusted origins, never with * or null, and do not copy the Origin from the request unchecked. If the pages need no CORS, leave out both headers.
  • Sources: eur-lex.europa.eu, fetch.spec.whatwg.org, fetch.spec.whatwg.org · reviewed 2026-11-04 · code

SEC-HDR-006

Security headers from the repository reach the site · medium · Repository + website · Art. 32 GDPR

  • How: Reads the headers that vercel.json, firebase.json, netlify.toml, _headers and .htaccess set for every path, keeps the security headers in data/header-configs.yml, and compares them with the start page's response headers (CSP and Referrer-Policy also from <meta>): a header not sent warns, a different value gives info; nginx, next.config and helmet are not read.
  • Fix: Check that the config is deployed (right folder, right host) and that no proxy or CDN overrides the headers. Then deploy again.
  • Sources: eur-lex.europa.eu, w3.org · reviewed 2026-11-08 · code

SEC-SUPPLY-001

Dependencies are real, installed packages · medium · Repository · CRA Art. 13(5) (due diligence for third-party components) with Annex I Part I(2)(a) (from 11 Dec 2027)

  • How: Reads the direct registry dependencies of package.json, composer.json, pubspec.yaml, Cargo.toml and pyproject.toml (src/repo/manifests.ts, data/packages.yml) and warns on names the parsed lockfile of that manifest does not contain (never installed, so possibly made up by an AI assistant), and on names one typo away from a popular package or an unscoped copy of a scoped one (lists and allowed look-alikes in data/packages.yml, distance and minimum length in data/thresholds.yml), also in pinned requirements files; nothing is looked up in a registry; gives info instead of no finding when a lockfile could not be read.
  • Fix: Check each reported name on the registry's page (publisher, age, downloads), fix typos, then let the package manager rewrite the lockfile (npm install, composer update, cargo update, uv lock).
  • Sources: eur-lex.europa.eu, docs.npmjs.com, docs.npmjs.com · reviewed 2026-11-09 · code

SEC-SUPPLY-003

Packages come from verifiable sources · medium · Repository · CRA Art. 13(5) (due diligence for third-party components) with Annex I Part I(2)(f) (integrity of programs) (from 11 Dec 2027)

  • How: Reads the download source and hash of every package in the parsed lockfiles (src/repo/lockfiles.ts) and fails on sources over http:// without a hash, warns on package-lock.json, pnpm-lock.yaml and yarn.lock entries from a registry or tarball URL without integrity hash and on git sources without a full commit; warns on git dependencies in package.json, Cargo.toml, pubspec.yaml, pyproject.toml and requirements files that name a branch, tag or nothing instead of a commit (src/repo/manifests.ts); checks .npmrc, .yarnrc, .yarnrc.yml, requirements files and pip.conf line by line, failing on strict-ssl off, an http:// registry or trusted-host (patterns in data/install-sources.yml); fixture paths are left out; gives info instead of no finding when a lockfile or config could not be read.
  • Fix: Use only https:// registries and indexes, remove strict-ssl and trusted-host (add the CA for own certificates), pin git dependencies to a full commit hash, and let the package manager rewrite the lockfile so every entry has a hash.
  • Sources: eur-lex.europa.eu, docs.npmjs.com, docs.npmjs.com, pip.pypa.io, cwe.mitre.org · reviewed 2026-11-14 · code

SEC-TLS-003

No unencrypted resources on HTTPS pages · medium · Website · Art. 32 GDPR

  • How: Lists http:// requests made by pages of an HTTPS site; gives info instead of no finding when a page did not load with JavaScript.
  • Fix: Load every resource over https://.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-CVD-001

The project names a contact for vulnerabilities · low · Repository · CRA Annex I Part II(5) and (6), contact address and vulnerability disclosure (from 11 Dec 2027)

  • How: Looks for SECURITY.md in the root, .github/ or docs/ and for .well-known/security.txt anywhere outside test fixtures, whose Contact and Expires fields it reads; skips repositories without a package manifest in any folder outside fixtures.
  • Fix: Add SECURITY.md with a reporting channel (email or GitHub private vulnerability reporting) and a response time. A SECURITY.md in the organization's .github repository counts too, but is not visible here.
  • Sources: eur-lex.europa.eu, docs.github.com, rfc-editor.org · reviewed 2026-11-04 · code

SEC-CVD-002

security.txt names a contact for vulnerabilities · low · Website · Technical, no single law

  • How: Requests /.well-known/security.txt (in data/probes.yml) and reads its Contact and Expires fields.
  • Fix: Publish /.well-known/security.txt with Contact: (email or URL) and Expires: (at most a year ahead), and renew it before it expires.
  • Sources: rfc-editor.org · reviewed 2026-11-04 · code

SEC-CVD-003

The repository's security.txt is live · low · Repository + website · Technical, no single law

  • How: Reads the repository's .well-known/security.txt outside test fixtures and compares it with the one the site serves at /.well-known/security.txt (in data/probes.yml): not served, an expired live copy of a current file, or other Contact fields warn.
  • Fix: Ship the file with the build (for example from public/.well-known/) and deploy again, so site and repository name the same contact.
  • Sources: rfc-editor.org · reviewed 2026-11-08 · code

SEC-DEPS-002

Dependencies are locked and listed in an SBOM · low · Repository · CRA Annex I Part II(1) (from 11 Dec 2027)

  • How: Reads all lockfiles (src/repo/lockfiles.ts, up to the repo limit in data/thresholds.yml) for the SBOM the report writes to rechtzeitig-sbom.cdx.json, lists manifests without a lockfile in their folder or a parent folder, and never gives no finding when a lockfile gave nothing (too large, Git LFS pointer, invalid), when package files have no parser (data/ecosystems.yml) or when no component was found.
  • Fix: 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.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-04 · code

SEC-DEPS-005

GitHub Actions are pinned to a commit · low · Repository · CRA Art. 13(5), due diligence for third-party components (from 11 Dec 2027)

  • How: Reads uses: lines in .github/workflows/*.yml and lists actions neither pinned to a 40-character commit SHA nor recorded for that workflow in .github/workflows/actions.lock, reusable workflows without a SHA (the lockfile does not cover them) and docker:// images without a sha256 digest; gives info when the lockfile cannot be parsed, or instead of no finding when one of its files is over the repo limit in data/thresholds.yml or only a Git LFS pointer.
  • Fix: On github.com, create a workflow lockfile (.github/workflows/actions.lock) with gh actions-lock; elsewhere, such as GitHub Enterprise Server, use owner/action@<commit-sha> instead of a tag. Always pin reusable workflows by SHA and docker:// images by @sha256 digest. Dependabot keeps SHAs and lockfile entries current.
  • Sources: eur-lex.europa.eu, docs.github.com, docs.github.com · reviewed 2026-11-21 · code

SEC-DNS-002

www and non-www addresses both work · low · Website · Art. 32 GDPR

  • How: Requests the domain with www. added or removed and follows redirects.
  • Fix: Get a valid certificate for both addresses and redirect one to the other.
  • Sources: eur-lex.europa.eu · reviewed 2026-11-03 · code

SEC-HDR-001

Security headers are set · low · Website · Art. 32 GDPR

  • How: Reads the response headers of the start page (HSTS, CSP, X-Content-Type-Options, Referrer-Policy, frame protection), accepts CSP and Referrer-Policy from <meta> tags, which browsers apply too, and HSTS as given for top-level domains in data/hsts-preload.yml.
  • Fix: Set the missing headers in the web server or hosting. CSP and Referrer-Policy also work as <meta> tags; frame-ancestors and nosniff only work as headers.
  • Sources: eur-lex.europa.eu, w3.org, hstspreload.org · reviewed 2026-11-04 · code

SEC-HDR-004

Permissions-Policy and Cross-Origin-Opener-Policy are set · low · Website · Art. 32 GDPR

  • How: Reads the response headers of the start page for Permissions-Policy and a Cross-Origin-Opener-Policy other than unsafe-none, and names both when they appear only in <meta>, where browsers ignore them, or COOP only as report-only.
  • Fix: Set Permissions-Policy in the web server and turn off features the site does not use (for example camera=(), microphone=(), geolocation=()), plus Cross-Origin-Opener-Policy: same-origin, or same-origin-allow-popups when the site opens login or payment windows.
  • Sources: eur-lex.europa.eu, w3.org, html.spec.whatwg.org · reviewed 2026-11-04 · code

SEC-SUPPLY-002

Manifest and lockfile agree · low · Repository · CRA Art. 13(5) with Annex I Part II(1), an accurate SBOM (from 11 Dec 2027)

  • How: Warns on lockfiles of two package managers in one folder and a packageManager field that names another manager than the lockfile there (managers in data/packages.yml), and on dependencies of package.json and Cargo.toml whose locked versions no longer match the manifest: the specifier pnpm recorded, the descriptor in yarn.lock, or for package-lock.json and Cargo.lock a range none of the locked versions meets (src/repo/semver.ts); dependencies missing from the lockfile are left to security/hallucinated-packages; gives info instead of no finding when a lockfile next to a manifest could not be read, and skips when no manifest has a lockfile.
  • Fix: Pick one package manager and delete the other lockfiles; after each manifest change let the package manager rewrite the lockfile, and install in CI with npm ci, pnpm install --frozen-lockfile, yarn install --immutable or cargo build --locked.
  • Sources: eur-lex.europa.eu, docs.npmjs.com, doc.rust-lang.org · reviewed 2026-11-09 · code