Skip to content

Builtin notus#2129

Open
Kraemii wants to merge 8 commits intomainfrom
builtin-notus
Open

Builtin notus#2129
Kraemii wants to merge 8 commits intomainfrom
builtin-notus

Conversation

@Kraemii
Copy link
Member

@Kraemii Kraemii commented Feb 9, 2026

Implements:

  • notus_error
  • notus
  • security_notus

Jira: SC-1560

Run test script with scannerctl execute script -n ~/var/lib/notus/products/ notus.nasl

pkg_list = "libc6-1.28-10+deb10u2, libc-dev-bin-2.28-10+deb10u2";

results = notus(product: "debian_10", pkg_list: pkg_list);

if(!isnull(results)) {
    foreach res (results) {
        oid = res["oid"];
        msg = res["message"];
        display(oid);
        display(msg);
    }
} else {
    ret = notus_error();
    display(ret);
}

Just play a little bit around.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 3a72753.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

License Issues

rust/Cargo.toml

PackageVersionLicenseIssue Type
reqwest>= 0.12.0, < 0.13.0NullUnknown License
Allowed Licenses: 0BSD, AGPL-3.0-or-later, Apache-2.0, BlueOak-1.0.0, BSD-2-Clause, BSD-3-Clause-Clear, BSD-3-Clause, BSL-1.0, bzip2-1.0.6, CAL-1.0, CC-BY-3.0, CC-BY-4.0, CC-BY-SA-4.0, CC0-1.0, EPL-2.0, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-2.0, GPL-3.0-only, GPL-3.0-or-later, GPL-3.0, ISC, LGPL-2.0-only, LGPL-2.0-or-later, LGPL-2.1-only, LGPL-2.1-or-later, LGPL-2.1, LGPL-3.0-only, LGPL-3.0, LGPL-3.0-or-later, MIT, MIT-CMU, MPL-1.1, MPL-2.0, OFL-1.1, PSF-2.0, Python-2.0, Python-2.0.1, Unicode-3.0, Unicode-DFS-2016, Unlicense, Zlib, ZPL-2.1

OpenSSF Scorecard

PackageVersionScoreDetails
cargo/core-foundation 0.9.4 🟢 4.5
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Maintained🟢 33 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
License🟢 9license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/encoding_rs 0.8.35 🟢 4.9
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 43 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 4
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Security-Policy⚠️ 0security policy file not detected
License🟢 9license file detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/system-configuration 0.7.0 🟢 4.5
Details
CheckScoreReason
Code-Review🟢 6Found 10/15 approved changesets -- score normalized to 6
Packaging⚠️ -1packaging workflow not detected
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License⚠️ 0license file not detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/system-configuration-sys 0.6.0 🟢 4.5
Details
CheckScoreReason
Code-Review🟢 6Found 10/15 approved changesets -- score normalized to 6
Packaging⚠️ -1packaging workflow not detected
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License⚠️ 0license file not detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
cargo/windows-registry 0.6.1 🟢 6.6
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Maintained🟢 1030 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 5Found 11/20 approved changesets -- score normalized to 5
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Binary-Artifacts⚠️ 0binaries present in source code
Packaging🟢 10packaging workflow detected
SAST🟢 10SAST tool is run on all commits
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
cargo/reqwest >= 0.12.0, < 0.13.0 UnknownUnknown

Scanned Files

  • rust/Cargo.lock
  • rust/Cargo.toml

@github-actions github-actions bot added the minor_release creates a minor release label Feb 9, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 10, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 10, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 10, 2026
@Kraemii Kraemii marked this pull request as ready for review February 11, 2026 11:02
@Kraemii Kraemii requested a review from a team as a code owner February 11, 2026 11:02
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 11, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 13, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 16, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Feb 23, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Mar 4, 2026
nichtsfrei
nichtsfrei previously approved these changes Mar 4, 2026
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Mar 5, 2026
Kraemii added 8 commits March 11, 2026 11:00
In preparation for the notus migration to skiron, this adds a config
to use an external API to get notus results.
In order for Notus to be available in NASL it must be available in the Scan Context.
To be future prove the psosibility to either use the internal Notus implementation,
as well as using an external API was already added.
This includes:
- security_notus
- notus_error
- notus
- notus_type
As we do not need these items intenrally, they are removed again
@github-actions github-actions bot added minor_release creates a minor release and removed minor_release creates a minor release labels Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor_release creates a minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants