
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
@autosec/fetchhole
Advanced tools
Boost your FaaS development with `@autosec/fetchhole`, a secure, drop-in replacement for the native `fetch()` function, designed for security-focused web developers.
Elevate your Function as a Service (FaaS) development with enhanced security at the edge using @autosec/fetchhole
. This package acts as a sophisticated drop-in replacement for the native fetch() function, tailored for developers who emphasize security in their web applications.
fetch()
function.Content-Length
and ETag
headers. Choose your preferred ETag hash algorithm, with sha256
as the default.0.0.0.0
for blocking.
npm install @autosec/fetchhole
Simply import fetchhole and use it as a replacement for the native fetch() function.
import fetch from '@autosec/fetchhole';
// Use fetch as you normally would
fetch('https://example.com').then((response) => {
// Your code here
});
You can customize fetchhole with various options to suit your needs. Settings can be applied at the class instance level or as an fetch init property:
{
cache: {
type: CacheType.Default, // Defines cache type
hashAlgorithm: 'sha256', // Choose a different ETag hash algorithm
ignoreMethod: false,
ignoreSearch: false,
ignoreVary: false,
},
hardFail: true, // Determines failure handling
logLevel: LoggingLevel.INFO, // Sets the level of logging
redirectCount: 20, // Set custom redirect limit
}
FAQs
Boost your FaaS development with `@autosec/fetchhole`, a secure, drop-in replacement for the native `fetch()` function, designed for security-focused web developers.
We found that @autosec/fetchhole demonstrated a not healthy version release cadence and project activity because the last version was released 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
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.