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.
octobertest
Advanced tools
octobertest lets you convert between different test result formats.
The current main focus is to convert a custom JSON-representable format into JUnit.xml for jenkins.
octobertest -i json -o xml foo.json bar.xml
Formats will be guessed from file extensions, so this will also work:
octobertest foo.json bar.xml
This JSON:
{ "suites":
[
{
"name": "foo",
"tests": [
{
"name": "Foo should bar the baz",
"passed": false,
"expected": 1337,
"actual": 1338,
"error": "Expected 1337 to be 1338",
"stacktrace": "foo()\nbar()\nbaz()\n"
}
]
}
]
}
would result in the following JUnit XML output:
<?xml version="1.0" encoding="UTF-8" ?><testsuites><testsuite name="foo"><testcase name="Foo should bar the baz"><failure message="Expected 1337 to be 1338">foo()
bar()
baz()
</failure></testsuite></testsuites>
The JSON format is very alpha and hasn't been battle tested yet. It is contrived to having test suites with test cases. Ideally it should also just accept a simple list of tests and derive the suite name from the file name.
FAQs
Convert between different test result formats
We found that octobertest demonstrated a not healthy version release cadence and project activity because the last version was released 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.