
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.
@types/aws-cloudfront-function
Advanced tools
TypeScript definitions for aws-cloudfront-function
npm install --save @types/aws-cloudfront-function
This package contains type definitions for aws-cloudfront-function (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-cloudfront-function.
declare namespace AWSCloudFrontFunction {
interface Event {
version: "1.0";
context: Context;
viewer: Viewer;
request: Request;
response: Response;
}
interface Context {
distributionDomainName: string;
distributionId: string;
eventType: "viewer-request" | "viewer-response";
requestId: string;
}
interface Viewer {
ip: string;
}
interface Request {
method: string;
uri: string;
querystring: ValueObject;
headers: ValueObject;
cookies: ValueObject;
}
interface Response {
statusCode: number;
statusDescription?: string;
headers?: ValueObject;
cookies?: ResponseCookie;
}
interface ValueObject {
[name: string]: {
value: string;
multiValue?: Array<{
value: string;
}>;
};
}
interface ResponseCookie {
[name: string]: {
value: string;
attributes: string;
multiValue?: Array<{
value: string;
attributes: string;
}>;
};
}
}
These definitions were written by Jakub Zelenka.
FAQs
TypeScript definitions for aws-cloudfront-function
The npm package @types/aws-cloudfront-function receives a total of 9,154 weekly downloads. As such, @types/aws-cloudfront-function popularity was classified as popular.
We found that @types/aws-cloudfront-function demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.