
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
honk-test-net
Advanced tools
Honk! Test Net! ============= Some tools to help test browser-based network-y things in a headless environment.
Some tools to help test browser-based network-y things in a headless environment.
The underlying mock-thing-out-er-ator is based on Philipp von Weitershausen's mock_server.js impl. Seems to work well.
In a Mocha or Jasmine environment, including this file will give you a @server properly set up and torn down around all your tests.
Usage in Mocha or Jasmine is as so:
require 'honk-test-net/lib/http_server'
describe 'Remote Pants Service', ->
it 'should give me info on pants', (done) ->
@server.when 'GET', '/pants', (req) ->
status: 200
body: 'Pants Found'
$.get '/pants',
success: (resp) ->
expect(resp.data).to.equal 'Pants Found'
done()
In another test environment that doesn't implement a beforeEach/afterEach, you can instantiate an instance like, passing your DOM window as an argument. Here's a qunit example.
jsdom = require('jsdom').jsdom
global.document or= jsdom()
global.window or= global.document.createWindow()
HttpServer = require 'honk-test-net/lib/http_server'
asyncTest 'Remote Pants Service', ->
server = new HttpServer(global.window)
server.when 'GET', '/pants', (req) ->
status: 200
body: 'Pants Found'
$.get '/pants',
success: (resp) ->
equal(resp.data, 'Pants Found', 'Got those pants.')
start()
FAQs
Honk! Test Net! ============= Some tools to help test browser-based network-y things in a headless environment.
The npm package honk-test-net receives a total of 10 weekly downloads. As such, honk-test-net popularity was classified as not popular.
We found that honk-test-net demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.