frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: What a fullstack dev should know about security?

1•ah1508•51m ago
Hi all,

I am asked to help a fullstack dev team (Spring+Angular) to skill up in term of security.

I am skeptical about fullstack profiles, how many fullstack devs knows in depth display:flex and in the same time transaction isolation level ?

So as fullstack devs they are not supposed to become cyber-security experts in their company but since they don't have a cyber-security expert they must level up so they don't put their company at risk. Even if they hire one they must know all the basics that are related to development so they will be able to follow their cyber-security expert recommendations. They are not newbies, for instance they know about sql injection.

Here is my checklist (I'll help them to learn all of that), what to you think ? There will be half theory and half practice.

Introduction

  * Cryptography and security: two distinct domains.
  * Wording: hashing, encryption, key, certificate, signature, foward secrecy, CVC, zero thrust.
  * OWASP Top Ten 2025 and CWC Top 25 2025.
  * Security at the network level, security at the application level;
  * Tools to detect vulnerabilities: SAST, DAST et IAST ;
  * A few algorithms: SHA, AES, RSA, Elliptic curve encryption. Use cases and performances;
  * « Think like a hacker », case study: Spring4Shell (CVE-2022-22965).
Secure a REST API:

  * embedded webserver configuration:
    ◦ TLS activation (key generation, certificate, server configuration, handshake steps)
    ◦ limits on HTTP requests (headers size, parameters, body size, parts)
    ◦ unfair use mitigation (rate limiting, timeouts, virtual threads usage);
    ◦ log management
  * Authentication :
    ◦ password protection: hashing, salt, cost, algorithms (Bcrypt, Scrypt, Argon, Pbkdf2)
    ◦ cookie authentication
    ◦ token authentication (generation, signature, validation, revocations);
    ◦ hybrid authentication (Cookie + JWT) with token relay;
  * Attacks (XSS, CRSF, log injection, sql injection, authorization bypass...) and how to mitigate them;
  * Definition of a CORS policy;
  * Introduction to mutual TLS for internal calls between API (est-west traffic).
Encrypt data:

    * Keywords of encryption: confidentiality, authenticity, integrity, non-repudiation;
    * Description of a public key infrastructure, with or without KMS, with or without HSM.
    * Chicken and egg problem, key exchange with Diffie Hellman ;
    * Exchange of encrypted data with CMS (Cryptographic Message Syntax) ;
    * database encryption: file encryption or row level encryption.
Apply CI/CD best practices:

    * SBOM generation and upload on DependencyTrack;
    * scan as a step in the CI pipeline;
    * secrets management in production
        ◦ vault (Hashicorp vault) and/or Spring Cloud Config server ;
        ◦ decryption on application startup with Jasypt ;
        ◦ introduction to secret management with Kubernetes.
Secure an Angular SPA

    * hash SRI and content security policy (CSP) for script inclusion;
    * strict template checking;
    * data sanitization;
    * CSRF mitigation (involves the API and the Angular client);
    * guards configuration;
    * protection, usage and renewal of JWT.
    * ensure integrity of the HTTP Client.
I also think about subtle attacks that don't put a system down but can add load on the backend. Example: if sql pagination is done with offset and limit (rather than key based pagination) a HTTP request GET /items?offset=100000000&limit=10 (which is valid) will bring unexpected load on the database server if repeated often. Plus all the time lost in understanding the cause of this higher load. What is important in this example is: 1) use key based pagination, 2) detect suspicious activity (multiple http requests with very high offset is suspicious).

Do you think I forget something ? Thanks for your feedback !

Meowzip: Cat Logic Puzzle

https://apps.apple.com/my/app/meowzip-cat-logic-puzzle/id6793481043
1•nekodu•51s ago•0 comments

The Death of the Author

https://psychotechnology.substack.com/p/the-death-of-the-author
1•eatitraw•6m ago•0 comments

No Apple Pay, No Sale

https://blog.oxplot.com/no-apple-pay-no-sale/
1•oxplot•12m ago•0 comments

Airbus bows to remote working demands after series of strikes

https://www.theguardian.com/business/2026/aug/21/airbus-bows-remote-working-strikes
1•vrganj•14m ago•0 comments

Show HN: Froging AI – image and video models in one workflow

https://www.froging.ai
1•hashkitly•15m ago•0 comments

Daimon – Local Privacy LLM

https://github.com/ar0per0/Daimon
2•minirope•20m ago•0 comments

Ask HN: Will AI trigger mass IP protectionism in software?

2•zaksa•21m ago•1 comments

Procedural Grid Art

https://twentythreeoeight.com/
1•minosu•21m ago•0 comments

Show HN: World Sizer – A world map where area reflects population, GDP, and more

https://douwe.com/projects/worldsizer
1•dosinga•24m ago•1 comments

Chinese Gov issue warning: Don´t talk to aliens if you see one [video]

https://www.tiktok.com/@juliettheband/video/7676891956911295758
1•trilogic•25m ago•2 comments

Show HN: Ringdl2 – A lightweight Linux downloader in Rust using io_uring

https://github.com/infomaniac777/ringdl2/blob/master/README.md
1•infomaniac777•26m ago•2 comments

The Web-Search Latency Your Agent Pays

https://telem.ai/blog/latency-research
1•mohanz•27m ago•0 comments

Japan's music cafés are striking a chord abroad

https://www.economist.com/culture/2026/08/20/japans-music-cafes-are-striking-a-chord-abroad
2•andsoitis•30m ago•0 comments

Ask HN: Guess what makes SSH multiplexing physically impossible

1•logicallee•31m ago•0 comments

Ask HN: Any opinions on Muse Code over others?

1•senor_digimon•36m ago•0 comments

A Tale of Two Flink Autoscalers

https://netflixtechblog.com/a-tale-of-two-flink-autoscalers-e9f6a1b1492b?source=rss-c3aeaf49d8a4-...
1•sbulaev•39m ago•0 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
43•campuscodi•40m ago•7 comments

Things a Computer Scientist Rarely Talks About, by Donald E. Knuth

https://www.christiancentury.org/reviews/2011-04/things-computer-scientist-rarely-talks-about-don...
2•senor_digimon•41m ago•3 comments

Yomif Kejelcha regains world half marathon record with 56:51 in Buenos Aires

https://worldathletics.org/competitions/world-athletics-label-road-races/news/world-half-marathon...
1•wslh•43m ago•0 comments

Go Ahead, Sean Duffy. Let Your Daughter Go to Harvard

https://www.nytimes.com/2026/08/23/opinion/harvard-education-ideology-political-polarization.html
1•berkeleyjunk•43m ago•0 comments

Show HN: Rmp, a Subsonic music player for generating playlists on the fly

https://github.com/codesoap/rmp
3•codesoap•45m ago•0 comments

AwardMath – Award Travel Planner

https://awardmath.com
1•info-cast-hub•46m ago•0 comments

Soofi S 31.6B. German Open Moe Explained

https://kie.ai/blog/what-is-soofi-s-31-6b
1•pelasaco•48m ago•0 comments

Vibedecode

https://vibe-decode.com/
1•implexlabs•49m ago•1 comments

There is now over 2,100 hours of video evidence on Archive Genocide

https://archivegenocide.com/
4•34679•49m ago•0 comments

Ask HN: Is Apple Messages plugin for ChatGPT a privacy risk?

https://twitter.com/stevemoraco/status/2091194172917338520
3•taubek•50m ago•0 comments

Ask HN: What a fullstack dev should know about security?

1•ah1508•51m ago•0 comments

All Your Heroes Were on Drugs

https://medium.com/belover/all-your-heroes-were-on-drugs-b1eafd9adf50
1•andsoitis•51m ago•0 comments

The rise and fall of rationality in language (2021)

https://www.pnas.org/doi/10.1073/pnas.2107848118
2•mpweiher•53m ago•0 comments

Show HN: Ever Wanted to Call Codex from Claude Code? My Harness Orchestrator

https://github.com/ptmrio/harness-subagent
3•SPQRK•55m ago•0 comments