November 2025 Summaries
10 posts from Semgrep
Filter
Month:
Year:
Post Summaries
Back to Blog
During the AWS AI Agents Hackathon in San Francisco, over 250 developers created more than 50 projects focused on cybersecurity, showcasing emerging trends in software development and AI integration. Participants utilized tools like AWS Bedrock, Anthropic, Vanta, and Semgrep to build security agents, aligning with Cybersecurity Awareness Month's theme of enhancing security controls and enterprise-grade solutions. Key trends included the use of Model Context Protocol (MCP) for standardizing AI agent workflows, leveraging multiple Large Language Models (LLMs) for task-specific code generation, and integrating AI-powered coaching for real-time coding best practices. Teams explored browser-based coding environments, addressing their security vulnerabilities through projects like Udon Cat, which provided immediate security feedback using Semgrep. The hackathon also highlighted the risks of malicious IDE extensions and MCP servers, with projects like AgentSafe aiming to mitigate supply chain attacks by evaluating the security posture of external servers. Overall, the event emphasized the importance of integrating security measures into development processes, using MCP for efficiency, and fostering innovation under pressure, suggesting a future direction for AI-driven development with a strong focus on security and automation.
Nov 25, 2025
1,340 words in the original blog post.
In September, security teams encountered a surge in npm supply chain compromises due to the Shai-Hulud malware, which has evolved into a more aggressive variant. This new version not only seeks secrets but also establishes persistence using GitHub Actions. Over 525 packages have been compromised, impacting 132 million monthly downloads. The malware employs Trufflehog for secret collection and targets AWS, Google Cloud Platform, Azure, GitHub, and npm tokens. The worm spreads by infecting npm maintainers, searching for npm tokens, and publishing new versions of infected packages. Two new scripts, "setup_bun.js" and "bun_environment.js," are added to infected repositories to facilitate propagation and exfiltration of secrets. The malware also creates a backdoor via a vulnerable GitHub Action, allowing attackers to execute arbitrary code. Affected users are advised to avoid upgrading npm dependencies from compromised packages, rotate credentials, and utilize tools like Semgrep to identify vulnerabilities. The attack's persistence mechanism via GitHub Actions and its ability to self-propagate significantly increases its threat, making it crucial for organizations to audit their security measures and remove unauthorized access points.
Nov 24, 2025
4,113 words in the original blog post.
Secret scanning tools, essential for application security, often miss valid secrets due to design choices aimed at minimizing false positives, such as reliance on non-word boundaries and keywords. This leads to undetected leaks of sensitive data like API keys and tokens across platforms such as GitHub, OpenAI, and Anthropic. The blog post explores how secret scanners work, their methods to reduce false positives, and the resultant false negatives with examples from real repositories. Issues arise from prefix collisions, lack of unique identifiers, and overly strict boundary checks, which prevent detection of legitimate secrets. Recommendations include refining detection rules, ensuring precise token format specifications, and encouraging third-party services to document token formats and establish verification endpoints. The post also suggests that services should consider monitoring public repositories and implementing measures like token expiration to mitigate risks associated with leaked secrets.
Nov 19, 2025
2,502 words in the original blog post.
Security regulations, often perceived as complex and burdensome, are increasingly seen as strategic tools rather than mere compliance checklists, aiding organizations in enhancing resilience, trust, and budget management amid a sophisticated threat landscape. A recent webinar highlighted the diverse global landscape of security regulations, frameworks, and standards, focusing on their real-world impact on security outcomes, organizational maturity, and cultural change. The US regulatory approach is comprehensive in certain sectors but fragmented overall, while the EU's unified and forward-looking model offers a consistent framework across member states, influencing regulations worldwide with initiatives like GDPR. Frameworks such as the NIST Cybersecurity Framework and ISO 27001 serve as crucial blueprints for building security maturity, although their impact is contingent on organizational commitment. Security leaders are encouraged to leverage these regulations and frameworks to transition from reactive compliance to proactive security leadership, advocating for high-impact controls and clarity in regulation to foster a security-first mindset and drive meaningful operational change.
Nov 18, 2025
1,400 words in the original blog post.
As AppSec teams improve at preventing traditional OWASP vulnerabilities with tools like Semgrep, they face challenges in detecting logic vulnerabilities such as IDORs and broken authentication, which are significant in bug bounty findings and costly to address. Traditional methods like static analysis and bug bounty programs are reactive and resource-intensive, often failing to catch these issues before they reach production. Semgrep's new AI-powered detection integrates the Semgrep Pro Engine with large language model (LLM) capabilities to enhance the identification of logic flaws by combining structured code scanning with contextual reasoning from AI, leading to significant improvements in accuracy and reduction of false positives. A private beta program is now available for organizations to test this hybrid approach, which has shown promising results in uncovering critical vulnerabilities that traditional scanners miss, offering a more effective solution for detecting complex security gaps in applications.
Nov 11, 2025
871 words in the original blog post.
Semgrep, a tool used for scanning source code, is enhancing its efficiency and speed by implementing multicore capabilities through Multicore OCaml, which allows for true concurrent parallel processing and shared-memory access within the same process. This advancement addresses the memory usage challenges of traditional process-based parallelism, where each process requires its own memory heap, leading to higher compute costs. By adopting multicore processing, Semgrep can scan large codebases more quickly and efficiently, reducing RAM usage spikes and improving cost-effectiveness in compute resources. These improvements are particularly beneficial for DevOps teams and platforms like Replit and GitLab, which integrate Semgrep for security scanning, offering a significant speed boost without increasing memory consumption. The updates are part of the Semgrep Community Edition's fall release, with multicore being enabled by default in versions 1.143.0 and later.
Nov 11, 2025
1,114 words in the original blog post.
Creating cross-platform command-line security tools involves addressing various compatibility challenges across Linux, macOS, and Windows, as illustrated by the updates made to Semgrep Community Edition for Windows support. Key considerations include the differences in file and path handling, where Windows uses backslashes and POSIX systems use forward slashes, necessitating the use of abstractions like OCaml's Fpath or Python's pathlib.Path. Process management is another area where POSIX systems rely on fork and signals, while Windows does not support these, requiring a shift to subprocess-based management. Temporary file handling also differs, with Windows preventing deletion of files with open handles, prompting strategies like using specific file flags or ensuring files are closed before deletion. Text encoding presents challenges as well, due to differences in default encodings and terminal behaviors between systems, which can cause issues with Unicode content or colored output, requiring configuration adjustments like enabling virtual terminal processing or forcing UTF-8 mode in Python. Building and distributing tools on Windows demands platform-specific adjustments, such as handling .exe suffixes and bundling necessary DLLs, with a focus on consistent dependency resolution across OSes. The experience of adapting Semgrep highlighted the importance of abstracting system interactions early on, revealing potential reliability issues even in POSIX environments, and demonstrated that cross-platform discipline is essential for developing robust security tools.
Nov 07, 2025
1,059 words in the original blog post.
Semgrep Community Edition's latest release introduces significant upgrades, enhancing scan performance by up to three times on large repositories through a new memory-efficient multicore engine and providing native Windows support, eliminating the need for Windows Subsystem for Linux. This update makes Semgrep more accessible to a broader range of developers, including those in government, enterprise IT, and finance sectors, enabling faster and more efficient security scanning across diverse coding environments. The improvements, developed in collaboration with the OCaml community and incorporating extensive feedback from users, allow for effective scanning of monorepos without the previous trade-offs between speed and memory usage. These enhancements ensure that Semgrep remains a powerful, open-source tool for application security, trusted by developers worldwide to catch code issues early without hindering performance.
Nov 06, 2025
535 words in the original blog post.
Automation in security is essential due to the overwhelming nature of alerts and backlogs compared to attackers, but it can generate harmful noise without proper context. A case study with an AI-based code reviewer illustrates this, where it identified a "Host Header Injection: CRITICAL VULNERABILITY" that was, in fact, non-exploitable due to existing safeguards like infrastructure and browser constraints. This highlights the difference between vulnerabilities and actual exploitable threats, stressing the importance of context in security assessments. False positives from AI tools can erode trust and credibility in security teams, causing unnecessary workloads and frustration among developers. To improve the situation, security leaders should focus on integrating AI solutions that offer immediate, in-line fixes rather than filling backlogs with non-critical issues, and they should customize tools to better distinguish between genuine threats and low-risk vulnerabilities. This approach could help reduce alert fatigue and improve the efficacy of security measures, while AI's real promise lies in its ability to enhance security processes without overwhelming developers with false alarms.
Nov 04, 2025
818 words in the original blog post.
The research explored the effectiveness of AI models, specifically Claude Code and OpenAI Codex, in identifying Insecure Direct Object Reference (IDOR) vulnerabilities in open-source applications. The study found that while these models were able to detect 15 real vulnerabilities, they also generated 93 false positives. The models performed best in simpler scenarios where authorization logic was either absent or contained within a single function or file, but struggled with complex cases involving cross-file or middleware-based logic. The research highlighted the models' potential to identify localized logical flaws that traditional tools might miss but also noted their limitations, such as high false positive rates and non-deterministic outputs. The findings suggest that while AI models can be valuable in vulnerability detection, human oversight remains crucial to validate and interpret the results effectively. The study emphasizes the importance of enhancing prompt engineering and incorporating additional scaffolding to improve the models' accuracy and reliability in detecting IDOR vulnerabilities.
Nov 03, 2025
3,426 words in the original blog post.