SShortSingh.
Back to feed

Popular 'Local-Only' CLI Tool Found Executing Hidden Malicious Payload on Import

0
·1 views

A GitHub repository called tokentab, which gained over 1,100 stars while trending in mid-September 2026, falsely claimed to run entirely offline with no data leaving the user's machine. Its setup.py contained a hardcoded remote IP address and secretly fetched and executed an in-memory module called manual_mapper.py at import time — before any user interaction. A later commit obfuscated the malicious code using XOR-encoded byte arrays, HMAC-SHA256 decryption, and zlib decompression, eliminating the need for a network call by shipping the payload inline. The attack is particularly dangerous on developer machines running AI coding agents, which typically store API keys, cloud credentials, and git tokens in local environment files. The incident highlights the risk of installing trending open-source tools without auditing the full source, especially the final lines of setup and CLI files where execution triggers are often buried.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Most AI crawlers appear in server logs, but Google-Extended and Applebot-Extended never do

Despite being widely referenced in robots.txt files, Google-Extended and Applebot-Extended never actually send HTTP requests to websites, making them invisible in server logs. In contrast, nine real AI crawlers from OpenAI, Anthropic, and Perplexity do send identifiable user-agent strings and can be tracked in WordPress access logs. Vendors confirm that index-building bots generally honour robots.txt directives, but user-triggered fetchers — such as ChatGPT-User and Perplexity-User — may ignore those rules because a human initiated the request. This means a page blocked from AI training can still be fetched moments later to answer a live user query. WordPress site owners can monitor all nine documented crawlers without a plugin by adding a small script to the mu-plugins directory that logs matches to a capped database option.

0
ProgrammingDEV Community ·

GIF file size is largely fixed cost, not an encoder problem, analysis finds

A developer spent a week trying to shrink a 1.51 MB GIF of a 4.5-second screen recording before discovering that a significant portion of the file size is structural and cannot be reduced by encoder settings alone. Parsing the GIF container byte by byte revealed that 74 of 75 frames each carried a full 256-color local palette, consuming roughly 57 KB regardless of on-screen content. GIF's interframe differencing, which only redraws changed regions, offered limited savings because a single rectangle must enclose all changed pixels per frame, often dragging in untouched areas. Reducing frame count proved the most effective lever, cutting file size by 28–42%, though it also shortens total playback duration unless per-frame delays are manually adjusted. The findings suggest that hitting a compression wall with GIFs is often a format constraint rather than a failure of the export tool.

0
ProgrammingDEV Community ·

How One Parent Used AI Agents and Spotify to Build a 6-Hour Baptism Party Playlist

A developer used an AI agent called Hermes and Claude Code to build a curated 101-track, 6.2-hour playlist for their child's baptism party at a pub. Rather than specifying individual songs, the parent wrote a structural brief covering genre blocks — from warm R&B and afrobeats to UK garage and slow jams — with DJ Chuckie Online's mixes as a reference point. The first automated attempt failed badly, producing 60 tracks of rap with duplicates and explicit songs because the Spotify tool lacked a mode for brief- or reference-based playlist building. The project was rebuilt using Claude Code, sourcing accurate tracklists from YouTube chapter listings and BBC programme pages, while filtering out explicit tracks unsuitable for a christening. The author also documented several Spotify API changes in early 2026, including renamed endpoints that return 403 errors instead of 404, a 10-result search cap in developer mode, and rate limits triggered after roughly 250 searches in a single session.

0
ProgrammingHacker News ·

AI-Generated Code Reportedly Accounted for 17.25% of Linux Kernel Patches in September

According to a claim shared by the Lunduke Journal on social media, AI-generated code made up approximately 17.25% of all patches submitted to the Linux Kernel in September. The figure suggests a notable and growing role of AI-assisted development in one of the world's most prominent open-source projects. The Linux Kernel is maintained by a global community of contributors and serves as the foundation for countless operating systems. The original claim was posted on Twitter and has attracted attention within developer communities. The methodology or data source behind the 17.25% figure has not been detailed in the available information.

Popular 'Local-Only' CLI Tool Found Executing Hidden Malicious Payload on Import · ShortSingh