Oxorio Auditor

This extension is set of tools for Oxorio Solidity auditors.
Configuration
Inline-bookmarks Configuration
Add this config for Inline bookmarks plugin to your settings.json
:
"inline-bookmarks.expert.custom.words.mapping": {
"critical": ["@audit-c\\s"],
"major": ["@audit-m\\s"],
"warning": ["@audit-w\\s"],
"info": ["@audit-i\\s"],
},
"inline-bookmarks.expert.custom.styles": {
"critical": {
"gutterIconColor": "#F7075D",
"overviewRulerColor": "#F7075D",
"light": {
"color": "#F7075D",
"fontWeight": "bold",
"textDecoration": "underline",
},
"dark": {
"color": "#F7075D",
"fontWeight": "bold",
"textDecoration": "underline",
}
},
"major": {
"gutterIconColor": "#FD991F",
"overviewRulerColor": "#FD991F",
"light": {
"color": "#FD991F",
"fontWeight": "bold",
"textDecoration": "underline",
},
"dark": {
"color": "#FD991F",
"fontWeight": "bold",
"textDecoration": "underline",
}
},
"warning": {
"gutterIconColor": "#AE82F3",
"overviewRulerColor": "#AE82F3",
"light": {
"color": "#AE82F3",
"fontWeight": "bold",
"textDecoration": "underline",
},
"dark": {
"color": "#AE82F3",
"fontWeight": "bold",
"textDecoration": "underline",
}
},
"info": {
"gutterIconColor": "#66D9EF",
"overviewRulerColor": "#66D9EF",
"light": {
"color": "#66D9EF",
"fontWeight": "bold",
"textDecoration": "underline",
},
"dark": {
"color": "#66D9EF",
"fontWeight": "bold",
"textDecoration": "underline",
}
}
}
Now you can bookmarking issues in a code using comments with a different @audit-X marks depending on the issue's severity level:
Mark |
Severity |
@audit-c |
CRITICAL |
@audit-m |
MAJOR |
@audit-w |
WARNING |
@audit-i |
INFO |
Markdown Report Generation
Use Generate Audit Report for Workspace
command for collecting all @audit-X bookmarks in a current workspace and generating a new Markdown report with founded issues. You will be asked to input client's repository link and hash of auditing commit.