
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
@aws/lsp-codewhisperer
Advanced tools
To use the CodeWhisperer server behind a proxy, import the CodeWhispererServerTokenProxy
as the server and set up the environment variable HTTPS_PROXY
or https_proxy
to the proxy URL you are using.
You can pass the environment variable to the process or just set it up globally on your system.
export HTTPS_PROXY=https://proxy.example.com:5678
export https_proxy=https://proxy.example.com:5678
or
export HTTPS_PROXY=http://username:password@proxy.example.com:5678
export https_proxy=http://username:password@proxy.example.com:5678
Amazon Q Servers implemented in this package may have dependencies on NodeJS native modules, not available in non-Node.js environments.
To make cross-platform bundle, use bundler that allow overriding modules with compatible alternatives (e.g. Webpack).
NodeJS modules used in this package
path
path
, os
To override modules use next alternatives:
path
- https://www.npmjs.com/package/path-browserifyos
- https://www.npmjs.com/package/os-browserifyThe following Amazon Q configurations can be fetched with the aws/getConfigurationFromServer
request exposed by QConfigurationServer:
The request expects a section
parameter, recognizing the following options:
aws.q
aws.q.customizations
aws.q.developerProfiles
Example:
await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
section: 'aws.q',
})
// result:
{
'customizations': [customization1, customization2, ...],
'developerProfiles': [profile1, profile2, ...] // (if enabled)
}
Granular requests such as aws.q.customizations
will only return that particular configuration.
Example:
await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
section: 'aws.q.customizations',
})
// result:
[customization1, customization2, ...]
By default, developer profiles are not fetched. To enable the fetching, the client needs to signal support for them at initialization in the InitializeParams
.
Example:
const params: InitializeParams = {
// ...
aws: {
// ...
awsClientCapabilities: {
q: {
developerProfiles: true
}
}
}
}
FAQs
CodeWhisperer Language Server
The npm package @aws/lsp-codewhisperer receives a total of 134 weekly downloads. As such, @aws/lsp-codewhisperer popularity was classified as not popular.
We found that @aws/lsp-codewhisperer 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 Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.