<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Muhammad Nadeem</title>
    <description>The latest articles on DEV Community by Muhammad Nadeem (@muhammad-nadeem).</description>
    <link>https://dev.to/muhammad-nadeem</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4035722%2F1192293e-9bfa-435a-9278-83d400b1298a.jpg</url>
      <title>DEV Community: Muhammad Nadeem</title>
      <link>https://dev.to/muhammad-nadeem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/muhammad-nadeem"/>
    <language>en</language>
    <item>
      <title>Scanning AWS Lambda for Vulnerabilities with Amazon Inspector</title>
      <dc:creator>Muhammad Nadeem</dc:creator>
      <pubDate>Mon, 20 Jul 2026 19:10:27 +0000</pubDate>
      <link>https://dev.to/muhammad-nadeem/scanning-aws-lambda-for-vulnerabilities-with-amazon-inspector-305m</link>
      <guid>https://dev.to/muhammad-nadeem/scanning-aws-lambda-for-vulnerabilities-with-amazon-inspector-305m</guid>
      <description>&lt;p&gt;Recently completed a hands-on lab on using &lt;strong&gt;Amazon Inspector&lt;/strong&gt; to scan AWS Lambda functions for vulnerabilities — here's a quick summary.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Scenario
&lt;/h2&gt;

&lt;p&gt;A team is building a new application using AWS Lambda and needs an automated way to catch vulnerabilities — not just in dependencies, but within the code itself, right after every deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Did
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Activated Amazon Inspector&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigated to Amazon Inspector in the AWS Console&lt;/li&gt;
&lt;li&gt;Activated the service for the account, which automatically enabled scanning for EC2, ECR, and AWS Lambda&lt;/li&gt;
&lt;li&gt;Waited until the dashboard showed Lambda function coverage at 100%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F16v0sqhvlpge6ls6egm3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F16v0sqhvlpge6ls6egm3.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Reviewed the Findings&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Opened "All findings" and found three vulnerabilities reported at Medium severity&lt;/li&gt;
&lt;li&gt;Selected the finding &lt;strong&gt;CVE-2023-32681 - requests&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Checked the Vulnerability details, including a link to the National Vulnerability Database (NVD) for more context&lt;/li&gt;
&lt;li&gt;Reviewed the Remediation section, which flagged the &lt;code&gt;requests&lt;/code&gt; package as outdated and recommended an upgrade&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fus0sx5tajehn6afkklvn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fus0sx5tajehn6afkklvn.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Remediated the Vulnerability&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Opened the affected Lambda function (&lt;code&gt;get-request&lt;/code&gt;) in the Lambda console&lt;/li&gt;
&lt;li&gt;Edited the &lt;code&gt;requirements.txt&lt;/code&gt; file, removing the pinned version (&lt;code&gt;requests==2.20.0&lt;/code&gt;) so it just read &lt;code&gt;requests&lt;/code&gt; — ensuring the latest secure version installs automatically&lt;/li&gt;
&lt;li&gt;Deployed the updated function&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>claude</category>
      <category>lambda</category>
    </item>
  </channel>
</rss>
