<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Node on Tokenise</title><link>https://tokenise.rosvetic.com/tags/node/</link><description>Recent content in Node on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Tue, 24 Nov 2026 11:02:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/node/index.xml" rel="self" type="application/rss+xml"/><item><title>Your agent's file-download endpoint passes the ../ test and still leaks the folder next door</title><link>https://tokenise.rosvetic.com/posts/path-traversal-agent-file-download-typescript-attack-table/</link><pubDate>Tue, 24 Nov 2026 11:02:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/path-traversal-agent-file-download-typescript-attack-table/</guid><description>&lt;p&gt;A feature ticket says users should be able to download the reports they uploaded. The agent writes a handler that takes &lt;code&gt;?file=reports/q3.txt&lt;/code&gt;, resolves it against the uploads folder, checks the result still starts with that folder, and reads the file. It even adds a test that &lt;code&gt;../secret.txt&lt;/code&gt; is refused. Green. Merged.&lt;/p&gt;</description></item><item><title>Your agent's CSV import works on the sample file and dies on the real one: put it on a heap budget</title><link>https://tokenise.rosvetic.com/posts/heap-budget-test-agent-csv-import-typescript/</link><pubDate>Fri, 20 Nov 2026 11:06:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/heap-budget-test-agent-csv-import-typescript/</guid><description>&lt;p&gt;An agent is asked to total order values per customer from a CSV export. It writes twelve tidy lines, a test with a five-row fixture passes, and the pull request looks fine. In production the export is 4 GB and the process dies with &lt;code&gt;JavaScript heap out of memory&lt;/code&gt; at 2am.&lt;/p&gt;</description></item><item><title>Your agent's renewal date lands in March: pin month-end and DST bugs, then move the module to Temporal</title><link>https://tokenise.rosvetic.com/posts/temporal-month-end-dst-agent-date-arithmetic-typescript/</link><pubDate>Tue, 17 Nov 2026 11:04:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/temporal-month-end-dst-agent-date-arithmetic-typescript/</guid><description>&lt;p&gt;A subscription renews monthly. The customer signed up on 31 January, and the agent-written helper says the next renewal is 3 March. February simply didn&amp;rsquo;t happen for them. Nobody notices until billing support does.&lt;/p&gt;</description></item></channel></rss>