{
  "schema": "cremit-ioc/v1",
  "generated_at": "2026-05-21T11:05:42.127Z",
  "package": {
    "ecosystem": "npm",
    "name": "defi-threat-scanner",
    "version": "2.1.2",
    "publisher": "ddjidd5640",
    "sha256": "sha512-OAzqch6k6z1g0UzKALStzMXrKGipm8nFIc6TZ66of3+oUUdU6WAMnQvNy7E+/FXjjDD0KpAeKHq90dOD0hdBvw==",
    "tarball_url": "https://registry.npmjs.org/defi-threat-scanner/-/defi-threat-scanner-2.1.2.tgz",
    "weekly_downloads": 0,
    "description": "Scan for DeFi-specific security threats — flash loan vulnerabilities, oracle manipulation risks, price impact attacks, sandwich detection, and MEV exposure analysis.",
    "repository_url": "https://github.com/defi-security/defi-threat-scanner",
    "first_published_at": "2026-05-20T12:52:01.135Z"
  },
  "classification": {
    "label": "malicious",
    "confidence": 0.92,
    "summary": "OSV-flagged advisory + install hook — fast-tracked without LLM.",
    "provider": "fast-track",
    "heuristic_score": 89,
    "disposition": "auto-published"
  },
  "references": {
    "npm_url": "https://www.npmjs.com/package/defi-threat-scanner/v/2.1.2",
    "pypi_url": null,
    "osv_id": null,
    "osv_url": null,
    "package_page": "https://incidents.cremit.io/packages/npm/defi-threat-scanner"
  },
  "techniques": [
    {
      "id": "T1033",
      "name": "System Owner/User Discovery",
      "tactic": "Discovery"
    },
    {
      "id": "T1059",
      "name": "Command and Scripting Interpreter",
      "tactic": "Execution"
    },
    {
      "id": "T1082",
      "name": "System Information Discovery",
      "tactic": "Discovery"
    },
    {
      "id": "T1552.001",
      "name": "Unsecured Credentials: Credentials in Files",
      "tactic": "Credential Access"
    },
    {
      "id": "T1552.003",
      "name": "Unsecured Credentials: Bash History",
      "tactic": "Credential Access"
    },
    {
      "id": "T1567.002",
      "name": "Exfiltration Over Web Service",
      "tactic": "Exfiltration"
    }
  ],
  "indicators": {
    "network": {
      "urls": [
        "https://ddjidd564.github.io/defi-security-best-practices/config.json",
        "https://github.com/defi-security/defi-threat-scanner"
      ],
      "ipv4": [],
      "webhook_bins": [
        {
          "service": "webhook.site",
          "url": "https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233"
        }
      ],
      "discord_webhook_ids": [],
      "telegram_bots": [],
      "github_repos": [
        "github.com/defi-security/defi-threat-scanner"
      ]
    },
    "files": {
      "credential_paths": [
        "wallet.dat",
        "metamask"
      ]
    },
    "deps": {
      "suspicious": [
        "axios"
      ]
    },
    "encoded": {
      "base64": []
    },
    "metadata": {
      "heuristic_flags": [
        "install-scripts:postinstall",
        "new-publisher:2d",
        "publisher-multi-name-burst:10",
        "publisher-version-pump:13",
        "osv-flagged:MAL-2026-4205"
      ],
      "static_flags": [
        "reads-seed-phrase",
        "reads-env-vars",
        "reads-homedir",
        "reads-system-info",
        "webhook-bin",
        "reads-shell-history",
        "child-process-spawn",
        "reads-npmrc",
        "reads-wallet-files"
      ],
      "self_described_as": [
        "author\": \"DeFi Security Alliance\""
      ]
    }
  },
  "stix_hints": {
    "indicator_pattern_examples": [
      "[url:value = 'https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233']",
      "[file:hashes.'SHA-256' = 'sha512-OAzqch6k6z1g0UzKALStzMXrKGipm8nFIc6TZ66of3+oUUdU6WAMnQvNy7E+/FXjjDD0KpAeKHq90dOD0hdBvw==']"
    ],
    "note": "These are STIX 2.1 indicator pattern fragments, not a full bundle. Wrap each in {type:\"indicator\", pattern:..., pattern_type:\"stix\"} and add identity / created_by_ref objects to ingest into a TIP."
  }
}