Home / Companies / Semgrep / Blog / January 2026

January 2026 Summaries

5 posts from Semgrep

Filter
Month: Year:
Post Summaries Back to Blog
The concept of the Confused Deputy problem, first identified by Norm Hardy in 1977, highlights a security flaw where a system component inadvertently misuses its authority due to ambiguous permissions, a situation still prevalent in modern computing. This issue arises when systems grant broad access based solely on identity rather than specific tasks, leading to potential misuse, as seen in examples like the Windows Print Spooler. Access Control Lists (ACLs), widely used in operating systems, exacerbate this problem by allowing applications to perform any action the user can, without assessing the appropriateness of the action. To address this challenge, the text proposes a shift towards capability-based security, where unforgeable tokens, known as capabilities, designate and authorize access to resources, ensuring operations are task-specific and adhere to the principle of least privilege. This approach seeks to mitigate risks such as prompt injections in agentic systems by allowing agents to request only the necessary capabilities for a given task, thereby limiting potential damage from unauthorized actions. The text emphasizes the importance of transitioning to capability-based models, advocating for enhanced security in systems interacting with large language models (LLMs) and other agentic architectures to prevent security vulnerabilities like the Confused Deputy problem.
Jan 28, 2026 2,057 words in the original blog post.
Popular Node.js sandboxing library vm2 has announced a critical vulnerability with a CVSS score of 9.8, which allows attackers to bypass promise sanitization and execute arbitrary code, effectively escaping the sandbox. This vulnerability highlights the risks associated with using vm2 to run untrusted code, as a simple exploit can compromise the security of applications leveraging this library. Despite past vulnerabilities leading to a temporary discontinuation announcement, the library remains widely used, especially for internal tools. Users are urged to update to version 3.10.2 immediately to mitigate this risk, as older versions are susceptible to remote code execution vulnerabilities. The vulnerability stems from a fail-open case in the promise catch block configuration, allowing global promise handlers to bypass local scope sanitization, posing significant security threats. The maintainers of vm2 have acknowledged the inherent risks of running arbitrary code and have recommended alternatives like isolated-vm or containerized applications to ensure better isolation and security. This situation underscores the importance of architectural isolation rather than relying solely on sanitization to prevent exploitation.
Jan 27, 2026 948 words in the original blog post.
AI coding assistants, often perceived as tools limited to web development tasks like writing JavaScript, have untapped potential in more complex engineering domains, as demonstrated by an experiment using Google Gemini to build an RF-decoding weather station. The project, which involved integrating inexpensive sensors and an ESP32 microcontroller, highlighted AI's ability to generate working microcontroller code, although it required human intervention for debugging and context maintenance. The experiment underscored AI's strength in conceptual tasks, such as architectural reasoning and evaluating trade-offs, but also revealed its limitations in handling stateful, low-level timing behaviors and the necessity of human oversight to ensure correctness. Ultimately, the experiment illustrated how AI can broaden the scope of what engineers can attempt, transforming AI from a simple code generator into a powerful tool for exploratory engineering, provided it is used in conjunction with human knowledge and judgment.
Jan 20, 2026 1,236 words in the original blog post.
Sophisticated users are still vulnerable to malware due to the complexities of modern software supply chains, exemplified by npm, a popular JavaScript package manager, which has been a significant vector for attacks. This is evident in incidents where attackers have injected malware into widely downloaded npm packages, highlighting the risks of blindly trusting third-party code. The period of risk, termed the "window of exposure and opportunity," begins when a malicious package is published and ends when it is identified and removed by security researchers. Generative AI tools have been tested for malware detection with mixed results; while they can identify readable malicious code, they struggle with minified or obfuscated code, necessitating human oversight. To mitigate risks, developers are advised to pin dependency versions, limit install-time execution, and delay automated dependency updates, thereby reducing exposure during the critical period after a package's release. These strategies do not eliminate risks but significantly reduce them, emphasizing a cautious approach to adopting new packages and allowing time for security assessments before updates are made.
Jan 12, 2026 1,232 words in the original blog post.
Selecting the right application security (AppSec) tool is crucial for fostering collaboration between development and security teams, as poor choices can lead to low development velocity and vulnerabilities. The integration of AI into the AppSec landscape has introduced both opportunities and challenges, offering the potential to enhance traditional static application security testing (SAST) methods by addressing their limitations, such as false positives and inflexibility. While AI can excel in pattern recognition and code summarization, it cannot fully replace the reliability of SAST, making a hybrid approach ideal for maximizing effectiveness. The best tools combine the deterministic analysis of SAST with AI's context-aware capabilities to reduce noise and improve prioritization. Key factors in choosing an AppSec tool include ensuring it supports multiple languages, offers robust benchmarks, provides customization options, and is backed by time-tested security expertise. Transparency and trust are essential, as is the ability to adapt tools to specific organizational needs, ultimately facilitating a shift-left approach to security by making high-quality reviews accessible throughout development.
Jan 09, 2026 1,546 words in the original blog post.