Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@paradisec/proxyist-adapter-s3
Advanced tools
Proxyist is a web proxy which provides an object store like interface to a catalog of items which contain objects.
This adapter provides support for an S3 backend.
See the proxyist README.md for details on how to get proxist running. Then add this adapter.
yarn add proxyist-adapter-s3
Here is a sample proxyist configuration for this adapter:
import { BadIdentifierError } from '@paradisec/proxyist-adapter-common';
import { S3 } from '@aws-sdk/client-s3';
const s3Config = {
region: 'ap-southeast-2',
};
const s3 = new S3(s3Config);
export default {
directory: 'tests/data',
bucket: 'proxyist',
s3,
transform: (identifier) => {
if (identifier.includes('/')) {
throw new BadIdentifierError('Identifer cannot contain "/"');
}
if (identifier.includes('-')) {
const [, item] = identifier.split('-', 2);
if (item === 'root') {
throw new BadIdentifierError('Item cannot be named "root"');
}
return identifier.replace(/-/, '/');
}
return `${identifier}/root`;
},
};
export default adapterConfig;
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
S3 adapter for proxyist
The npm package @paradisec/proxyist-adapter-s3 receives a total of 2 weekly downloads. As such, @paradisec/proxyist-adapter-s3 popularity was classified as not popular.
We found that @paradisec/proxyist-adapter-s3 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.
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.