<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/security/best-of/2026/04" -->

---
title: Best Security posts — April 2026 | daily.dev
description: The most upvoted Security posts from April 2026, curated by the daily.dev community.
canonical: https://daily.dev/tags/security/best-of/2026/04
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/security/best-of/2026/04
og:type: website
og:site_name: daily.dev
og:title: Best Security posts — April 2026 | daily.dev
og:description: The most upvoted Security posts from April 2026, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Security — April 2026

1. 1  
[](/posts/new-npm-supply-chain-attack-self-spreads-to-steal-auth-tokens-p3mykawe4 "New npm supply-chain attack self-spreads to steal auth tokens")  
Article  
![Avatar of bleepingcomputer](https://media.daily.dev/image/upload/s--as8nJ3qy--/f_auto,q_auto/v1774959951/logos/bleepingcomputer?_a=BAMAMiWQ0)BleepingComputer · 25w  
New npm supply-chain attack self-spreads to steal auth tokens  
A new self-propagating supply chain attack has been discovered in the npm ecosystem, targeting packages from Namastex Labs. The malware, found in 16 compromised packages, steals developer credentials including npm publish tokens, API keys, SSH keys, cloud service credentials, CI/CD secrets, and cryptocurrency wallet data from browsers. Once it finds npm publish tokens on a compromised system, it injects itself into every package that token can publish and republishes them with an incremented version number, enabling recursive worm-like spread. It also targets PyPI if Python credentials are found, making it a multi-ecosystem threat. Developers using the listed package versions should remove them immediately, rotate all secrets, and audit CI/CD pipelines for indicators of compromise.  
122  
17
2. 2  
[](/posts/github-has-a-malware-problem-uhdki0gty "GitHub has a malware problem")  
Video  
![Avatar of codingwithlewis](https://media.daily.dev/image/upload/s--St-eJIdL--/f_auto/v1728073102/logos/codingwithlewis)Coding with Lewis · 27w  
GitHub has a malware problem  
GitHub's trending page is being exploited by attackers who create repositories with legitimate-sounding names and purchase fake stars to lure developers into downloading malware. Researchers built Star Scout, which scanned six years of GitHub metadata and identified over 6 million suspicious fake stars by detecting ghost accounts and coordinated starring clusters. One group called Banana Squad published nearly 70 repos mimicking real Python security tools, hiding malicious code by padding it with hundreds of blank spaces to push it off-screen. A separate campaign compromised a single GitHub Action and put over 23,000 repositories at risk. The open source ecosystem's trust model is being systematically exploited at scale.  
107  
14
3. 3  
[](/posts/vim-has-a-0-day--4gcvjxjv9 "Vim Has A 0-Day????")  
Video  
![Avatar of primeagen](https://media.daily.dev/image/upload/s--J5-GjDeo--/f_auto/v1704628081/logos/primeagen.jpg)ThePrimeTime · 27w  
Vim Has A 0-Day????  
Claude AI discovered a remote code execution (RCE) vulnerability in Vim triggered by Vim's modeline feature, which allows files to embed and auto-execute editor commands on open. The exploit chains modeline commands to set up a tab panel expression that registers an autocommand, ultimately executing arbitrary shell commands when a malicious file is opened. A second vulnerability attributed to Emacs is also covered, but the author argues it's actually a Git fsmonitor config exploit — not an Emacs bug — that executes arbitrary scripts whenever git status is run inside a maliciously crafted repository. The author praises the Vim find as genuinely clever while criticizing the Emacs report as a misattributed bug that wastes maintainer time, drawing parallels to similar issues with cURL's HackerOne program.  
106  
5
4. 4  
[](/posts/open-source-security-at-astral-mfdglnhb3 "Open source security at Astral")  
Article  
![Avatar of astral-sh](https://media.daily.dev/image/upload/s--NI5d91BK--/f_auto,q_auto/v1774959974/logos/astral-sh?_a=BAMAMiWQ0)Astral · 27w  
Open source security at Astral  
Astral shares the security practices they use to protect their open source tools (Ruff, uv, ty) from supply chain attacks. Key areas covered include: hardening GitHub Actions CI/CD by banning dangerous triggers like pull\_request\_target, pinning all actions to commit SHAs, limiting permissions, and isolating secrets in deployment environments. For releases, they use Trusted Publishing to eliminate long-lived credentials, Sigstore-based attestations, immutable releases, and two-person approval gates. They also use GitHub Apps to safely handle tasks that GitHub Actions can't do securely, maintain dependency hygiene with Dependabot/Renovate plus cooldowns, and contribute financially and technically to upstream projects. The post includes shareable GitHub rulesets and practical recommendations for other maintainers.  
93  
2
5. 5  
[](/posts/summary-of-cve-2026-23869-acid9blwb "Summary of CVE-2026-23869")  
Article  
![Avatar of vercel](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/04cca7235cf84db092f24b7ba427b3e1)Vercel · 27w  
Summary of CVE-2026-23869  
A high-severity vulnerability (CVSS 7.5) tracked as CVE-2026-23869 affects React Server Components in Next.js 13.x through 16.x. A specially crafted HTTP request to any App Router Server Function endpoint can trigger excessive CPU usage upon deserialization, leading to Denial of Service. Vercel has deployed WAF mitigations to protect hosted projects automatically, but users must still upgrade to patched versions (15.5.15 or 16.2.3) as the WAF alone is not sufficient protection.  
76  
2
6. 6  
[](/posts/node-js-drops-bug-bounty-rewards-after-funding-dries-up-qmzs151ev "Node.js Drops Bug Bounty Rewards After Funding Dries Up")  
Article  
![Avatar of socketdev](https://media.daily.dev/image/upload/s---oEn9czC--/f_auto/v1716187892/logos/socketdev)Socket · 28w  
Node.js Drops Bug Bounty Rewards After Funding Dries Up  
Node.js has paused its bug bounty program after the Internet Bug Bounty (IBB) initiative, which funded it since 2016, was discontinued. The IBB, backed by companies like Microsoft and Facebook, stopped accepting new submissions on March 27 due to funding issues and a surge in AI-assisted vulnerability research that overwhelmed remediation capacity. Security reporting through HackerOne continues, but researchers will no longer receive financial rewards. The move mirrors cURL's recent decision to drop its bounty program after being flooded with low-quality AI-generated reports. The shift raises broader concerns about how critical open source infrastructure funds security work, as Node.js now relies on voluntary, goodwill-driven disclosure at a time when supply chain attacks and automated vulnerability discovery are increasing.  
52  
16
7. 7  
[](/posts/openclaw-is-not-for-enterprise-scale-dvmu3jlsi "Openclaw is not for enterprise scale")  
Article  
![Avatar of redpanda](https://media.daily.dev/image/upload/s--1R2EIDcb--/f_auto,q_auto/v1769934743/logos/redpanda)Redpanda · 26w  
Openclaw is not for enterprise scale  
Running AI coding agents like OpenClaw (a thinly veiled reference to Claude Code) in enterprise environments without proper security architecture is fundamentally unsafe. Sandboxing alone is insufficient because credentials are already inside the sandbox. A proper enterprise-grade agentic architecture requires four components: a gateway as a single choke point for all agent access with full observability and kill-switch capability, audit logs and full transcripts capturing reasoning chains and tool calls, a token vault that keeps credentials out-of-band so agents never directly hold secrets, and sandboxed compute with strictly limited network access routed through the gateway. Redpanda demonstrates this with their 'agentic gateway interface' (agi) CLI. The core principle: agents can't leak credentials they never possess.  
44  
1
8. 8  
[](/posts/sorry-windows-10-users--9fqdfizsh "Sorry Windows 10 Users...")  
Video  
![Avatar of christitustech](https://media.daily.dev/image/upload/s--4e28ySkK--/f_auto/v1710504019/logos/christitustech)Chris Titus Tech · 27w  
Sorry Windows 10 Users...  
A sysadmin with 25 years of experience revisits his earlier warnings about Windows 10 end-of-life security risks. After attempting to exploit an unpatched Windows 10 1607 instance using Metasploit and the EternalBlue/DoublePulsar exploit, he found it surprisingly difficult — largely because a secure, business-grade network with deep packet inspection blocked the attacks even when the OS firewall was disabled. He softens his previous stance: while updating is still recommended, unpatched Windows 10 is not as immediately exploitable as commonly feared, especially on a secure network. He recommends Windows 10 LTSC for legacy use cases and encourages users who dislike Windows 11 to consider switching to Linux.  
41  
6
9. 9  
[](/posts/net-and-net-framework-april-2026-servicing-releases-updates-ll5eeuuem ".NET and .NET Framework April 2026 servicing releases updates")  
Article  
![Avatar of dotnet](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f23eb59371bd4f07aeef64c4eef73266).NET Blog · 26w  
.NET and .NET Framework April 2026 servicing releases updates  
Microsoft has released the April 2026 servicing updates for .NET and .NET Framework, covering versions 10.0.6, 9.0.15, and 8.0.26\. The updates include fixes for five CVEs (CVE-2026-26171, CVE-2026-32178, CVE-2026-32203, CVE-2026-32226, CVE-2026-33116) along with non-security improvements. Changelogs are available for ASP.NET Core, the .NET runtime, Entity Framework Core, and WinForms.  
35  
1
10. 10  
[](/posts/introducing-reachability-for-php-ihrgyb73d "Introducing Reachability for PHP")  
Article  
![Avatar of socketdev](https://media.daily.dev/image/upload/s---oEn9czC--/f_auto/v1716187892/logos/socketdev)Socket · 25w  
Introducing Reachability for PHP  
Socket is launching experimental reachability analysis for PHP, enabling teams to determine which CVEs are actually exploitable in their specific codebase rather than triaging every advisory blindly. The engine uses function-level call graph analysis with both Tier 1 (against actual source code) and Tier 2 (pre-computed against dependency graph) modes. Key technical challenges addressed include PHP's \_\_call magic method dispatch (used in Laravel Facades, Doctrine proxies, PHPUnit mocks) and string-based class instantiation patterns used by Laravel, Symfony, and PHP-DI containers. A concrete example with CVE-2022-29248 in guzzlehttp/guzzle demonstrates how two apps on the same vulnerable Guzzle version get different verdicts based on whether they use cookie jar handling. The engine achieves over 90% accuracy on WordPress, PHPUnit, and Flysystem, and mid-to-high 80s on Twig and Espo, validated against dynamically observed call graphs.  
33
11. 11  
[](/posts/react2shell-on-tanstack-start--vvnjv1enk "React2Shell on TanStack Start?!?")  
Video  
![Avatar of jherr](https://media.daily.dev/image/upload/s--Fuk-ONjA--/f_auto/v1718349299/logos/jherr)Jack Herrington · 26w  
React2Shell on TanStack Start?!?  
TanStack Start's new React Server Components support does not expose apps to the React2Shell CVE that affects Next.js. Three key reasons explain why: TanStack Start routes server functions to module-specific URLs (not a predictable slash endpoint), only includes server function code when explicitly defined, and uses the Seroval data format instead of React's flight data format. Flight data's object reference traversal mechanism is the root cause of React2Shell, and Seroval avoids this attack vector entirely. Past CVEs against Seroval were permanently fixed without the single-payload attack surface that flight data has.  
32  
1
12. 12  
[](/posts/spring-boot-3-5-eol-the-cve-blind-spot-nobody-talks-about-yn8tlmgqi "Spring Boot 3.5 EOL — The CVE Blind Spot Nobody Talks About")  
Article  
![Avatar of foojayio](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/1820f6a6ae944760aa322b67ed85f848)Foojay.io · 26w  
Spring Boot 3.5 EOL — The CVE Blind Spot Nobody Talks About  
Spring Boot 3.5 reaches end of open-source support on June 30, 2026, but the real risk isn't the migration — it's what happens to CVE reporting afterward. Once a project goes EOL, security researchers stop filing reports against it, maintainers stop triaging, and the CVE pipeline dries up. Vulnerabilities don't disappear; they just stop being recorded. Bad actors exploit this gap by testing CVEs found in supported branches against EOL versions that will never receive patches. Spring Boot 2.7's post-EOL trajectory (e.g., CVE-2024-38807 with no open-source fix) illustrates the pattern. Teams still on 3.5 after June 2026 risk running what the author calls 'zombie dependencies' — technically present, functionally dead from a security standpoint, with scanners showing green while hidden vulnerabilities accumulate. The advice: assess the 3.5-to-4.0 migration scope now, before the silence sets in.  
31  
3
13. 13  
[](/posts/hacked-by-vim-auicci62u "Hacked by VIM")  
Video  
![Avatar of primeagen](https://media.daily.dev/image/upload/s--J5-GjDeo--/f_auto/v1704628081/logos/primeagen.jpg)ThePrimeTime · 25w  
Hacked by VIM  
A demonstration of a remote code execution (RCE) vulnerability in Vim triggered simply by opening a file. The exploit leverages Vim's modeline feature, which allows files to embed editor commands in the first or last few lines. While modelines are normally safe, a crafted file can execute arbitrary commands upon opening. Claude was used to discover this bug, and humorously, a similar RCE was also found in Emacs.  
55  
12
14. 14  
[](/posts/mythos-and-its-impact-on-security-ody5o5ri0 "Mythos and its impact on security")  
Article  
![Avatar of neilmadden](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/92aec33b48834e6eac6b2e257793f8ab)Neil Madden · 27w  
Mythos and its impact on security  
Anthropic's new Mythos model claims dangerous capabilities in finding security vulnerabilities. The author argues the hype is partially warranted but contextualizes the risk: costs of $10k-20k per vulnerability make it unlikely to be run broadly, and it's best viewed as a pentest add-on. A key insight is that Mythos succeeds largely because of oracles like AddressSanitizer that filter false positives — the same reason agentic AI coding works (type checkers, linters, test suites). Without oracles, LLM-based vulnerability finders drown in false positives. The author warns that AI tools won't fix the root causes of poor software security; real solutions require memory-safe languages, capability-based security, and slower, more deliberate development — not faster AI-assisted code generation.  
29
15. 15  
[](/posts/the-cathedral-and-the-catacombs-7s3qnwecg "The Cathedral and the Catacombs")  
Article  
![Avatar of nesbitt-io](https://media.daily.dev/image/upload/logos/placeholder.jpg)Andrew Nesbitt · 28w  
The Cathedral and the Catacombs  
A philosophical essay extending the classic 'Cathedral and Bazaar' metaphor by introducing a third element: the 'catacombs' — the transitive dependency graph that underlies all software projects regardless of their governance model. The author argues that while decades of discourse have focused on how software is built (cathedral vs. bazaar), almost no attention is paid to the unmapped, unaudited network of transitive dependencies that every project rests on. Drawing on real-world supply chain attacks like the xz backdoor and the event-stream incident, the piece makes the case that this dependency graph is load-bearing infrastructure that nobody designed as a whole, nobody audits holistically, and which represents a structural security risk independent of how well-governed the project above it is. AI coding agents are noted to worsen the problem by pulling in dependencies even more aggressively.  
28
16. 16  
[](/posts/announcing-istio-1-28-6-owytqdv8e "Announcing Istio 1.28.6")  
Article  
![Avatar of istio](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/istio)Istio · 27w  
Announcing Istio 1.28.6  
Istio 1.28.6 is a patch release focused on security fixes and bug corrections. Key additions include Helm v4 server-side apply support, authorized namespace configuration for debug endpoints, and CIDR blocking for JWKS URIs during JWT validation. Notable fixes address a webhook failurePolicy field ownership conflict during helm upgrade, serviceAccount regex matching in AuthorizationPolicy, Gateway API CORS origin parsing, istiod crash with ambient mode and multi-network configs, a retryBudget default percent bug (0.2% instead of 20%), missing size limits on gzip-decompressed WASM binaries, and a race condition causing h2 ping errors.  
26
17. 17  
[](/posts/composer-2-9-6-fixes-two-perforce-command-injection-vulnerabilities-1cyx9zwzx "Composer 2.9.6 Fixes Two Perforce Command Injection Vulnerabilities")  
Article  
![Avatar of ln](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ln)Laravel News · 26w  
Composer 2.9.6 Fixes Two Perforce Command Injection Vulnerabilities  
Composer 2.9.6 and 2.2.27 LTS have been released to patch two command injection vulnerabilities (CVE-2026-40261 and CVE-2026-40176) in the Perforce VCS driver. The first flaw affects the generateP4Command() method and can be triggered via malicious Perforce connection parameters in a root composer.json. The second affects syncCodeBase() and allows injection via a crafted source reference when installing dependencies from a compromised repository, even without Perforce installed. No exploitation in the wild has been detected. Users should run \`composer self-update\` immediately and prefer --prefer-dist installs to reduce exposure.  
25  
3
18. 18  
[](/posts/dependency-hygiene-wk2t5wl36 "Dependency Hygiene")  
Article  
![Avatar of stitcher](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/83a32fc89f9943f38951a2b360c0d3ec)stitcher.io · 28w  
Dependency Hygiene  
A PHP developer scanned 1554 Packagist projects and found that 229 (roughly 15%) include unnecessary polyfill or compatibility packages despite requiring a PHP version where those packages are no longer needed. The post raises questions about how carefully developers vet their dependencies, drawing parallels to recent NPM supply-chain attacks. The author sent PRs to all affected projects and reflects on whether the convenience of package managers has made developers too passive about what code they pull in.  
23
19. 19  
[](/posts/openclaw-gives-users-yet-another-reason-to-be-freaked-out-about-security-nncjkijgt "OpenClaw gives users yet another reason to be freaked out about security")  
Article  
![Avatar of arstechnica](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/80883e0e48a34b5ebcf93777016cb3fe)Ars Technica · 27w  
OpenClaw gives users yet another reason to be freaked out about security  
OpenClaw, a viral AI agentic tool with 347,000 GitHub stars, patched a critical privilege escalation vulnerability (CVE-2026-33579, CVSS 8.1–9.8). The flaw allowed any attacker with the lowest-level pairing permission to silently elevate themselves to full admin access with no user interaction required. For organizations using OpenClaw as a company-wide AI agent platform, this means an attacker could read all connected data sources, exfiltrate credentials, execute arbitrary tool calls, and pivot to other connected services — effectively a full instance takeover.  
21  
6
20. 20  
[](/posts/anthropic-secretly-installs-spyware-when-you-install-claude-desktop-that-privacy-guy--hqg8qmtpa "Anthropic secretly installs spyware when you install Claude Desktop — That Privacy Guy!")  
Article  
![Avatar of lobsters](https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg)Lobsters · 26w  
Anthropic secretly installs spyware when you install Claude Desktop — That Privacy Guy!  
Claude Desktop silently installs a Native Messaging bridge (com.anthropic.claude\_browser\_extension.json) into seven Chromium-based browsers on macOS — including browsers not installed on the machine and browsers Anthropic's own documentation says are unsupported. The bridge pre-authorizes three Chrome extension IDs to spawn an out-of-sandbox helper binary with access to authenticated browser sessions, DOM state, form fields, and screen capture. The install happens without user consent, is re-written on every Claude Desktop launch, and is logged internally under 'Chrome Extension MCP'. The author argues this constitutes spyware, violates EU ePrivacy Directive Article 5(3), and potentially breaches computer misuse laws. Eleven specific dark patterns are documented with forensic evidence including file timestamps, MD5 hashes, macOS provenance attributes, and Claude's own log files.  
20  
5
21. 21  
[](/posts/we-re-hacking-pdfs-again--4geytf8to "we're hacking PDFs again?")  
Video  
![Avatar of lowlevellearning](https://media.daily.dev/image/upload/s--pjLyMMmx--/f_auto/v1724394406/logos/lowlevellearning)Low Level Learning · 25w  
we're hacking PDFs again?  
A zero-day vulnerability in Adobe Acrobat Reader has been actively exploited since September, leveraging the PDF JavaScript engine to perform sandbox escapes. The malware uses obfuscated JavaScript embedded in PDFs, exploits Adobe's RSS feed functionality to make outbound network requests (bypassing sandbox restrictions), and fingerprints the victim's Windows version by reading ntdll.dll before fetching a targeted exploit payload from a remote server. Adobe confirmed an active critical RCE vulnerability in a security bulletin on April 12th. Users are advised to avoid opening untrusted PDFs and to monitor for suspicious network patterns including language, platform, and viewer version data in outbound requests.  
24  
1
22. 22  
[](/posts/introducing-our-open-source-ai-native-sast-ufkhzq6e7 "Introducing our open source AI-native SAST")  
Article  
![Avatar of datadog](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8f9d7e3e4bd64bd7b9db9b2ea83e0c6a)Datadog · 27w  
Introducing our open source AI-native SAST  
Datadog has open sourced an AI-native Static Application Security Testing (SAST) tool that uses LLMs to detect code vulnerabilities with greater accuracy than traditional rule-based approaches. The tool works in four steps: heuristic-based file identification, context retrieval, LLM-based analysis, and post-processing with false-positive filtering. To manage cost, it performs a full scan at onboarding and then only rescans files when their content or context changes. Benchmarked against the OWASP framework, the AI-native solution significantly outperforms traditional SAST on context-dependent vulnerabilities like SQL injection (86% vs 63% true positive rate) and command injection (90% vs 59%). The codebase is available on GitHub, though incremental analysis requires a Datadog subscription. Future plans include exploring agentic scanning techniques for deeper contextual reasoning.  
16
23. 23  
[](/posts/more-dependency-considerations-rovszqxry "More dependency considerations")  
Article  
![Avatar of stitcher](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/83a32fc89f9943f38951a2b360c0d3ec)stitcher.io · 28w  
More dependency considerations  
Following up on a previous post about PHP dependency hygiene, the author responds to criticism from Paragon IE (makers of paragonie/sodium\_compat) who argued that removing sodium\_compat from PHP 7.2+ projects could leave some users vulnerable. The author counters that systems explicitly opting out of ext-sodium are edge cases and that the responsibility for requiring a compat library should fall on those specific systems, not on upstream libraries. The core argument is that sodium\_compat was always meant to be a temporary shim, and the PHP community should prefer built-in extensions over PHP-based cryptographic polyfills for better dependency hygiene and security.  
16  
1
24. 24  
[](/posts/post-mortem-on-linear-security-incident-on-march-24th-2026-g0a41bh0u "Post mortem on Linear security incident on March 24th, 2026")  
Article  
![Avatar of linear](https://media.daily.dev/image/upload/s--ntgmTyoI--/f_auto/v1716187332/logos/linear)Linear · 28w  
Post mortem on Linear security incident on March 24th, 2026  
Linear published a post-mortem for a security incident on March 24, 2026, where a deployed code change introduced a variable shadowing bug in the access control layer. For approximately one hour (12:07–1:10 UTC), workspace members including guests could access data from private teams they weren't authorized to see. Exposure vectors included notification digest emails, client data sync (\~7,000 bootstraps), mobile app sessions, and API/third-party integrations. No data was exposed outside workspaces and no credentials were leaked. Linear reverted the change within an hour, force-cleared all client caches, logged out mobile sessions, and notified affected workspace admins within 48 hours. Remediation steps include expanded integration test coverage for permission boundaries, tighter pre-deployment security review for auth-related code, and improved monitoring for authorization anomalies.  
16
25. 25  
[](/posts/things-developers-get-wrong-about-the-backend-for-frontend-pattern-ryymmg37r "Things Developers Get Wrong About the Backend for Frontend Pattern")  
Article  
![Avatar of auth0](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6510ffa7350449618fbacdddae663b82)Auth0 · 25w  
Things Developers Get Wrong About the Backend for Frontend Pattern  
Common misconceptions about the Backend for Frontend (BFF) pattern are addressed, focusing on security implications. Key points: PKCE and BFF solve different problems and are complementary, not alternatives — PKCE protects the authorization code in transit while BFF keeps tokens out of the browser entirely. A true BFF is a confidential OAuth client, not just a reverse proxy forwarding tokens. HttpOnly cookies are not less secure than localStorage tokens — they trade XSS-based token theft for a more constrained CSRF attack surface. BFF doesn't automatically handle CSRF protection, session invalidation, secure cookie configuration, or API authorization. Finally, teams don't need a full rewrite — BFF can be introduced incrementally as an authentication layer without changing existing backend APIs.  
21

[See all Security archives](/tags/security/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/security/best-of/2026/04#page","url":"https://daily.dev/tags/security/best-of/2026/04","name":"Best Security Posts — April 2026","description":"The most upvoted Security posts from April 2026, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/security/best-of/2026/04#items","numberOfItems":25,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/new-npm-supply-chain-attack-self-spreads-to-steal-auth-tokens-p3mykawe4","name":"New npm supply-chain attack self-spreads to steal auth tokens"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/github-has-a-malware-problem-uhdki0gty","name":"GitHub has a malware problem"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/vim-has-a-0-day--4gcvjxjv9","name":"Vim Has A 0-Day????"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/open-source-security-at-astral-mfdglnhb3","name":"Open source security at Astral"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/summary-of-cve-2026-23869-acid9blwb","name":"Summary of CVE-2026-23869"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/node-js-drops-bug-bounty-rewards-after-funding-dries-up-qmzs151ev","name":"Node.js Drops Bug Bounty Rewards After Funding Dries Up"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/openclaw-is-not-for-enterprise-scale-dvmu3jlsi","name":"Openclaw is not for enterprise scale"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/sorry-windows-10-users--9fqdfizsh","name":"Sorry Windows 10 Users..."},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/net-and-net-framework-april-2026-servicing-releases-updates-ll5eeuuem","name":".NET and .NET Framework April 2026 servicing releases updates"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/introducing-reachability-for-php-ihrgyb73d","name":"Introducing Reachability for PHP"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/react2shell-on-tanstack-start--vvnjv1enk","name":"React2Shell on TanStack Start?!?"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/spring-boot-3-5-eol-the-cve-blind-spot-nobody-talks-about-yn8tlmgqi","name":"Spring Boot 3.5 EOL — The CVE Blind Spot Nobody Talks About"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/hacked-by-vim-auicci62u","name":"Hacked by VIM"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/mythos-and-its-impact-on-security-ody5o5ri0","name":"Mythos and its impact on security"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/the-cathedral-and-the-catacombs-7s3qnwecg","name":"The Cathedral and the Catacombs"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/announcing-istio-1-28-6-owytqdv8e","name":"Announcing Istio 1.28.6"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/composer-2-9-6-fixes-two-perforce-command-injection-vulnerabilities-1cyx9zwzx","name":"Composer 2.9.6 Fixes Two Perforce Command Injection Vulnerabilities"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/dependency-hygiene-wk2t5wl36","name":"Dependency Hygiene"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/openclaw-gives-users-yet-another-reason-to-be-freaked-out-about-security-nncjkijgt","name":"OpenClaw gives users yet another reason to be freaked out about security"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/anthropic-secretly-installs-spyware-when-you-install-claude-desktop-that-privacy-guy--hqg8qmtpa","name":"Anthropic secretly installs spyware when you install Claude Desktop — That Privacy Guy!"},{"@type":"ListItem","position":21,"url":"https://daily.dev/posts/we-re-hacking-pdfs-again--4geytf8to","name":"we're hacking PDFs again?"},{"@type":"ListItem","position":22,"url":"https://daily.dev/posts/introducing-our-open-source-ai-native-sast-ufkhzq6e7","name":"Introducing our open source AI-native SAST"},{"@type":"ListItem","position":23,"url":"https://daily.dev/posts/more-dependency-considerations-rovszqxry","name":"More dependency considerations"},{"@type":"ListItem","position":24,"url":"https://daily.dev/posts/post-mortem-on-linear-security-incident-on-march-24th-2026-g0a41bh0u","name":"Post mortem on Linear security incident on March 24th, 2026"},{"@type":"ListItem","position":25,"url":"https://daily.dev/posts/things-developers-get-wrong-about-the-backend-for-frontend-pattern-ryymmg37r","name":"Things Developers Get Wrong About the Backend for Frontend Pattern"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Security","item":"https://daily.dev/tags/security"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/security/best-of"},{"@type":"ListItem","position":5,"name":"April 2026"}]}]}
```

