@gocortexio/npmgremlinbox-sendmail-8-23 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE +36 -0
- package/README.md +37 -0
- package/index.js +23 -0
- package/package.json +28 -0
package/LICENCE
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
SENDMAIL LICENSE
|
|
2
|
+
|
|
3
|
+
The following license terms and conditions apply, unless a redistribution agreement or other license is obtained from Proofpoint, Inc., 892 Ross Street, Sunnyvale, CA, 94089, USA, or by electronic mail at sendmail-license@proofpoint.com.
|
|
4
|
+
|
|
5
|
+
License Terms:
|
|
6
|
+
|
|
7
|
+
Use, Modification and Redistribution (including distribution of any modified or derived work) in source and binary forms is permitted only if each of the following conditions is met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions qualify as "freeware" or "Open Source Software" under one of the following terms:
|
|
10
|
+
|
|
11
|
+
(a) Redistributions are made at no charge beyond the reasonable cost of materials and delivery.
|
|
12
|
+
|
|
13
|
+
(b) Redistributions are accompanied by a copy of the Source Code or by an irrevocable offer to provide a copy of the Source Code for up to three years at the cost of materials and delivery. Such redistributions must allow further use, modification, and redistribution of the Source Code under substantially the same terms as this license. For the purposes of redistribution "Source Code" means the complete compilable and linkable source code of sendmail and associated libraries and utilities in the sendmail distribution including all modifications.
|
|
14
|
+
|
|
15
|
+
2. Redistributions of Source Code must retain the copyright notices as they appear in each Source Code file, these license terms, and the disclaimer/limitation of liability set forth as paragraph 6 below.
|
|
16
|
+
|
|
17
|
+
3. Redistributions in binary form must reproduce the Copyright Notice, these license terms, and the disclaimer/limitation of liability set forth as paragraph 6 below, in the documentation and/or other materials provided with the distribution. For the purposes of binary distribution the "Copyright Notice" refers to the following language:
|
|
18
|
+
"Copyright (c) 1998-2014 Proofpoint, Inc. All rights reserved."
|
|
19
|
+
|
|
20
|
+
4. Neither the name of Proofpoint, Inc. nor the University of California nor names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. The name "sendmail" is a trademark of Proofpoint, Inc.
|
|
21
|
+
|
|
22
|
+
5. All redistributions must comply with the conditions imposed by the University of California on certain embedded code, which copyright Notice and conditions for redistribution are as follows:
|
|
23
|
+
|
|
24
|
+
(a) Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved.
|
|
25
|
+
|
|
26
|
+
(b) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
27
|
+
|
|
28
|
+
(i) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
29
|
+
|
|
30
|
+
(ii) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
31
|
+
|
|
32
|
+
(iii) Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
33
|
+
|
|
34
|
+
6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
35
|
+
|
|
36
|
+
$Revision: 8.23 $, Last updated $Date: 2014-01-26 20:10:01 $, Document 139848.1
|
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<!-- SPDX-License-Identifier: Sendmail-8.23 -->
|
|
2
|
+
<!-- SPDX-FileCopyrightText: 2025 GremlinBox Maintainer <simon@sigre.xyz> -->
|
|
3
|
+
|
|
4
|
+
# @gocortexio/npmgremlinbox-sendmail-8-23
|
|
5
|
+
|
|
6
|
+
This is a benign GremlinBox supply chain security simulation package. It performs no malicious action and is safe to install into a development or production build to validate detection tooling.
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
This package implements the SPDX licence identifier Sendmail-8.23 and embeds the full official licence text. It is intended for testing licence detection, licence-policy enforcement, and SPDX compliance checks. A scanner that inspects direct or transitive dependencies should detect this licence.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
npm install @gocortexio/npmgremlinbox-sendmail-8-23
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```javascript
|
|
19
|
+
const pkg = require('@gocortexio/npmgremlinbox-sendmail-8-23');
|
|
20
|
+
|
|
21
|
+
pkg.getLicenceIdentifier();
|
|
22
|
+
pkg.retrieveLicenceContent();
|
|
23
|
+
pkg.getPackageMetadata();
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## What it does and does not do
|
|
27
|
+
|
|
28
|
+
- Does: return its SPDX licence identifier, the full licence text, and package metadata.
|
|
29
|
+
- Does not: contact the network, collect data, or run code at install time.
|
|
30
|
+
|
|
31
|
+
## Project
|
|
32
|
+
|
|
33
|
+
Part of the GremlinBox supply chain security testing project: https://github.com/gocortexio/gremlinbox
|
|
34
|
+
|
|
35
|
+
## Licence
|
|
36
|
+
|
|
37
|
+
Sendmail-8.23. See the LICENCE file in this package.
|
package/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Sendmail-8.23
|
|
2
|
+
// SPDX-FileCopyrightText: 2025 GremlinBox Maintainer <simon@sigre.xyz>
|
|
3
|
+
|
|
4
|
+
'use strict';
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
const path = require('path');
|
|
7
|
+
|
|
8
|
+
const LICENCE_IDENTIFIER = 'Sendmail-8.23';
|
|
9
|
+
const PACKAGE_NAME = '@gocortexio/npmgremlinbox-sendmail-8-23';
|
|
10
|
+
const VERSION = '2.1.0';
|
|
11
|
+
|
|
12
|
+
function getLicenceIdentifier() { return LICENCE_IDENTIFIER; }
|
|
13
|
+
|
|
14
|
+
function retrieveLicenceContent() {
|
|
15
|
+
try { return fs.readFileSync(path.join(__dirname, 'LICENCE'), 'utf8'); }
|
|
16
|
+
catch (e) { return 'Error: LICENCE file not found'; }
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function getPackageMetadata() {
|
|
20
|
+
return { package_name: PACKAGE_NAME, version: VERSION, licence: LICENCE_IDENTIFIER, spdx_licence_id: LICENCE_IDENTIFIER };
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
module.exports = { getLicenceIdentifier, retrieveLicenceContent, getPackageMetadata };
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gocortexio/npmgremlinbox-sendmail-8-23",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Sendmail Licence 8.23",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"license": "Sendmail-8.23",
|
|
7
|
+
"author": "GremlinBox Maintainer <simon@sigre.xyz>",
|
|
8
|
+
"homepage": "https://github.com/gocortexio/gremlinbox",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"security",
|
|
11
|
+
"testing",
|
|
12
|
+
"licence",
|
|
13
|
+
"spdx",
|
|
14
|
+
"supply-chain"
|
|
15
|
+
],
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=14.0.0"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"index.js",
|
|
21
|
+
"LICENCE",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/gocortexio/gremlinbox"
|
|
27
|
+
}
|
|
28
|
+
}
|