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.
data-api-local
Advanced tools
AWS Aurora Serverless Data API emulator for local development.
Note: Currently only supports PostgreSQL - MySQL is on the roadmap.
import * as RDSDataService from 'aws-sdk/clients/rdsdataservice'
import { dataApiLocal } from './data-api-local'
// assuming your in an async function
await dataApiLocal({
server: {
hostname: 'localhost',
port: 8080
},
database: {
engine: 'postgresql',
port: 54320,
user: 'test',
password: 'test'
}
})
const client = new RDSDataService({
endpoint: 'http://localhost:8080',
region: 'us-east-1',
// If you have an AWS profile or running this in a role, this isn't required
credentials: {
accessKeyId: 'SECRET_ID',
secretAccessKey: 'SECRET_KEY'
}
})
const result = await client.executeStatement({
sql: 'SELECT * FROM "users" WHERE id = :id',
parameters: [{
name: 'id',
value: {
longValue: 42
}
}],
database: 'example'
// secretArn and resourceArn are not used but are required for the AWS SDK
secretArn: 'arn:aws:secretsmanager:us-east-1:123456789012:secret:dummy',
resourceArn: 'arn:aws:rds:us-east-1:123456789012:cluster:dummy'
}).promise()
0.0.2-alpha.7 (2019-12-26)
Note: Version bump only for package root
FAQs
AWS Aurora Serverless Data API emulator for local development.
The npm package data-api-local receives a total of 159 weekly downloads. As such, data-api-local popularity was classified as not popular.
We found that data-api-local 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.