<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Security on Omid Farhang</title><link>https://omid.dev/tags/security/</link><description>Recent content in Security on Omid Farhang</description><image><title>Omid Farhang</title><url>https://omid.dev/images/bio-photo-150x150.jpg</url><link>https://omid.dev/images/bio-photo-150x150.jpg</link></image><generator>Hugo -- 0.165.0</generator><language>en-US</language><copyright>2026 Omid Farhang | All rights reserved.</copyright><lastBuildDate>Sat, 15 Aug 2026 23:50:00 +0330</lastBuildDate><atom:link href="https://omid.dev/tags/security/index.xml" rel="self" type="application/rss+xml"/><atom:link href="https://pubsubhubbub.appspot.com/" rel="hub"/><item><title>The Frontend Is a Privileged System Now</title><link>https://omid.dev/2026/08/15/the-frontend-is-a-privileged-system-now/</link><pubDate>Sat, 15 Aug 2026 23:50:00 +0330</pubDate><guid>https://omid.dev/2026/08/15/the-frontend-is-a-privileged-system-now/</guid><description>The browser is untrusted, but the system that builds and delivers the frontend is not. Install hooks, CI identities, and release credentials make frontend delivery a production trust boundary.</description></item><item><title>The AUR Is Frozen: Inside Arch's Third Supply-Chain Attack Wave</title><link>https://omid.dev/2026/08/10/aur-freeze-supply-chain-attack/</link><pubDate>Mon, 10 Aug 2026 12:00:00 +0330</pubDate><guid>https://omid.dev/2026/08/10/aur-freeze-supply-chain-attack/</guid><description>Arch Linux froze all AUR writes after a third supply-chain attack wave, then restored pushes and adoption on August 11 with review gates. Timeline, how Atomic Arch worked, and what to do on Manjaro and other Arch-derived distros.</description></item><item><title>Modern Auth Patterns for Angular Frontends (Beyond “Just Add JWT”)</title><link>https://omid.dev/2026/07/31/modern-auth-patterns-for-angular-frontends/</link><pubDate>Fri, 31 Jul 2026 00:40:00 +0330</pubDate><guid>https://omid.dev/2026/07/31/modern-auth-patterns-for-angular-frontends/</guid><description>Stop storing JWTs in localStorage. Use OIDC with a BFF or reverse proxy, short-lived server-side tokens, HttpOnly cookies, and Angular interceptors and guards that do not pretend to be your security boundary.</description></item><item><title>Why Client-Side Frameworks Need Security Updates</title><link>https://omid.dev/2026/07/29/why-client-side-frameworks-need-security-updates/</link><pubDate>Wed, 29 Jul 2026 00:41:00 +0330</pubDate><guid>https://omid.dev/2026/07/29/why-client-side-frameworks-need-security-updates/</guid><description>Browser frameworks still own sanitization, request protection, and SSR isolation. Three recent Angular CVEs show why framework patches are part of every client-side app’s security boundary.</description></item><item><title>Securing Angular PWAs in 2026</title><link>https://omid.dev/2026/07/22/securing-angular-pwas-in-2026/</link><pubDate>Wed, 22 Jul 2026 00:42:00 +0330</pubDate><guid>https://omid.dev/2026/07/22/securing-angular-pwas-in-2026/</guid><description>Security for Angular Progressive Web Apps: HTTPS and service worker scope, cache strategies that do not leak auth-dependent data, and offline sessions without raising XSS or CSRF risk.</description></item><item><title>Dependency Risk, SBOMs, and Automated Security for Angular</title><link>https://omid.dev/2026/07/18/dependency-risk-sboms-and-automated-security-for-angular/</link><pubDate>Sat, 18 Jul 2026 00:45:00 +0330</pubDate><guid>https://omid.dev/2026/07/18/dependency-risk-sboms-and-automated-security-for-angular/</guid><description>Build an SBOM and CI security pipeline for Angular monorepos: npm audit, ng update --dry-run, fail on high-severity CVEs, Dependabot/Snyk, and post summaries to Slack or Mastodon.</description></item><item><title>Content Security Policy (CSP) and Angular: Practical Patterns</title><link>https://omid.dev/2026/07/15/csp-and-angular-practical-patterns/</link><pubDate>Wed, 15 Jul 2026 00:50:00 +0330</pubDate><guid>https://omid.dev/2026/07/15/csp-and-angular-practical-patterns/</guid><description>Ship CSP for Angular without breaking the build: report-only first, nonces via autoCsp or ngCspNonce, nginx/Apache/Cloudflare headers, and a small scanner for inline handlers, eval, and other footguns.</description></item><item><title>Advanced Security Practices for Web Applications: Implementing CSP, HSTS, and SRI</title><link>https://omid.dev/2024/06/16/advanced-security-practices-for-web-applications-implementing-csp-hsts-and-sri/</link><pubDate>Sun, 16 Jun 2024 01:10:11 +0330</pubDate><guid>https://omid.dev/2024/06/16/advanced-security-practices-for-web-applications-implementing-csp-hsts-and-sri/</guid><description>&lt;p&gt;In today&amp;rsquo;s digital age, the security of web applications is of paramount importance. With cyber-attacks becoming increasingly sophisticated, web developers must implement robust security measures to protect their applications and users. This blog post explores three advanced security practices—Content Security Policy (CSP), HTTP Strict Transport Security (HSTS), and Subresource Integrity (SRI)—that can significantly enhance the security of web applications. We will delve into their implementation, use cases, and benefits, providing comprehensive guidance to help you secure your web applications effectively.&lt;/p&gt;</description></item><item><title>Linux Malware targets WordPress and common Plugins</title><link>https://omid.dev/2023/01/16/linux-malware-targets-wordPress-and-common-plugins/</link><pubDate>Sun, 15 Jan 2023 23:55:43 +0330</pubDate><guid>https://omid.dev/2023/01/16/linux-malware-targets-wordPress-and-common-plugins/</guid><description>&lt;p&gt;Doctor Web has discovered a malicious Linux program that hacks websites based on a WordPress CMS. It exploits 30 vulnerabilities in a number of plugins and themes for this platform. If sites use outdated versions of such add-ons, lacking crucial fixes, the targeted webpages are injected with malicious JavaScripts. As a result, when users click on any area of an attacked page, they are redirected to other sites.&lt;/p&gt;
&lt;h2 id="what-they-can-do"&gt;What they can do?&lt;/h2&gt;
&lt;p&gt;Upon their command, it is able to perform the following actions:&lt;/p&gt;</description></item><item><title>End of Microsoft Windows 7 security updates from today</title><link>https://omid.dev/2023/01/10/end-of-microsoft-windows-7-security-updates-since-jan10/</link><pubDate>Tue, 10 Jan 2023 17:56:31 +0330</pubDate><guid>https://omid.dev/2023/01/10/end-of-microsoft-windows-7-security-updates-since-jan10/</guid><description>&lt;p&gt;Starting today, January 10th, Windows 7 Enterprise and Professional operating systems will no longer receive security updates. Thus, computers that still run these OS will no longer be protected against critical vulnerabilities.&lt;/p&gt;
&lt;p&gt;Apart from the operating system itself, browsers (both Edge and third-party browsers), as well as services from other non-Microsoft vendors, such as NVIDIA, have confirmed that they have also stopped offering new security patches in Windows 7.&lt;/p&gt;
&lt;h3 id="actions-to-be-taken"&gt;Actions to be taken&lt;/h3&gt;
&lt;p&gt;You should upgrade your Microsoft Windows to newer versions, if your hardware does not support Windows 11, you may upgrade to Windows 10 or maybe consider switching to another Operation System like Linux.&lt;/p&gt;</description></item><item><title>Farewell Lastpass, We don't need more data breach</title><link>https://omid.dev/2022/12/29/farewell-lastpass-we-dont-need-more-data-breach/</link><pubDate>Thu, 29 Dec 2022 01:21:22 +0330</pubDate><guid>https://omid.dev/2022/12/29/farewell-lastpass-we-dont-need-more-data-breach/</guid><description>&lt;p&gt;You&amp;rsquo;ve heard it again and again: &lt;a href="https://omid.dev/2009/01/13/passwords/"&gt;You need to use a password manager to generate strong, unique passwords and keep track of them for you&lt;/a&gt;. And if you finally took the plunge with a free and mainstream option, particularly during the 2010s, it was probably LastPass. For the security service&amp;rsquo;s 25.6 million users, though, the company made &lt;a href="https://blog.lastpass.com/2022/12/notice-of-recent-security-incident/"&gt;a worrying announcement&lt;/a&gt; last week: A security incident the firm previously reported on November 30 was actually a massive and concerning data breach that exposed encrypted password vaults—the crown jewels of any password manager—along with other user data.&lt;/p&gt;</description></item><item><title>Cross-platform botnet targets SSH-enabled devices</title><link>https://omid.dev/2022/12/16/cross-platform-botnet-targets-ssh-enabled-devices/</link><pubDate>Mon, 12 Dec 2022 23:37:43 +0330</pubDate><guid>https://omid.dev/2022/12/16/cross-platform-botnet-targets-ssh-enabled-devices/</guid><description>&lt;p&gt;Microsoft researchers found a cross-platform botnet that originates from malicious software downloads on Windows devices &amp;amp; succeeds in propagating to a variety of Linux-based devices by enumerating default credentials on internet-exposed SSH-enabled devices.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Microsoft researchers observed that the initial infection points related to the botnet were devices infected through the installation of malicious cracking tools that purport to acquire illegal Windows licenses. The cracking tools contain additional code that downloads and launches a fake version of svchost.exe through a PowerShell command. In some cases, the downloaded file is named svchosts.exe.&lt;/p&gt;</description></item><item><title>What you need to know about BERserk and Mozilla</title><link>https://omid.dev/2014/09/25/need-know-berserk-mozilla/</link><pubDate>Thu, 25 Sep 2014 22:10:46 +0000</pubDate><guid>https://omid.dev/2014/09/25/need-know-berserk-mozilla/</guid><description>&lt;p&gt;The &lt;strong&gt;Intel Security Advanced Threat Research Team&lt;/strong&gt; has discovered a critical signature forgery vulnerability in the &lt;strong&gt;Mozilla Network Security Services (NSS) crypto library&lt;/strong&gt; that could allow malicious parties to set up fraudulent sites masquerading as legitimate businesses and other organizations.&lt;/p&gt;
&lt;p&gt;The Mozilla NSS library, commonly utilized in the &lt;strong&gt;Firefox web browser, can also be found in Thunderbird, Seamonkey, and other Mozilla products.&lt;/strong&gt;  Dubbed &lt;strong&gt;“BERserk”&lt;/strong&gt;, this vulnerability allows for attackers to forge RSA signatures, thereby allowing for the bypass of authentication to websites utilizing SSL/TLS.  Given that certificates can be forged for any domain, this issue raises serious concerns around integrity and confidentiality as we traverse what we perceive to be secure websites.&lt;/p&gt;</description></item><item><title>New Facebook scams in 2014</title><link>https://omid.dev/2014/08/22/new-facebook-scams-2014/</link><pubDate>Fri, 22 Aug 2014 17:03:30 +0000</pubDate><guid>https://omid.dev/2014/08/22/new-facebook-scams-2014/</guid><description>&lt;p&gt;So many Facebook scams in 2014 have been a little worrying even though at first they all seem innocent enough, but these are social scams to lure users in to gain money or access to computers.&lt;/p&gt;
&lt;p&gt;One particular Facebook scam this year was the “Robin Williams goodbye video”, which was apparently made before his death. This fake BBC News video is a scam and no such video exists.&lt;/p&gt;
&lt;p&gt;The “&lt;strong&gt;Robin Williams goodbye video&lt;/strong&gt;” started to circulate on Facebook and asks users to share the video before they can watch it, DO NOT click on it. There is no video so no point on sharing it, &lt;a href="http://www.symantec.com/connect/blogs/robin-williams-goodbye-video-used-lure-social-media-scams"&gt;Symantec&lt;/a&gt; explains in detail that when Facebook users click on the video it asks them to either fill out a survey or install an application. When the survey is complete the scammers gain money for each one completed.&lt;/p&gt;</description></item><item><title>The FBI is willing to pay top dollar to download some malware</title><link>https://omid.dev/2014/02/07/fbi-willing-pay-top-dollar-download-malware/</link><pubDate>Fri, 07 Feb 2014 22:45:03 +0000</pubDate><guid>https://omid.dev/2014/02/07/fbi-willing-pay-top-dollar-download-malware/</guid><description>&lt;p&gt;&lt;a href="https://omid.dev/images/2014/02/FBI.jpg"&gt;&lt;img loading="lazy" src="https://omid.dev/images/2014/02/FBI.jpg" alt="FBI" /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Federal Bureau of Investigation is willing to pay top dollar for the malicious, infectious software the rest of us pay to keep out of our computers, according to the Federal Business Opportunities website.&lt;/p&gt;
&lt;p&gt;A Monday &lt;a href="https://www.fbo.gov/index?s=opportunity&amp;amp;mode=form&amp;amp;id=5b4b8745e39bae3510f0ed820a08c8e2&amp;amp;tab=core&amp;amp;_cview=0"&gt;price quote request&lt;/a&gt; by the Investigative Analysis Unit of the agency’s Operational Technology Division is asking computer security developers and retailers to help the agency build a library of malware for an undisclosed reason, letting the companies name their price.&lt;/p&gt;</description></item><item><title>WordPress hardened with XSS, DoS and SSRF fixes</title><link>https://omid.dev/2013/06/25/wordpress-hardened-with-xss-dos-and-ssrf-fixes/</link><pubDate>Tue, 25 Jun 2013 10:57:44 +0000</pubDate><guid>https://omid.dev/2013/06/25/wordpress-hardened-with-xss-dos-and-ssrf-fixes/</guid><description>&lt;p&gt;&lt;a href="https://omid.dev/images/2013/06/WordPress_grey_120.png"&gt;&lt;img loading="lazy" src="https://omid.dev/images/2013/06/WordPress_grey_120.png" alt="WordPress" /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With the second security and maintenance release of WordPress 3.5, the developers of the popular open source blogging software have closed &lt;a href="http://core.trac.wordpress.org/query?status=closed&amp;amp;group=resolution&amp;amp;milestone=3.5.2"&gt;12 bugs&lt;/a&gt;, seven of them security issues. In their &lt;a href="http://wordpress.org/news/2013/06/wordpress-3-5-2/"&gt;announcement&lt;/a&gt;, the developers “strongly encourage” all users to update all their installations of the software to version 3.5.2 immediately. In addition to the fixed vulnerabilities, the new release also includes some proactive changes intended to harden the platform against attacks.&lt;/p&gt;</description></item><item><title>Facebook Virus That Drains Your Bank Accounts: What You Need to Know</title><link>https://omid.dev/2013/06/06/facebook-virus-that-drains-your-bank-accounts-what-you-need-to-know/</link><pubDate>Thu, 06 Jun 2013 08:43:10 +0000</pubDate><guid>https://omid.dev/2013/06/06/facebook-virus-that-drains-your-bank-accounts-what-you-need-to-know/</guid><description>&lt;p&gt;&lt;em&gt;This post has been shared originally by &lt;a href="http://blog.malwarebytes.org/intelligence/2013/06/facebook-virus-that-drains-your-bank-accounts-what-you-need-to-know/"&gt;Malwarebytes Blog&lt;/a&gt;:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The word about the &lt;a href="http://bits.blogs.nytimes.com/2013/06/03/malware-that-drains-your-bank-account-thriving-on-facebook/"&gt;Zeus Trojan back on Facebook&lt;/a&gt; has spread as fast as the malware itself across many news sites.&lt;/p&gt;
&lt;p&gt;Awareness and education about online dangers is essential but headlines like “Malware That Drains Your Bank Account Thriving On Facebook” instill fear while at the same time blame Facebook — something that may not be entirely justified.&lt;/p&gt;
&lt;p&gt;Malicious links on social networking sites are nothing new (Twitter, Linkedin to name a few). They have been, and continue to be, abused by spammers to peddle fake AV or redirect to exploit sites distributing all sorts of nasties.&lt;/p&gt;</description></item><item><title>Iranian Hackers targeting US oil, gas, and electric companies</title><link>https://omid.dev/2013/05/26/iranian-hackers-targeting-us-oil-gas-and-electric-companies/</link><pubDate>Sun, 26 May 2013 19:50:30 +0000</pubDate><guid>https://omid.dev/2013/05/26/iranian-hackers-targeting-us-oil-gas-and-electric-companies/</guid><description>&lt;p&gt;&lt;img loading="lazy" src="https://omid.dev/images/2013/05/Iranian-Hackers-targeting-US-oil-gas-and-electric-companies.jpg" alt="Iranian-Hackers-targeting-US-oil-gas-and-electric-companies" /&gt;
The Hacker News reported: For all the talk about China and the Syrian Electronic Army, it seems there&amp;rsquo;s another threat to U.S. cyber interests i.e. Iran. Series of potentially destructive computer attacks that have been targeting American oil, gas and electricity companies tracked back to Iran.&lt;/p&gt;
&lt;p&gt;Iranian hackers were able to gain access to control-system software that could allow them to manipulate oil or gas pipelines. Malware have been found in the power grid that could be used to deliver malicious software to damage plants. The targets have included several American oil, gas and electricity companies, which government officials have refused to identify.&lt;/p&gt;</description></item><item><title>Apple closes QuickTime vulnerabilities on Windows</title><link>https://omid.dev/2013/05/23/apple-closes-quicktime-vulnerabilities-on-windows/</link><pubDate>Thu, 23 May 2013 20:01:51 +0000</pubDate><guid>https://omid.dev/2013/05/23/apple-closes-quicktime-vulnerabilities-on-windows/</guid><description>&lt;p&gt;&lt;a href="https://omid.dev/images/2013/05/apple.jpg"&gt;&lt;img loading="lazy" src="https://omid.dev/images/2013/05/apple.jpg" alt="apple" /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Apple has &lt;a href="http://prod.lists.apple.com/archives/security-announce/2013/May/msg00001.html"&gt;released&lt;/a&gt; a security update for its QuickTime media framework for Windows. Version 7.7.4 of the software closes 12 critical security holes causing memory corruption and buffer overflows when processing a number of media formats. The vulnerabilities affect Windows 7, Vista and XP SP2 or later and could be exploited to cause arbitrary code execution and application crashes.&lt;/p&gt;
&lt;p&gt;The vulnerabilities affected the playback of MP3, H.263, H.264, TeXML, JPEG, QTIF, Sorenson Video and FPX files as well as the handling of dref, enof and mvhd atoms within the program. All of the problems were reported by researchers working with HP&amp;rsquo;s Zero Day Initiative, five of them by Tom Gallagher and Paul Bates from Microsoft.&lt;/p&gt;</description></item><item><title>Symantec vs AV-Comparatives, Which one do you trust?</title><link>https://omid.dev/2013/04/25/symantec-vs-av-comparatives-which-one-do-you-trust/</link><pubDate>Thu, 25 Apr 2013 18:42:01 +0000</pubDate><guid>https://omid.dev/2013/04/25/symantec-vs-av-comparatives-which-one-do-you-trust/</guid><description>&lt;p&gt;Cross-posted from PCMag SecurityWatch:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://omid.dev/images/2013/04/symantec-calls-test-misleading.jpg"&gt;&lt;img loading="lazy" src="https://omid.dev/images/2013/04/symantec-calls-test-misleading-300x236.jpg" alt="symantec-calls-test-misleading" /&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Last week independent antivirus lab AV-Comparatives released the results of an on-demand antivirus detection test. The fact that Microsoft came in near the bottom wasn&amp;rsquo;t big news; the fact that &lt;a href="http://securitywatch.pcmag.com/security-software/310201-microsoft-outperforms-symantec-in-antivirus-test"&gt;Symantec scored even lower&lt;/a&gt; was surprising indeed. In a &lt;a href="http://community.norton.com/t5/Norton-Protection-Blog/Beyond-the-Headlines-Don-t-be-fooled-by-misleading-security/ba-p/943843"&gt;blog post&lt;/a&gt; released today, Symantec decried the entire practice of performing on-demand malware scanning tests, calling it “misleading.”&lt;/p&gt;
&lt;p&gt;In the early years of antivirus testing, every test was an on-demand scanning test. Researchers would assemble a collection of known malware, run a full scan, and record the percentage of samples detected. Modern labs work hard to devise tests that more closely reflect a user&amp;rsquo;s real-world experience, taking into account the fact that the vast majority of infections enter the computer from the Internet. Symantec contends that only the real-world sort of test is valid; I don&amp;rsquo;t entirely agree.&lt;/p&gt;</description></item></channel></rss>