Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@cdkx/aws-sns-subscriptions
Advanced tools
npm install @cdkx/aws-sns-subscriptions --save // using npm
yarn add @cdkx/aws-sns-subscriptions // using yarn
Add a SNS Topic to your stack
import { Topic } from '@aws-cdk/aws-sns';
// create topic
const myTopic = new Topic(this, 'MyTopic');
Add an slack bot enabled subscription to your topic.
import { SlackSubscription } from '@cdkx/aws-sns-subscriptions';
// add slack subscription to alongside with other subscription targets
myTopic.addSubscription(
new SlackSubscription({
channelName: 'my-channel',
})
);
Once stack has deployed, a new System Parameter resources will be made available. There add a slack bot oAuth token next to property authToken
.
Required Scopes for these token depend of level of context provided to subscription target.
When channelId
is provided, OAuthToken will only need chat:write:bot
. But if no channelId
is preset, channel id will be resolved from slack api and to do that OAuth token will need additional
channels:read
, groups:read
, im:read
, mpim:read
scopes.
FAQs
AWS SNS extended subscriptions
The npm package @cdkx/aws-sns-subscriptions receives a total of 3 weekly downloads. As such, @cdkx/aws-sns-subscriptions popularity was classified as not popular.
We found that @cdkx/aws-sns-subscriptions demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.