<?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>Rspack - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/rspack/</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>Thu, 24 Sep 2026 20:05:06 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/rspack/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>Unauthenticated Information Disclosure in @rsdoctor/rspack-plugin</title><link>https://feed.craftedsignal.io/briefs/2026-09-rsdoctor-unauth-api/</link><pubDate>Thu, 24 Sep 2026 20:05:06 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-rsdoctor-unauth-api/</guid><description>The @rsdoctor/rspack-plugin binds its report server to all network interfaces with no authentication, allowing attackers to exfiltrate source code and build metadata via an unauthenticated POST request.</description><content:encoded><![CDATA[<p>The <code>@rsdoctor/rspack-plugin</code> (up to version 1.5.11) contains a critical information disclosure vulnerability caused by the default behavior of its internal HTTP report server. By default, the server binds to <code>0.0.0.0</code> (all network interfaces) and enables a <code>POST /api/data/key</code> endpoint without any authentication mechanism. Furthermore, the SDK applies a wildcard CORS policy, allowing cross-origin requests from any source.</p>
<p>When a developer runs a build using this plugin, the server starts automatically in non-CI environments. Any network-adjacent attacker can perform a single unauthenticated HTTP POST request to this server to retrieve sensitive build artifacts, including the full JavaScript source code of all compiled modules (<code>moduleCodeMap</code>), absolute file paths, and build configuration details (<code>configs</code>). This vulnerability is particularly dangerous for developers on shared networks, VPNs, or those running the plugin in environments accessible via local networks. The vulnerability is resolved in version 1.5.16, which mandates binding to <code>127.0.0.1</code> and restricts CORS origins.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a target developer machine running a build process with <code>@rsdoctor/rspack-plugin</code> on a shared network (e.g., VPN or local Wi-Fi).</li>
<li>The Rsdoctor SDK server initializes and binds to <code>0.0.0.0</code> on a dynamic port, making it reachable by any device on the local network.</li>
<li>Attacker discovers the active port via network scanning or by observing traffic from the target device.</li>
<li>Attacker sends a malicious, unauthenticated HTTP POST request to <code>http://&lt;victim-lan-ip&gt;:&lt;port&gt;/api/data/key</code>.</li>
<li>The server's <code>loadDataByKey</code> method accepts the user-supplied <code>key</code> from the request body without validation or authentication.</li>
<li>The <code>base.ts</code> handler uses the attacker-controlled <code>key</code> to index the internal SDK data store, including traversal of nested keys.</li>
<li>The system serializes the requested sensitive data (e.g., <code>moduleCodeMap</code>) and returns the full content of the source code or build configuration to the attacker.</li>
<li>The attacker parses the JSON response to harvest proprietary source code, credentials, or file structure information.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to the complete disclosure of project source code and build environment metadata. This includes hardcoded API keys, proprietary business logic, absolute filesystem paths, and environment variables contained within the build process. Impacted parties include individual developers and enterprise organizations where developers run local builds on semi-trusted or shared networks.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>@rsdoctor/rspack-plugin</code> to version 1.5.16 or later immediately.</li>
<li>Implement network segmentation to ensure build processes on developer machines are not reachable by unauthorized devices on the local network.</li>
<li>Audit developer workstations for rogue HTTP services running on all interfaces (0.0.0.0) that lack authentication.</li>
<li>Use firewall rules to restrict inbound connections to build-related ports to <code>localhost</code> (127.0.0.1) until all projects are patched.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>information-disclosure</category><category>supply-chain</category><category>developer-tools</category></item></channel></rss>