{"slug":"web-security","group":"security","title":"Bezpieczeństwo aplikacji webowych","short":"OWASP Top 10 w praktyce: XSS, wstrzykiwanie, CSRF, nagłówki bezpieczeństwa i CSP.","icon":"shield-alert","aliases":["OWASP","OWASP Top 10","XSS","CSRF","SQL injection","bezpieczeństwo aplikacji webowych"],"order":951,"status":"available","articleCount":4,"groupTitle":"Cyberbezpieczeństwo","intro":"","servedLang":"pl","primaryArticle":{"id":"6b09a4bfff996234422a274c","slug":"security-headers-and-csp","title":"Nagłówki bezpieczeństwa i CSP – nonce, strict-dynamic, report-only, HSTS, Permissions-Policy i CORS w Express, NestJS i CloudFront","summary":"Konfigurujemy nagłówki bezpieczeństwa sklepu pierogarni – Content Security Policy z nonce i strict-dynamic wdrażaną najpierw w trybie report-only, HSTS z preload, ochronę przed osadzaniem w ramkach, Referrer-Policy, Permissions-Policy i CORS bez „gwiazdki”. Helmet w Express i NestJS, polityka nagłówków w CloudFront dla statycznej SPA, prawdziwe zrzuty nagłówków, interaktywny kreator CSP i narzędzia do testowania.","servedLang":"pl","availableLangs":["pl","en"],"topics":["web-security","express","nestjs"],"techs":["node","typescript","javascript"],"tags":["csp","content-security-policy","nonce","strict-dynamic","hsts","cors","helmet","permissions-policy","referrer-policy","clickjacking","cloudfront","security-headers"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":12,"stats":{"views":0,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:51.458Z","updatedAt":"2026-11-27T15:41:51.508Z","challengeCount":0,"quizCount":0},"articles":[{"id":"6b09a4b7ff996234422a26ce","slug":"owasp-top-10-in-practice","title":"OWASP Top 10:2025 w praktyce – podatny i poprawiony kod w Node.js, Express i React (z działającymi przykładami XSS)","summary":"Przechodzimy przez aktualną listę OWASP Top 10:2025 na przykładzie sklepu internetowego pierogarni – dla każdej kategorii realny błąd w Node.js/Express albo React i jego poprawka. IDOR i SSRF (teraz w A01), błędna konfiguracja, łańcuch dostaw, kryptografia, SQL i NoSQL injection z działającym demo, XSS w dwóch interaktywnych placach zabaw, wady projektu, uwierzytelnianie, integralność (SRI), logowanie zdarzeń bezpieczeństwa i obsługa wyjątków „fail closed”.","servedLang":"pl","availableLangs":["pl","en"],"topics":["web-security","api-security","react","express"],"techs":["node","typescript","javascript"],"tags":["owasp-top-10","owasp-2025","xss","sql-injection","nosql-injection","ssrf","idor","broken-access-control","supply-chain","dompurify","sri","react","express"],"level":"intermediate","kind":"tutorial","access":"public","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":18,"stats":{"views":0,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:43.532Z","updatedAt":"2026-11-27T15:41:43.579Z","relation":{"position":0,"primary":true,"mainTopic":null}},{"id":"6b09a4b5ff996234422a26a4","slug":"devsecops-pipeline","title":"Pipeline DevSecOps w GitHub Actions – modelowanie zagrożeń, SAST (Semgrep, CodeQL), SCA (npm audit, OSV), SBOM CycloneDX, Trivy, DAST i aktualizacje zależności","summary":"Budujemy w GitHub Actions pipeline, który sprawdza bezpieczeństwo sklepu pierogarni przy każdym pull requeście – sekrety (gitleaks), analiza statyczna (Semgrep z własnymi regułami, CodeQL), zależności (npm audit, podpisy, dependency review), SBOM w formacie CycloneDX, skan obrazu i IaC (Trivy), DAST (ZAP) na stagingu oraz bezpieczne aktualizacje (Renovate, Dependabot z okresem karencji). Do tego modelowanie zagrożeń w planowaniu i zasady triage, żeby skanery pomagały, a nie przeszkadzały.","servedLang":"pl","availableLangs":["pl","en"],"topics":["secure-sdlc","web-security","secrets-management"],"techs":["node","typescript"],"tags":["devsecops","github-actions","sast","semgrep","codeql","sca","npm-audit","osv-scanner","sbom","cyclonedx","trivy","dast","zap","renovate","dependabot","threat-modeling","supply-chain"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":13,"stats":{"views":0,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:41.204Z","updatedAt":"2026-11-27T15:41:41.249Z","relation":{"position":1,"primary":false,"mainTopic":{"slug":"secure-sdlc","title":"DevSecOps i bezpieczny SDLC"}}},{"id":"6b09a4b3ff996234422a2688","slug":"aws-s3-bucket-security","title":"Bezpieczeństwo bucketów S3 – Block Public Access, polityki, KMS, TLS, Object Lock, OAC i presigned URL (CDK, JSON)","summary":"Zabezpieczamy buckety pierogarni warstwa po warstwie – Block Public Access i wyłączone ACL, polityka bucketu z wymuszeniem TLS, klucza KMS i perymetru organizacji, szyfrowanie SSE-KMS z Bucket Keys, wersjonowanie, MFA Delete i Object Lock, reguły cyklu życia, CloudFront z Origin Access Control, utwardzone presigned URL-e oraz logi, CloudTrail, Macie i GuardDuty. Kod w AWS CDK (TypeScript) i polityki JSON.","servedLang":"pl","availableLangs":["pl","en"],"topics":["aws-s3","aws-iam","web-security"],"techs":["typescript","node"],"tags":["aws","s3","bucket-policy","block-public-access","kms","sse-kms","object-lock","cloudfront-oac","presigned-url","cloudtrail","macie","guardduty","aws-cdk"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":16,"stats":{"views":0,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:39.894Z","updatedAt":"2026-11-27T15:41:39.944Z","relation":{"position":2,"primary":false,"mainTopic":{"slug":"aws-s3","title":"AWS S3"}}}],"challenges":[],"resources":[{"id":"6b0857c53c96f2d34d0b47c3","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=j9QmMEWmcfo","embedUrl":"https://www.youtube-nocookie.com/embed/j9QmMEWmcfo","title":"SSL, TLS, HTTPS Explained","description":"To get better at system design, subscribe to our weekly newsletter: https://bit.ly/3tfAlYD Checkout our bestselling System Design Interview books: Volume 1: https://amzn.to/3Ou7gkd Volume 2: https://amzn.to/3HqGozy ABOUT US: Covering topics and trends in large-scale system design, from the authors…","author":"ByteByteGo","thumbnailUrl":"https://i.ytimg.com/vi/j9QmMEWmcfo/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["system-design"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2022-12-08T16:30:04.000Z","popularity":91,"verifiedAt":"2026-11-26T10:55:10.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:07.480Z","updatedAt":"2026-11-26T16:01:07.480Z"},{"id":"6b0857c63c96f2d34d0b48dd","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=WvSVSbGo0wI","embedUrl":"https://www.youtube-nocookie.com/embed/WvSVSbGo0wI","title":"HTTP vs HTTPS Explained","description":"To get better at system design, subscribe to our weekly newsletter: https://bit.ly/3tfAlYD Checkout our bestselling System Design Interview books: Volume 1: https://amzn.to/3Ou7gkd Volume 2: https://amzn.to/3HqGozy ABOUT US: Covering topics and trends in large-scale system design, from the authors…","author":"ByteByteGo","thumbnailUrl":"https://i.ytimg.com/vi/WvSVSbGo0wI/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["system-design"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2026-08-12T15:00:38.000Z","popularity":68,"verifiedAt":"2026-11-26T10:54:48.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857bf3c96f2d34d0b42af","type":"article","provider":"web","url":"https://learn.microsoft.com/en-us/azure/architecture/patterns/gateway-offloading","embedUrl":null,"title":"Gateway Offloading Pattern","description":"Centralize shared capabilities, such as TLS termination and authentication, in a gateway to simplify backend services.","author":"Microsoft Azure Architecture Center","thumbnailUrl":"https://learn.microsoft.com/en-us/media/open-graph-image.png","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["azure","cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":61,"verifiedAt":"2026-11-26T11:07:50.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857c43c96f2d34d0b4753","type":"book","provider":"openlibrary","url":"https://openlibrary.org/works/OL19543758W","embedUrl":null,"title":"Agile Application Security: Enabling Security in a Continuous Delivery Pipeline","description":"","author":"Laura Bell, Michael Brunton-Spall, Rich Smith, Jim Bird","thumbnailUrl":"https://covers.openlibrary.org/b/id/8510263-L.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["book","security","devops"],"price":"paid","featured":false,"featuredOrder":0,"packageName":null,"source":"openlibrary","publishedAt":"2017-01-01T00:00:00.000Z","popularity":31,"verifiedAt":"2026-11-26T11:00:08.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:07.480Z","updatedAt":"2026-11-26T16:01:07.480Z"},{"id":"6b0857b13c96f2d34d0b32c6","type":"article","provider":"devto","url":"https://dev.to/james_anderson_h/prompt-injection-is-the-new-sql-injection-and-were-not-ready-4ea4","embedUrl":null,"title":"Prompt Injection Is the New SQL Injection (and We're Not Ready)","description":"In March 2026, a financial services company discovered that their customer-facing AI agent had been...","author":"James Anderson","thumbnailUrl":"https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs3naos2gu55mg9na6jui.png","durationSec":null,"lang":"en","topics":["prompt-engineering","ai-guardrails"],"techs":["general"],"tags":["databases","security","ai","agents","webdev"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"devto","publishedAt":"2026-09-27T05:32:50.000Z","popularity":65,"verifiedAt":"2026-11-26T10:55:12.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b09ab5e3c96f2d34d0bc215","type":"article","provider":"web","url":"https://owasp.org/www-project-threat-dragon/","embedUrl":null,"title":"OWASP Threat Dragon","description":"Free, open-source threat modelling tool (web and desktop): draw data-flow diagrams, apply STRIDE or LINDDUN and keep the threat model next to the code.","author":"OWASP Foundation","thumbnailUrl":"https://owasp.org/images/og/owasp-default.png","durationSec":null,"lang":"en","topics":["solution-architecture"],"techs":["general"],"tags":["threat-modeling","security","stride"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":60,"verifiedAt":"2026-11-27T15:40:00.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-27T16:10:06.319Z","updatedAt":"2026-11-27T16:10:06.319Z"},{"id":"6b0857cb3c96f2d34d0b4c1d","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=g5A4LaPxT-k","embedUrl":"https://www.youtube-nocookie.com/embed/g5A4LaPxT-k","title":"Secure AI: Integrating OWASP Principles in Machine Learning Model Development- Haritha Thilakarathne","description":"This talk was recorded at NDC Sydney in Sydney, Australia. #ndcsydney #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: https://ndcconferences.com https://ndcsydney.com/ Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media!…","author":"NDC Conferences","thumbnailUrl":"https://i.ytimg.com/vi/g5A4LaPxT-k/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["security","machine-learning","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2024-06-04T15:00:40.000Z","popularity":45,"verifiedAt":"2026-11-26T11:13:11.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"}],"resourceGroups":[{"type":"video","items":[{"id":"6b0857c53c96f2d34d0b47c3","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=j9QmMEWmcfo","embedUrl":"https://www.youtube-nocookie.com/embed/j9QmMEWmcfo","title":"SSL, TLS, HTTPS Explained","description":"To get better at system design, subscribe to our weekly newsletter: https://bit.ly/3tfAlYD Checkout our bestselling System Design Interview books: Volume 1: https://amzn.to/3Ou7gkd Volume 2: https://amzn.to/3HqGozy ABOUT US: Covering topics and trends in large-scale system design, from the authors…","author":"ByteByteGo","thumbnailUrl":"https://i.ytimg.com/vi/j9QmMEWmcfo/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["system-design"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2022-12-08T16:30:04.000Z","popularity":91,"verifiedAt":"2026-11-26T10:55:10.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:07.480Z","updatedAt":"2026-11-26T16:01:07.480Z"},{"id":"6b0857c63c96f2d34d0b48dd","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=WvSVSbGo0wI","embedUrl":"https://www.youtube-nocookie.com/embed/WvSVSbGo0wI","title":"HTTP vs HTTPS Explained","description":"To get better at system design, subscribe to our weekly newsletter: https://bit.ly/3tfAlYD Checkout our bestselling System Design Interview books: Volume 1: https://amzn.to/3Ou7gkd Volume 2: https://amzn.to/3HqGozy ABOUT US: Covering topics and trends in large-scale system design, from the authors…","author":"ByteByteGo","thumbnailUrl":"https://i.ytimg.com/vi/WvSVSbGo0wI/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["system-design"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2026-08-12T15:00:38.000Z","popularity":68,"verifiedAt":"2026-11-26T10:54:48.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857cb3c96f2d34d0b4c1d","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=g5A4LaPxT-k","embedUrl":"https://www.youtube-nocookie.com/embed/g5A4LaPxT-k","title":"Secure AI: Integrating OWASP Principles in Machine Learning Model Development- Haritha Thilakarathne","description":"This talk was recorded at NDC Sydney in Sydney, Australia. #ndcsydney #ndcconferences #developer #softwaredeveloper Attend the next NDC conference near you: https://ndcconferences.com https://ndcsydney.com/ Subscribe to our YouTube channel and learn every day: / @NDC Follow our Social Media!…","author":"NDC Conferences","thumbnailUrl":"https://i.ytimg.com/vi/g5A4LaPxT-k/hqdefault.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["security","machine-learning","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2024-06-04T15:00:40.000Z","popularity":45,"verifiedAt":"2026-11-26T11:13:11.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"}]},{"type":"article","items":[{"id":"6b0857bf3c96f2d34d0b42af","type":"article","provider":"web","url":"https://learn.microsoft.com/en-us/azure/architecture/patterns/gateway-offloading","embedUrl":null,"title":"Gateway Offloading Pattern","description":"Centralize shared capabilities, such as TLS termination and authentication, in a gateway to simplify backend services.","author":"Microsoft Azure Architecture Center","thumbnailUrl":"https://learn.microsoft.com/en-us/media/open-graph-image.png","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["azure","cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":61,"verifiedAt":"2026-11-26T11:07:50.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857b13c96f2d34d0b32c6","type":"article","provider":"devto","url":"https://dev.to/james_anderson_h/prompt-injection-is-the-new-sql-injection-and-were-not-ready-4ea4","embedUrl":null,"title":"Prompt Injection Is the New SQL Injection (and We're Not Ready)","description":"In March 2026, a financial services company discovered that their customer-facing AI agent had been...","author":"James Anderson","thumbnailUrl":"https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs3naos2gu55mg9na6jui.png","durationSec":null,"lang":"en","topics":["prompt-engineering","ai-guardrails"],"techs":["general"],"tags":["databases","security","ai","agents","webdev"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"devto","publishedAt":"2026-09-27T05:32:50.000Z","popularity":65,"verifiedAt":"2026-11-26T10:55:12.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b09ab5e3c96f2d34d0bc215","type":"article","provider":"web","url":"https://owasp.org/www-project-threat-dragon/","embedUrl":null,"title":"OWASP Threat Dragon","description":"Free, open-source threat modelling tool (web and desktop): draw data-flow diagrams, apply STRIDE or LINDDUN and keep the threat model next to the code.","author":"OWASP Foundation","thumbnailUrl":"https://owasp.org/images/og/owasp-default.png","durationSec":null,"lang":"en","topics":["solution-architecture"],"techs":["general"],"tags":["threat-modeling","security","stride"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":60,"verifiedAt":"2026-11-27T15:40:00.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-27T16:10:06.319Z","updatedAt":"2026-11-27T16:10:06.319Z"}]},{"type":"book","items":[{"id":"6b0857c43c96f2d34d0b4753","type":"book","provider":"openlibrary","url":"https://openlibrary.org/works/OL19543758W","embedUrl":null,"title":"Agile Application Security: Enabling Security in a Continuous Delivery Pipeline","description":"","author":"Laura Bell, Michael Brunton-Spall, Rich Smith, Jim Bird","thumbnailUrl":"https://covers.openlibrary.org/b/id/8510263-L.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["book","security","devops"],"price":"paid","featured":false,"featuredOrder":0,"packageName":null,"source":"openlibrary","publishedAt":"2017-01-01T00:00:00.000Z","popularity":31,"verifiedAt":"2026-11-26T11:00:08.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:07.480Z","updatedAt":"2026-11-26T16:01:07.480Z"}]}],"siblings":[{"slug":"web-security","title":"Bezpieczeństwo aplikacji webowych","icon":"shield-alert","status":"available","current":true},{"slug":"api-security","title":"Bezpieczeństwo API","icon":"lock-keyhole","status":"available","current":false},{"slug":"secrets-management","title":"Zarządzanie sekretami","icon":"vault","status":"available","current":false},{"slug":"secure-sdlc","title":"DevSecOps i bezpieczny SDLC","icon":"shield-ellipsis","status":"available","current":false}]}