Skip to content
Heist/ feed
Back to feed
Unrated

Malicious code in sharpnes (crates.io)

Type: advisorySources: OSV

sharpnes is a malicious crate published to crates.io on 2026-10-09 by the account crows7781-glitch (versions 0.1.0 and 0.1.1), described only as "The sharpnes project is a learn.". It is an infostealer that exfiltrates data to attacker-controlled Telegram bots when the exported async function shortname() is called. src/teleg.rs (commented "telegram stealer") runs on Windows only: it collects Telegram Desktop session data from %USERPROFILE%\AppData\Roaming\Telegram Desktop\tdata and :\Telegram Desktop\tdata (drives C-J), zips it to tdata_backup.zip and uploads it via the Telegram Bot API sendDocument endpoint using a hardcoded bot token to chat -1003869029825. src/data.rs (commented "chrome stealer") uses XOR (key 0xAA) obfuscated strings and Chinese identifiers to locate the Chrome Default profile "Local Extension Settings" directory (which holds browser extension data such as crypto wallet vaults) on Windows, Linux and macOS, zips it in memory and sends it as 文件.zip via teloxide using a second hardcoded bot token to the same chat. In 0.1.0 the Chrome stealer is present but not called; 0.1.1 wires it into shortname().

Products
sharpnes
Affected versions
Not specified
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 12:33 UTC · Revision 1

Source evidence

Malicious code in sharpnes (crates.io)

core-osv · Original source

Published 9 Oct 2026, 00:00 UTC

sharpnes is a malicious crate published to crates.io on 2026-10-09 by the account crows7781-glitch (versions 0.1.0 and 0.1.1), described only as "The sharpnes project is a learn.". It is an infostealer that exfiltrates data to attacker-controlled Telegram bots when the exported async function shortname() is called. src/teleg.rs (commented "telegram stealer") runs on Windows only: it collects Telegram Desktop session data from %USERPROFILE%\AppData\Roaming\Telegram Desktop\tdata and :\Telegram Desktop\tdata (drives C-J), zips it to tdata_backup.zip and uploads it via the Telegram Bot API sendDocument endpoint using a hardcoded bot token to chat -1003869029825. src/data.rs (commented "chrome stealer") uses XOR (key 0xAA) obfuscated strings and Chinese identifiers to locate the Chrome Default profile "Local Extension Settings" directory (which holds browser extension data such as crypto wallet vaults) on Windows, Linux and macOS, zips it in memory and sends it as 文件.zip via teloxide using a second hardcoded bot token to the same chat. In 0.1.0 the Chrome stealer is present but not called; 0.1.1 wires it into shortname().

osv:MAL-2026-17713

sharpnes

Fixed versions: Not specified

Complete source record
{
  "id": "ac35dacc799f9951af401fba3ac830440beb0232126ab66ce96f1d90d7718ce1",
  "url": "https://osv.dev/vulnerability/MAL-2026-17713",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in sharpnes (crates.io)",
    "summary": "sharpnes is a malicious crate published to crates.io on 2026-10-09 by the account crows7781-glitch (versions 0.1.0 and 0.1.1), described only as \"The sharpnes project is a learn.\". It is an infostealer that exfiltrates data to attacker-controlled Telegram bots when the exported async function shortname() is called. src/teleg.rs (commented \"telegram stealer\") runs on Windows only: it collects Telegram Desktop session data from %USERPROFILE%\\AppData\\Roaming\\Telegram Desktop\\tdata and :\\Telegram Desktop\\tdata (drives C-J), zips it to tdata_backup.zip and uploads it via the Telegram Bot API sendDocument endpoint using a hardcoded bot token to chat -1003869029825. src/data.rs (commented \"chrome stealer\") uses XOR (key 0xAA) obfuscated strings and Chinese identifiers to locate the Chrome Default profile \"Local Extension Settings\" directory (which holds browser extension data such as crypto wallet vaults) on Windows, Linux and macOS, zips it in memory and sends it as 文件.zip via teloxide using a second hardcoded bot token to the same chat. In 0.1.0 the Chrome stealer is present but not called; 0.1.1 wires it into shortname().",
    "evidence": "osv:MAL-2026-17713",
    "products": [
      {
        "name": {
          "value": "sharpnes",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17713",
      "aliases": [
        "MAL-2026-17713"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "sharpnes",
            "purl": "pkg:cargo/sharpnes",
            "ecosystem": "crates.io"
          },
          "database_specific": {
            "cwes": [
              {
                "name": "Embedded Malicious Code",
                "cweId": "CWE-506",
                "description": "The product contains code that appears to be malicious in nature."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/crates.io/sharpnes/MAL-2026-17713.json"
          }
        }
      ],
      "modified": "2026-10-09T12:30:05.055843192Z",
      "provider": "osv",
      "references": [
        "https://crates.io/crates/sharpnes",
        "https://github.com/crows7781-glitch/shortneer"
      ],
      "provider_metadata": {
        "iocs": {
          "urls": [
            "https://api.telegram.org/bot8775554963:AAG6n5jLZLDjNo1T9xlMMVn1j2PzwTfn9c0/sendDocument",
            "https://api.telegram.org/bot8898886905:AAFZ4VrHpMvaoYs1XAXpMgm4jbrxhA8wPGI/sendDocument"
          ],
          "files": [
            {
              "note": "Telegram Desktop tdata stealer (Windows) exfiltrating to Telegram bot 8775554963 / chat -1003869029825.",
              "paths": [
                "src/teleg.rs"
              ],
              "source": "PACKAGE_ARCHIVE"
            },
            {
              "note": "XOR (0xAA) obfuscated Chrome 'Local Extension Settings' stealer exfiltrating to Telegram bot 8898886905 / chat -1003869029825.",
              "paths": [
                "src/data.rs"
              ],
              "source": "PACKAGE_ARCHIVE"
            },
            {
              "note": "Archive of stolen Telegram Desktop tdata written to the current directory before exfiltration.",
              "paths": [
                "tdata_backup.zip"
              ],
              "source": "DROPPED"
            }
          ]
        }
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 120769,
  "published_at": "2026-10-09T00:00:00+00:00"
}