Docker Compose + FastAPI + SQLite, Frontend ohne Build-Schritt. - Scanarten: SAST (eigene Regeln), SCA (Manifeste, OSV/NVD, npm/pip), Secrets (mit Maskierung), Web (aktive HTTP-Pruefungen) - Fremdwerkzeuge angebunden: nuclei, Gitleaks, Trivy, Bandit, Semgrep - Ausgabe als JSON, Markdown, HTML, PDF, SARIF und SBOM - Anmeldung mit Rollen (admin/nutzer/betrachter), API-Token, Historie - Harte Regeln: Allowlist-Pflicht, Token-Bucket je Host, nur lesende Anfragen, Docker-Port nur auf 127.0.0.1 Start: docker compose up -d (danach http://127.0.0.1:8000) Selbsttest: docker exec pingognito python /app/backend/selftest.py
13 lines
411 B
JavaScript
13 lines
411 B
JavaScript
// Absichtlich verwundbare Beispielkonfiguration - nur fuer die lokale Verifikation.
|
|
const AWS_SECRET = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY';
|
|
const STRIPE_KEY = 'sk_test_EXAMPLEKEYEXAMPLEKEYEXAMPLE';
|
|
|
|
const config = {
|
|
apiKey: 'EXAMPLEEXAMPLEEXAMPLEEXAMPLE1234',
|
|
dbPassword: 'TestPasswort123!',
|
|
sessionSecret: '0123456789abcdef0123456789abcdef',
|
|
stripeKey: STRIPE_KEY,
|
|
};
|
|
|
|
module.exports = config;
|