August 2023 Summaries
3 posts from StackHawk
Filter
Month:
Year:
Post Summaries
Back to Blog
Managing Node and NPM versions across multiple projects can be challenging, but utilizing Node Version Manager (NVM) and other strategic practices can streamline the process. Encouraging engineers to use NVM allows seamless switching between Node versions, ensuring compatibility for each project's dependencies. The "engines" block in package.json helps enforce required versions, while setting engine-strict=true in .npmrc prevents installation of incompatible versions. For CI environments, GitHub Actions can be configured to use .nvmrc and a custom .npm-version file to maintain consistent Node and NPM versions. This method not only aligns development and CI environments but also provides a clear, documented process for version management, enhancing project stability and compatibility.
Aug 23, 2023
1,083 words in the original blog post.
Authentication is a vital component of software development, ensuring that only authorized users can access sensitive information or perform specific actions. Traditional methods like username and password are being supplemented by more advanced techniques such as multiple cookies and token authentication, which enhance API security and improve the user experience. These methods involve using custom tokens or cookies as authorization credentials, granting access to specific resources or functionalities within an application. Tokens, often used in API key access or third-party services like OAuth, and cookies are generated by the server and used by the client in subsequent requests to verify identity. This approach offers benefits such as enhanced security by separating authentication from user credentials, scalability for simultaneous multi-user access, seamless third-party integration, and granular access control. Implementing such a system can be facilitated by tools like HawkScan, which allows the external supply of authorization tokens or cookies through configuration, enabling seamless integration and testing of multiple cookies and token authentication in software applications.
Aug 08, 2023
634 words in the original blog post.
AI-based technologies, particularly Large Language Models (LLMs), are rapidly advancing and are being integrated into various industries to drive innovation and improve efficiencies. However, this rapid adoption comes with security concerns, as AI tools can introduce vulnerabilities into code, echoing past technological challenges like email fraud. StackHawk, a security company, highlights the importance of using Dynamic Application Security Testing (DAST) solutions to address these vulnerabilities, especially in AI-generated code. DAST solutions are particularly suited for testing the non-deterministic nature of LLMs by examining their runtime behavior and ensuring application security. As the industry evolves, StackHawk continues to advocate for bridging the gap between application security and development teams, emphasizing the need for rigorous testing in CI/CD workflows to maintain secure coding practices.
Aug 04, 2023
771 words in the original blog post.