Open-source atomic malware analysis

Analyze another

harrrshall/BarunAction-35M main

PYTHON
Verdict: BENIGN
Mal-ecule
H₄(CmCrDbOs)
Size 22.9 KB download
First seen 26 days ago
Analyzed 3 days ago
Ecosystem huggingface
app.py python
1 """Public, proposal-only Gradio demo for BarunAction-35M candidate-v2."""
2
3 from __future__ import annotations
4
5 import hashlib
6 import html
7 import json
8 import os
9 import thread
19:17 "candidate-v2"
20 MODEL_PARAMETERS = 35_072_768
21 SOURCE_RELEASE = "https://github.com/harrrshall/barunaction-35m/tree/v1.0.0" References a public code-forge URL
22
23 EXPECTED_CHECKPOINT_SHA256 = {
24 "barun_config.json": "9b3a1d71baa95a198744d250f9629231738d942570b8685c44307fd83dd33565",
25 "model.safetensors": "fdb95ccf58a095e0d321be998924318b35ee59a334f6dd97d8726d2cf80021d3",
26 "tokenizer.json": "70ded9605fccd09c2340ca7e225361eab0ae8b4dbbb0d6e26343ab5183979db6",
27 }
28 CHECKPOINT_MANIFEST_SHA256 = "c743ab7c4d33ae75c6b0aa4547458a961b92766da8fcf85fd148fda2ebb5530a"
29
30 MAX_REQUEST_CHARS = 4_000
31 MAX_NOW_CHARS = 128
32 MAX_TOOLS_BYTES = 64_000
33 MAX_CONTEXT_BYTES = 32_000
34 MAX_NEW_TOKENS = 192
35
36 DEFAULT_TOOL_SCHEMAS: list[dict[str, Any]] = [
37 {
38
168:9 self.path = path
169
170
171 def _sha256(path: Path) -> str:
172 digest = hashlib.sha256() Performs Python SHA-256 operation
173 with path.open("rb") as handle:
174 for chunk in iter(lambda: handle.read(1024 * 1024), b""):
175 digest.update(chunk)
176 return digest.hexdigest()
177
178
179 def _verify
192:65 nt_manifest.json")
193
194
195 def _runtime_device() -> str:
196 device = os.getenv("BARUNACTION_DEVICE", "cpu").strip().casefold() Python reads an environment variable
197 if device not in {"cpu", "cuda"}:
198 raise RuntimeError("BARUNACTION_D
253:14 input_too_large",
254 f"{label} exceeds this public demo's {byte_limit:,}-byte limit.",
255 path,
256 )
257 try:
258 return json.loads( Parses JSON data with Python
259 raw,
260 object_pairs_hook=_reject_pairs,
261 parse_constant=_reject_constant,
262 )
263 excep

Micro-behaviors

Metadata

Identity

SHA-256 19c124916b07cc914bbd79cdb267d248d6123f21ffb7c2175f608224dacda635
Filename app.py
Package harrrshall/BarunAction-35M
Version main
PURL pkg:huggingface/harrrshall/BarunAction-35M@main

Origin

Source forager
Feed huggingface.co
Ecosystem huggingface
Domain huggingface.co
URL https://huggingface.co/harrrshall/BarunAction-35M

Timeline

First seen 5 Aug 2026 10:58 UTC
First analyzed 28 Aug 2026 14:25 UTC
Last analyzed 28 Aug 2026 14:25 UTC
Last updated 28 Aug 2026 14:25 UTC

Labeling

Label unknown
Label source forager
Traits version b59b7