Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
This is a library of the Programmable Mind knowledge modules that can be reused.
The list of knowledge modules can be found here
The basic usage is redefine the api functions to point to your data. Then all of the queries that are supported can be performed against your data. Here is an example of how to do that
The first step is to include the client and the knowledge module project called EKMS
const { reports } = require('tpmkms')
reports
is the knowledge module for making repots off data. By default the km will work with test data. You can run it the same as any other Entodicton config. For example, this works against the shared server
reports.process('list the models').then( (response) => {
console.log(response.generated[0])
})
The result of running this would be
dev@devlaptop:~/code/thinktelligence/kms$ node use_reports.js
╔══════════╤══════════╗
║ name │ supplier ║
╟──────────┼──────────╢
║ tiger │ tamiya ║
╟──────────┼──────────╢
║ spitfire │ dragon ║
╚══════════╧══════════╝
In order to customize the output to your domain you would need to redefine the api to access your data
const apiTemplate = (marker, testData) => {
return {
getName: ...
getTypes: ...
getAllProducts: ...
getByTypeAndCost: ...
productGenerator: ...
}
}
Video showing how to use the TPMKMS package can be found here
FAQs
Reusable libraries for Entodicton, a natural language to json converter
The npm package tpmkms receives a total of 26 weekly downloads. As such, tpmkms popularity was classified as not popular.
We found that tpmkms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.