
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@speakeasy-sdks/jasper-ai
Advanced tools
Jasper Typescript SDK AI content generator for teams <a href="https://developer
npm add @speakeasy-sdks/jasper-ai
yarn add @speakeasy-sdks/jasper-ai
In order to use Jasper's API, you will need to authenticate every request. We rely on API tokens to authenticate API requests.
Tokens are scoped to an admin's permission set and workspace.
Admins can generate API tokens in their workspace via Settings/API tokens
Once your API token is generated, you will need to pass it in an 'x-api-key' Authorization header.
curl
--location --request GET 'https://api.jasper.ai/v1/$endpoint' \
--header 'x-api-key: $YOUR_API_KEY' \
import { Jasper } from "@speakeasy-sdks/jasper-ai";
import { RunCommandResponse } from "@speakeasy-sdks/jasper-ai/dist/sdk/models/operations";
const sdk = new Jasper({
security: {
apiKeyAuth: "YOUR_API_KEY_HERE",
},
});
sdk.commands.run({
inputs: {
command: "Write a haiku about rabbits",
context: "All rabbits eat kale",
},
options: {
inputLanguage: "corrupti",
languageFormality: "provident",
outputCount: 715190,
outputLanguage: "quibusdam",
},
}).then((res: RunCommandResponse) => {
if (res.statusCode == 200) {
// handle response
}
});
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !
FAQs
Jasper Typescript SDK AI content generator for teams <a href="https://developer
We found that @speakeasy-sdks/jasper-ai demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.