Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@helixml/apps-client
Advanced tools
The @helixml/apps-client
is the client library to interact with apps hosted on Helix Cloud.
To use the @helixml/apps-client
in your project, install it via npm:
npm install @helixml/apps-client
or using yarn:
yarn add @helixml/apps-client
Import and use the AppClient
component in your React application:
import { useCallback } from 'react';
import AppClient from '@helixml/apps-client';
const app = AppClient({
// this api token is for a Helix app that has been linked to github.
token: 'APP_API_TOKEN',
})
function App() {
const handleBackend = useCallback(async () => {
const result = await app.runScript({
file_path: '/gptscripts/helloworld.gpt',
input: 'Oranges',
});
if(result.error) {
throw new Error(result.error);
} else {
alert(result.output);
}
}, []);
return (
<div className="App">
<button
onClick={ handleBackend }
>
Run a cool GPTScript
</button>
</div>
);
}
export default App;
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
![helix logo](docs/helix_logo.png)
The npm package @helixml/apps-client receives a total of 1 weekly downloads. As such, @helixml/apps-client popularity was classified as not popular.
We found that @helixml/apps-client demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.