@essential-projects/security_service_contracts
Advanced tools
Comparing version 2.0.0 to 2.1.0-7ff94bcd-b2
@@ -13,2 +13,4 @@ import { IAsymmetricEncryptionType, IDecryptOptions, IEncryptOptions, IHashType, ISymmetricEncryptionType } from './constants'; | ||
secureCompare(a: string, b: string, options: IEncryptOptions): Promise<boolean>; | ||
getPublicKeyForIdentity(identity: string): string; | ||
getPrivateKeyForIdentity(identity: string): string; | ||
} |
{ | ||
"name": "@essential-projects/security_service_contracts", | ||
"version": "2.0.0", | ||
"version": "2.1.0-7ff94bcd-b2", | ||
"description": "Interfaces for the security_service", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js", |
@@ -246,2 +246,22 @@ { | ||
] | ||
}, | ||
"getPublicKeyForIdentity": { | ||
"type": "object", | ||
"parameters": [ | ||
{ | ||
"name": "identity", | ||
"type": "string" | ||
} | ||
], | ||
"returnType": "string" | ||
}, | ||
"getPrivateKeyForIdentity": { | ||
"type": "object", | ||
"parameters": [ | ||
{ | ||
"name": "identity", | ||
"type": "string" | ||
} | ||
], | ||
"returnType": "string" | ||
} | ||
@@ -259,2 +279,4 @@ }, | ||
"getHash", | ||
"getPrivateKeyForIdentity", | ||
"getPublicKeyForIdentity", | ||
"secureCompare" | ||
@@ -261,0 +283,0 @@ ], |
@@ -25,2 +25,4 @@ import { | ||
secureCompare(a: string, b: string, options: IEncryptOptions): Promise<boolean>; | ||
getPublicKeyForIdentity(identity: string): string; | ||
getPrivateKeyForIdentity(identity: string): string; | ||
} |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
717666
110
3660
0
3
3