Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A modern project-as-code specification, build, testing, and report generation library.
A modern project-as-code specification, build, testing, and report generation library.
nbuild
is a library providing the following capabilities:
.exe
files)This directory holds the nbuild/
source directory as well as an examples/
directory showing
how one might use nbuild
to generate reports about projects.
A tester uses the nbuild
library to write review_proj01.py
,
which is a formal description of the project deliverables and what the deliverables must do.
A contractor submits a project as source code on a USB drive. The code resides in a folder "proj01".
The tester runs python review_proj01.py
and their browser opens to the following report:
A tester uses the nbuild
library to write review_nasa_worldwind.py
,
which is a formal description of a public mapping library written by NASA.
The tester runs python review_nasa_worldwind.py
and their browser opens to the following report:
A tester uses the nbuild
library to describe a physical process for testing
a new artillery loading mechanism in review_artillery_loading.py
. This requires a person to perform the tests
and nbuild
will issue instructions textually. The person doing
the test will respond to simple "yes or no" questions.
The tester runs python review_artillery_loading.py
and follows the instructions given.
When completed a report like the following will be generated:
.exe
files, get reports back)You will need pylint installed to run code analysis below.
You will need pylint installed to run code analysis below.
One-liners for dependencies:
python -m pip install --user pylint
python -m pip install --user pdoc3
Run python do_quality_checks.py
to check the nbuild
library code quality.
Pass your favorite editor (subl3
for Sublime 3, idea
for the IntelliJ IDE)
to the command to have it open at the first line that failed the linter:
python do_quality_checks.py
# or if you have subl3 installed:
python do_quality_checks.py edit-with subl3
# for IntelliJ customers:
python do_quality_checks.py edit-with idea.exe
The code is annotated with docstrings, so most python documentation generators
will produce something useful. We use pdoc for our
own copies of documentation, which places .html
files under a ./html/
directory.
python -m pdoc --html nbuild
# one-liner to open ./html/nbuild/index.html for documentation
python -m pdoc --html --force nbuild && xdg-open ./html/nbuild/index.html
See license.txt for details, it contains a copy of the MIT license.
FAQs
A modern project-as-code specification, build, testing, and report generation library.
We found that nbuild demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.