
Research
GemStuffer Campaign Abuses RubyGems as Exfiltration Channel Targeting UK Local Government
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.
absolutealgorithm.api.common
Advanced tools
A comprehensive common library for building robust ASP.NET Core Web APIs, featuring database management, audit logging, rate limiting, and standard middleware pipelines.
Install the package via NuGet:
dotnet add package AbsoluteAlgorithm.Api.Common --prerelease
Configure the application in Program.cs using ApplicationConfiguration to set up databases, rate limiting, and the absolute pipeline.
try
{
ApplicationConfiguration appConfig = new ApplicationConfiguration
{
UseRelationalDatabase = true,
DatabasePolicies = new List<DatabasePolicy>
{
new DatabasePolicy
{
DatabaseProvider = DatabaseProvider.MSSQL,
ConnectionStringName = "MSSQLCS",
InitializeDatabase = true,
InitializeAuditTable = true,
InitializationScript = msSqlScript,
DatabaseName = "testdb",
MaxPoolSize = 100,
MinPoolSize = 10,
CommandTimeoutSeconds = 30
},
new DatabasePolicy
{
DatabaseProvider = DatabaseProvider.PostgreSQL,
ConnectionStringName = "POSTGRESCS",
InitializeDatabase = true,
InitializeAuditTable = true,
InitializationScript = postgreSqlScript,
DatabaseName = "test_db",
MaxPoolSize = 100,
MinPoolSize = 10,
CommandTimeoutSeconds = 30
}
},
UseRateLimit = true,
RateLimitPolicies = new List<RateLimitPolicy>
{
new RateLimitPolicy
{
PolicyName = "rpol",
Algorithm = RateLimitAlgorithm.FixedWindow,
Scope = RateLimitScope.IpAddress,
PermitLimit = 2,
Window = TimeSpan.FromSeconds(2)
}
}
};
#endregion
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.RegisterAbsoluteWebApplicationBuilder(appConfig);
WebApplication app = builder.Build();
app.UseAbsolutePipeline(appConfig);
app.Run();
}
catch (Exception ex)
{
var logger = LogManager.GetCurrentClassLogger();
logger.Error(ex, "an error occured: {message}", ex.Message);
throw;
}
finally
{
LogManager.Shutdown();
}
| Property | Type | Description |
|---|---|---|
UseRelationalDatabase | bool | Enables relational database services and middleware. |
DatabasePolicies | List<DatabasePolicy> | List of database configurations to initialize and manage. |
UseRateLimit | bool | Enables rate limiting middleware. |
RateLimitPolicies | List<RateLimitPolicy> | List of rate limiting policies to apply. |
| Property | Type | Description |
|---|---|---|
DatabaseProvider | DatabaseProvider | The database type (e.g., MSSQL, PostgreSQL). |
ConnectionStringName | string | Environment variable name containing the connection string. |
InitializeDatabase | bool | If true, attempts to create the database if it doesn't exist. |
InitializeAuditTable | bool | If true, sets up the audit_logs table and triggers. |
InitializationScript | string | Custom SQL script executed during initialization (e.g., table creation). |
DatabaseName | string | Unique name for the database connection (used for pooling/resources). |
MaxPoolSize | int | Maximum size of the connection pool. |
MinPoolSize | int | Minimum size of the connection pool. |
CommandTimeoutSeconds | int | Time in seconds before a command times out. |
| Property | Type | Description |
|---|---|---|
PolicyName | string | Unique identifier for the policy (used in [EnableRateLimiting]). |
Algorithm | RateLimitAlgorithm | The rate limiting algorithm (e.g., FixedWindow). |
Scope | RateLimitScope | Scope of the limit (e.g., IpAddress, User). |
PermitLimit | int | Number of permitted requests in the window. |
Window | TimeSpan | Time window duration for the limit. |
FAQs
Unknown package
We found that absolutealgorithm.api.common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.