
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
strapi-openai-translate
Advanced tools
Configure the provider through the pluginOptions:
module.exports = {
// ...
translate: {
enabled: true,
config: {
// Choose one of the available providers
provider: 'chatgpt',
// Pass credentials and other options to the provider
providerOptions: {
// your API key - required and wil cause errors if not provided
apiKey: 'sk-...',
// use base path - default: 'https://api.openai.com/v1'
basePath: 'https://api.openai.com/v1',
// model - default: 'gpt-4o'
model: 'gpt-4o',
// max tokens used per one translate operation - default: 1000
maxTokens: 1000,
// use custom locale mapping (for example 'en' locale is deprecated so need to choose between 'EN-GB' and 'EN-US')
localeMap: {
// use uppercase here!
EN: 'EN-US',
},
},
// other options ...
},
},
// ...
}
or use the default environment variables:
OPENAI_API_KEY
- default undefined
OPENAI_MODEL
- default gpt-4o
OPENAI_BASE_PATH
- default https://api.openai.com/v1
OPENAI_MAX_TOKENS
- default 1000
To get an API key, register for platform.openai.com/account/api-keys.
To be described
FAQs
ChatGPT provider for translate plugin in Strapi 4
The npm package strapi-openai-translate receives a total of 0 weekly downloads. As such, strapi-openai-translate popularity was classified as not popular.
We found that strapi-openai-translate 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.