question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error: capa failed to load some rules

See original GitHub issue

Description

Capa fails to load some rules, which have “description” (introduced in https://github.com/fireeye/capa-rules/pull/137) as a statement and reports those as invalid rules.

Expected behavior: Capa should load the rules correctly.

Actual behavior: Capa throws an error like the following

C:\Users\rony>capa --version
capa 1.3.0

C:\Users\rony>
C:\Users\rony>
C:\Users\rony>
C:\Users\rony>capa C:\Users\rony\Desktop\02179f3ba93663074740b5c0d283bae2.exe_
loading :   3%|##                                                             | 12/368 [00:00<00:07, 47.24     rules/s]
ERROR:capa:invalid rule: c:\python27-x64\lib\site-packages\capa\..\rules\anti-analysis\anti-debugging\debugger-detection\check-for-trap-flag-exception.yml: invalid rule: unexpected statement: description

C:\Users\rony>

Versions

capa 1.3.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
williballenthincommented, Oct 15, 2020

sounds like we’d better get 1.4 out!

0reactions
mr-tzcommented, Oct 23, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

error: capa failed to load some rules · Issue #339 - GitHub
Capa fails to load some rules, which have "description" (introduced in mandiant/capa-rules#137) as a statement and reports those as invalid ...
Read more >
An Informed Guide to Human Error in CAPA - The FDA Group
Learn a model for analyzing and preventing human error. This guide offers an informed look into why human errors occur and how FDA-regulated ......
Read more >
Corrective Action and Preventive Action (CAPA) Medical ...
This finding is listed when a manufacturer fails to establish a CAPA procedure or the procedure is inadequate. This finding was cited 165...
Read more >
Ultimate Guide to Corrective and Preventive Action (CAPA) for ...
This guide explains all you need to know to implement and maintain a Corrective Action and Preventative Action (CAPA) process for your ...
Read more >
The 5 Most Common Problems With Your CAPA Process
The FDA requires medical device manufacturers to have clearly documented procedures for corrective action and preventive action (CAPA).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found