
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@greenarmor/ges-core
Advanced tools
Core types, Zod schemas, and constants for the Green Engineering Standard Framework (GESF).
This is the foundation package that all other GESF packages depend on. It provides shared TypeScript interfaces, runtime validation schemas, and compliance-related constants used across the framework.
npm install @greenarmor/ges-core
| Type | Description |
|---|---|
ProjectType | Supported project types (SaaS, AI, MCP Server, Blockchain, etc.) |
FrameworkName | Compliance framework identifiers (GDPR, OWASP, NIST, CIS) |
DataClassification | Data sensitivity levels (Public, Internal, Confidential, Restricted) |
ControlStatus | Control evaluation states (pass, fail, warning, not_applicable) |
ReportFormat | Output formats (markdown, html, pdf) |
ProjectConfig | Project configuration interface |
Requirements | Compliance requirements configuration |
Control | Individual compliance control |
ControlCheck | Control evaluation result |
ComplianceScore | Per-framework scoring result |
ScoreFile | Overall score file structure |
AuditEntry | Audit trail entry |
PolicyPack | Policy pack definition |
ReportOptions | Report generation options |
| Constant | Description |
|---|---|
GESF_VERSION | Framework version string |
PROJECT_TYPES | All supported project types with labels |
FRAMEWORKS | Supported compliance frameworks |
DEFAULT_FRAMEWORKS | Default frameworks for new projects |
PROJECT_TYPE_PACKS | Mapping of project types to policy packs |
DATA_CLASSIFICATIONS | Data classification levels |
APPROVED_ENCRYPTION | Approved encryption algorithms |
APPROVED_HASHING | Approved hashing algorithms (Argon2id, bcrypt) |
REJECTED_HASHING | Rejected hashing algorithms (MD5, SHA1) |
AUDIT_LOG_FIELDS | Required fields for audit log entries |
MUST_LOG_EVENTS | Events that must be logged |
MUST_NOT_LOG | Data that must never appear in logs |
DB_AUDIT_COLUMNS | Required database audit columns |
Runtime validation schemas for all types: ProjectConfigSchema, ControlSchema, AuditEntrySchema, ReportOptionsSchema, and more.
import { ControlSchema, APPROVED_ENCRYPTION, GESF_VERSION } from '@greenarmor/ges-core';
const control = ControlSchema.parse({
id: 'enc-001',
name: 'Encryption at Rest',
framework: 'GDPR',
status: 'pass',
});
console.log(APPROVED_ENCRYPTION); // ['AES-256-GCM', 'ChaCha20-Poly1305', ...]
MIT
FAQs
GESF Core - Types, schemas, and constants
The npm package @greenarmor/ges-core receives a total of 360 weekly downloads. As such, @greenarmor/ges-core popularity was classified as not popular.
We found that @greenarmor/ges-core 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.