<?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/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Buildebooks (&lt; 0.2.2) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/buildebooks--0.2.2/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 14 Oct 2026 16:37:38 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/buildebooks--0.2.2/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>OS Command Injection in buildebooks</title><link>https://feed.craftedsignal.io/briefs/2026-10-buildebooks-command-injection/</link><pubDate>Wed, 14 Oct 2026 16:37:38 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-buildebooks-command-injection/</guid><description>The buildebooks package before 0.2.2 contains an OS command injection vulnerability in lib/kindle.js that allows attackers to execute arbitrary system commands via crafted EPUB filenames.</description><content:encoded><![CDATA[<p>The buildebooks package, prior to version 0.2.2, is susceptible to an OS command injection vulnerability located within the 'lib/kindle.js' file. This flaw originates from improper input sanitization when processing book project data. Specifically, when the 'kindle' configuration is set to true, the application passes user-supplied EPUB filenames or project folder names directly to the 'child_process.exec' function.</p>
<p>An attacker can exploit this by creating a book project with a maliciously crafted filename containing shell metacharacters. When the library processes these names, it executes the injected commands within the context of the user running the build process. This vulnerability is significant as it provides a mechanism for remote code execution on systems where buildebooks is utilized to automate ebook generation. Defenders should prioritize updating to version 0.2.2 or later to eliminate the underlying command injection vector.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands with the privileges of the user running the build process. This can lead to full system compromise, exfiltration of environment variables (such as CI/CD secrets), or the modification of the build pipeline to introduce persistent threats into downstream artifacts. The vulnerability affects all users running vulnerable versions of buildebooks in build environments, CI/CD pipelines, or desktop workstations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the buildebooks package to version 0.2.2 or later immediately.</li>
<li>Audit build logs and CI/CD pipelines for unusual process execution patterns initiated by the node runtime.</li>
<li>Apply the principle of least privilege by running build processes in isolated containers with minimal system permissions.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>command-injection</category><category>supply-chain</category><category>nodejs</category></item></channel></rss>