CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-yara-python

Python interface for YARA, a powerful malware identification and classification tool

Overall
score

85%

Evaluation85%

0.94x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "context": "This evaluation assesses how effectively the engineer uses the yara-python package's warnings callback functionality to capture and report runtime warnings during YARA rule scanning. The focus is on proper implementation of the warnings_callback parameter and handling of warning data.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Warnings callback implementation",
      "description": "Implements a warnings_callback function and passes it to the rules.match() method using the warnings_callback parameter",
      "max_score": 30
    },
    {
      "name": "Warning type handling",
      "description": "Correctly checks the warning type against yara.CALLBACK_TOO_MANY_MATCHES or other YARA warning type constants",
      "max_score": 20
    },
    {
      "name": "Warning data extraction",
      "description": "Extracts warning information from the callback parameters, including rule name and string identifier from the rule_string_tuple or equivalent structure",
      "max_score": 20
    },
    {
      "name": "Callback return value",
      "description": "Returns yara.CALLBACK_CONTINUE from the warnings callback to ensure scanning continues after warnings",
      "max_score": 15
    },
    {
      "name": "Rule compilation",
      "description": "Uses yara.compile() with source parameter to compile YARA rules from string input",
      "max_score": 10
    },
    {
      "name": "Scan execution",
      "description": "Uses the rules.match() method with data or filepath parameter to execute scanning",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-yara-python

tile.json