<commit_before>//
// OpenRASP 官方插件只是抛砖引玉，具体检测能力请根据业务来定制
//

'use strict'
var plugin  = new RASP('offical')

const clean = {
    action:     'ignore',
    message:    '无风险',
    confidence: 0
}

var forcefulBrowsing = {
    dotFiles: /\.(7z|tar|gz|bz2|xz|rar|zip|sql|db)$/,
    nonUserDirectory: /^\/(proc|sys|root)/,
    unwantedFilenames: [<commit_msg>add sqlite file extension<commit_after>//
// OpenRASP 官方插件只是抛砖引玉，具体检测能力请根据业务来定制
//

'use strict'
var plugin  = new RASP('offical')

const clean = {
    action:     'ignore',
    message:    '无风险',
    confidence: 0
}

var forcefulBrowsing = {
    dotFiles: /\.(7z|tar|gz|bz2|xz|rar|zip|sql|db|sqlite)$/,
    nonUserDirectory: /^\/(proc|sys|root)/,
    unwantedFilenames: [
{'fraction_non_alphanumeric': 0.1696551724137931, 'fraction_numerical': 0.008275862068965517, 'mean_word_length': 3.3734939759036147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4008628', 'n_tokens_mistral': 332, 'n_tokens_neox': 337, 'n_words': 51}